1.self.出不来的原因

Member reference type 'struct objc_class *' is a pointer; maybe you meant to use '->'?

Definition of 'struct objc_class' must be imported from module 'ObjectiveC.runtime' before it is required

在类方法中( +(void)...... )不能使用self.

因为此时还没有创建出自己的对象

2.UITableViewController

unable to dequeue a cell with identifier xiaomu - must register a nib or a class for the identifier or connect a prototype cell in a storyboard

在storyboard中创建UITableViewController ,在cell的identifier上必须和cell的标识符一样。

 

posted on 2015-10-29 17:38  xiao孛  阅读(1054)  评论(0编辑  收藏  举报