Re: NSLog
Re: NSLog
- Subject: Re: NSLog
- From: j o a r <email@hidden>
- Date: Sat, 10 Aug 2002 23:52:52 +0200
Perhaps the first one doesn't properly adhere to the NSObject protocol?
Is it a subclass of NSObject? There is a known problem (ie. bug) with
printing objects descending from NSProxy (or at least NSDistantObject)
this way.
j o a r
On Saturday, Aug 10, 2002, at 23:33 Europe/Stockholm, Gerriet M.
Denkmann wrote:
I have noticed that
NSLog(@"my object is: %@", myObject);
has the same result as:
NSLog(@"my object is: %@", [myObject description] );
Is this documented somewhere?
And I have also have one situation, where the first call creates an
EA_BAD_ACCESS , and the second call works ok.
Why might this be the case?
Gerriet.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
References: | |
| >NSLog (From: "Gerriet M. Denkmann" <email@hidden>) |