Quick Question: Can't alloc an NSInvocation?
Quick Question: Can't alloc an NSInvocation?
- Subject: Quick Question: Can't alloc an NSInvocation?
- From: Jerry Krinock <email@hidden>
- Date: Thu, 08 Sep 2005 16:49:56 -0700
There must be some fundamental misconception in my understanding of
Objective-C:
NSObject* bigO = [[NSObject alloc] init] ;
NSLog(@"address of bigO=%x", bigO) ;
NSInvocation* bigI = [[NSInvocation alloc] init] ;
NSLog(@"address of bigI=%x", bigI) ;
CONSOLE OUTPUT:
address of bigO=3a6ee0
address of bigI=0
What's up with this? NSInvocation is a subclass of NSObject. Why can't I
allocate one?
Jerry
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden