jjzjj

pscollectionview

全部标签

ios - [__NSCFString objectForKey :]: unrecognized selector sent to instance

关闭。这个问题需要debuggingdetails.它目前不接受答案。编辑问题以包含desiredbehavior,aspecificproblemorerror,andtheshortestcodenecessarytoreproducetheproblem.这将有助于其他人回答问题。关闭8年前。Improvethisquestion我在这里遇到这个错误+(CGFloat)heightForViewWithObject:(id)objectinColumnWidth:(CGFloat)columnWidth{NSString*titleText=[objectobjectForKey

iphone - 如何在iphone App中实现PSCollectionView?

在我的应用程序中,我有六个按钮需要放在pscollectionview上。我已将pscollectionview放在应用程序中,但我不能使用数据源和委托(delegate)方法?任何人都可以想出这个例子吗?以下是我的代码:-(void)viewDidLoad{self.collectionView=[[PSCollectionViewalloc]initWithFrame:CGRectMake(0,0,self.view.frame.size.width,self.view.frame.size.height)];self.collectionView.delegate=self;se