Re: Newbie: Cannot use object as a parameter to a method
Re: Newbie: Cannot use object as a parameter to a method
- Subject: Re: Newbie: Cannot use object as a parameter to a method
- From: Ondra Cada <email@hidden>
- Date: Thu, 22 Apr 2004 22:32:27 +0200
Just not to confuse newbies...
On 22.4.2004, at 21:43, Prachi Gauriar wrote:
>
In other words, never just have NSString or NSArray, always have
>
NSString * or NSArray *.
Never say never ;)
This applies to using them *for types* only. When used as message
receivers though (like in [NSString
stringWithContentsOfFile:@"/tmp/foo"]), they are all right by
themselves (not speaking of more canonical usages in @interfaces,
@classes and so on ;))
---
Ondra Hada
OCSoftware: email@hidden
http://www.ocs.cz
private email@hidden
http://www.ocs.cz/oc
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
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.