nsobject
XCode will not recognize custom method
I have a custom NSObject class called \"GREST\", everything works aside from this method. Auto completion won\'t even recognize it, and I honestly can\'t figure out why. I\'ve tried changing the metho[详细]
2023-03-08 21:03 分类:问答create a new object
I want to create a new object so as to instantiate and use it several times; For example, if I want to create an object that has a label and a button inside, how do I? I created a new NSObject 开发者[详细]
2023-03-07 23:48 分类:问答addSubview with NSObject?
I have a class which is an NSObject type,开发者_Go百科 and in a view it won\'t let me put: [self.view addSubview:nsObject];[详细]
2023-03-06 18:50 分类:问答How to know if ios delegate is released
I use delegation extensively for VIEW - CONTROL - MODEL structure. Usually, CONTROL & MODEL objects are retained during the running of the app, causing little issues.[详细]
2023-03-03 15:04 分类:问答How to make NSURLConnection file download work?
I have a ViewController declared as: @interface DownloadViewController : UIViewController <UITableViewDataSource, UITableViewDelegate>[详细]
2023-03-01 13:38 分类:问答Error when subclassing NSObject: "EXC_BAD_ACCESS"
I\'m trying to create a class called HighscoresController which subclasses NSObject.When I call init method in the following manner, I get an error in the debugger GDB: Program received signal: \"EXC_[详细]
2023-02-27 02:39 分类:问答Call function from another controller, why doesn't works?
AppController.h #import <Cocoa/Cocoa.h> #import \"DebugController.h\" @class DebugController; @interface AppControlle开发者_如何转开发r : NSObject {[详细]
2023-02-23 01:58 分类:问答Can I assume NSObject as a kind of CFType in Cocoa-touch?
I\'m guessing NSObje开发者_开发问答ct is a kind of a CFType, but I have no sure. There is no mention about this in documentation. Can I assume it toll-free bridged?No, it is not toll-free bridged.[详细]
2023-02-21 22:49 分类:问答A simple problem in objective c, about memory leak
Assume I have a interface like: @interface it:NSObject { NSString* string; } @end @implement it -(id)init { if(self = [super init]){[详细]
2023-02-16 04:27 分类:问答View outlet not available to File's Owner
I was getting the following message upon creating a new view controller. Everything was compiling a-okay in Xcode without errors, but the app was immediately quitting upon loading the new view from a[详细]
2023-02-15 05:05 分类:问答
加载中,请稍侯......