• 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: What are double asterisks for?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What are double asterisks for?


  • Subject: Re: What are double asterisks for?
  • From: Greg Hulands <email@hidden>
  • Date: Mon, 30 Dec 2002 07:10:52 +1000

It is a pointer to a pointer to an NSDictionary.

eg

NSDictionary *myDict = [NSDictionary dictionaryWithObjectsAndKeys:some, attributes, nil];
id rtf = [NSSomeObject initWithRTFDFileWrapper:someWrapper documentAttributes:&myDict];

Greg
On Monday, December 30, 2002, at 06:57 AM, Ian Gillespie wrote:

For example:

- (id)initWithRTFDFileWrapper:(NSFileWrapper *)wrapper
documentAttributes:(NSDictionary **)docAttributes

Notice ** after the NSDictionary. I tried using this method and
passing a dictionary as an argument and I got a compile error:
Invoice.m:140: warning: passing arg 2 of
`initWithRTF:documentAttributes:' from incompatible pointer type

Can someone help please? Thanks.
_______________________________________________
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: 
 >What are double asterisks for? (From: Ian Gillespie <email@hidden>)

  • Prev by Date: What are double asterisks for?
  • Next by Date: Re: What are double asterisks for?
  • Previous by thread: What are double asterisks for?
  • Next by thread: Re: What are double asterisks for?
  • Index(es):
    • Date
    • Thread