-
Notifications
You must be signed in to change notification settings - Fork 630
Corey Johnson edited this page Jan 12, 2011
·
12 revisions
- Error invoking method 'addSubview:' on 'UIWindow' because -[??? superview]: unrecognized selector sent to instance
If you are trying to add a UIViewController, make sure you are adding the view, not the viewController.
- -[NSCFNumber isEqualToString:]: unrecognized selector sent to instance 0xXXXXXXXX
Obj-C expects a string but you sent it something else. If you want to send a number as a string use the tonumber() function first.
- Why isn't my delegate/datasource method being called?
Did you declare the protocols in your waxClass? waxClass"MyController", UI.TableViewController, protocols={"UITableViewDelegate", "UITableViewDataSource"}}