Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: NSString and char *



Jordan, 

> If you're not using the advice given to you on the list in 
> response to your questions, why ask them at all?  

This list responses are highly valuable to me. I assume you are experts.

> Ideally, reading the docs should happen before posting, which would 
> help avoid cluttering the list with questions that are simply 
> answered by pointing you to the relevant documentation.

There may be more beginners like me, so asking simple and easy questions it
is always very helpfull for us. All GUIs APIs tend to be huge, so thats why
some of us prefeer to learn "by example".
 
> Giving you the benefit of the doubt that you're not using 
> Tiger (although this would still be in the NSString 
> documentation), if you want an autoreleased string, just use 
> +stringWithCString:
> 
> NSString *msg = [NSString stringWithCString:"Test"];

thanks,

Lars


		
______________________________________________ 
LLama Gratis a cualquier PC del Mundo. 
Llamadas a fijos y móviles desde 1 céntimo por minuto. 
http://es.voice.yahoo.com
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden

References: 
 >Re: NSString and char * (From: Jordan Krushen <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.