• 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: Newbie: Cannot use object as a parameter to a method
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >Re: Newbie: Cannot use object as a parameter to a method (From: "Michael S. Tashbook" <email@hidden>)
 >Re: Newbie: Cannot use object as a parameter to a method (From: Prachi Gauriar <email@hidden>)

  • Prev by Date: Re: Newbie: Cannot use object as a parameter to a method
  • Next by Date: NSData object trouble with <16KB
  • Previous by thread: Re: Newbie: Cannot use object as a parameter to a method
  • Next by thread: Re: Newbie: Cannot use object as a parameter to a method
  • Index(es):
    • Date
    • Thread