• 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: Sublassing NSObject
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sublassing NSObject


  • Subject: Re: Sublassing NSObject
  • From: Andy Lee <email@hidden>
  • Date: Wed, 26 Apr 2006 12:50:46 -0400

On Apr 26, 2006, at 12:33 PM, Jonathon Mah wrote:
On 2006-04-27, at 01:58, Milen Dzhumerov wrote:

NSLog("this is cool");

You need to use an NSString: NSLog(@"this is cooler");

You should have gotten a compiler warning about an incompatible pointer type. So the other lesson is, don't ignore compiler warnings.


--Andy

_______________________________________________
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


References: 
 >Sublassing NSObject (From: Milen Dzhumerov <email@hidden>)
 >Re: Sublassing NSObject (From: Jonathon Mah <email@hidden>)

  • Prev by Date: Re: Sublassing NSObject
  • Next by Date: Flipping over coordinate conversion
  • Previous by thread: Re: Sublassing NSObject
  • Next by thread: Flipping over coordinate conversion
  • Index(es):
    • Date
    • Thread