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

IKImageBrowserView


  • Subject: IKImageBrowserView
  • From: Client netplus <email@hidden>
  • Date: Sat, 27 Oct 2007 17:59:40 +0200

I recently tried to play with the IKImageBrowserView. I wasn't able to set the 2  properties
allowsEmptySelection and allowsMultipleSelection using IB3, both to no, but anyway i could do
it directyly into the code. The problem was that i could find a way to select the first cell of my
browserView directly after starting my application.

I put this code into my awakeFromNib of my application Controller:

[houseImageBrowser setSelectionIndexes:[NSIndexSet indexSetWithIndex:0]
byExtendingSelection:NO];

But this seems to set a nil index to the browser view:
"Browser selection changed to 2147483647".

If put a button in my window and I implement the same code in my button method the first cell
of my IKImageBrowserView will be selected.

I should be something related to the awakeFromNib from the appliction Controller, and I
probably try to select a cell who is not yet created.

If someone could tell me a good way to solve this ???



_______________________________________________

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

  • Follow-Ups:
    • Re: IKImageBrowserView
      • From: Colin Cornaby <email@hidden>
  • Prev by Date: Re: FYI - Resolution Independence
  • Next by Date: Re: FYI - Resolution Independence
  • Previous by thread: [Moderator] Re: Failing downloads (was: Connections not made with new IB)
  • Next by thread: Re: IKImageBrowserView
  • Index(es):
    • Date
    • Thread