• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSLog
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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>)

  • Prev by Date: DO
  • Next by Date: Re: FTPClient Beta Released - Please test
  • Previous by thread: NSLog
  • Next by thread: Re: NSLog
  • Index(es):
    • Date
    • Thread