• 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: IKImageBrowserView with NSArrayController bindings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IKImageBrowserView with NSArrayController bindings


  • Subject: Re: IKImageBrowserView with NSArrayController bindings
  • From: Matt Gough <email@hidden>
  • Date: Thu, 13 Nov 2008 11:58:28 +0100


On 13 Nov 2008, at 11:25, Florian Soenens wrote:

NSLog([[arrayController selectionIndexes] description]);

Not related to your problem, but this style of NSLog has a potential pitfall if the description method were to return a string with any of the supported formatting sequences in it. It would be expecting other parameters to fill in the details.


The usual and simpler version would be:

NSLog(@"%@",  [arrayController selectionIndexes]);

(The %@ get replaced by the result of the supplied object's description method)

Matt Gough
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >IKImageBrowserView with NSArrayController bindings (From: Florian Soenens <email@hidden>)
 >Re: IKImageBrowserView with NSArrayController bindings (From: Quincey Morris <email@hidden>)
 >Re: IKImageBrowserView with NSArrayController bindings (From: Florian Soenens <email@hidden>)

  • Prev by Date: Re: IKImageBrowserView with NSArrayController bindings
  • Next by Date: Re: Weird bug in IB...
  • Previous by thread: Re: IKImageBrowserView with NSArrayController bindings
  • Next by thread: Re: IKImageBrowserView with NSArrayController bindings
  • Index(es):
    • Date
    • Thread