//第一个X = sparse.csr_matrix(1./2.*np.array([[0.,1.],[1.,0.]]))
print(X)
,其中viewController
包含数据。我在此Tvshowpath
中打印了Tvshowpath2
,数据已打印//
viewController
///在第二个@objc var TvshowPath = NSDictionary()
override func viewDidLoad()
{
super.viewDidLoad()
let playerPage =
self.storyboard?.instantiateViewController(withIdentifier:
"playerLayer")
as! PlayerLayerViewController
playerPage.TvshowPath2 = TvshowPath
print(playerPage.TvshowPath2)
self.navigationController?.pushViewController(playerPage, animated: true)
}
中,viewController
数据为空
Tvshowpath2