• 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
NSPopUpButton breaks in Snow Leopard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSPopUpButton breaks in Snow Leopard


  • Subject: NSPopUpButton breaks in Snow Leopard
  • From: ALEXander <email@hidden>
  • Date: Mon, 14 Sep 2009 00:11:19 +0200

Hello,

on Leopard I used the following construct for providing the items in an NSPopUpButton:


1) in the File's Owner class I defined a function returning an NSArray:

- (NSArray*) controlTypes
{
if ([[self selectedControls] count]) {
NSArray *returnArray = [NSArray arrayWithArray:[[[[self selectedControls] objectAtIndex:0] configTypes] allKeys]];
return returnArray;
} else {
return nil;
}
}



2) In the NIB, I made an NSPopUpbutton and bound Content, Content Objects and Content Values all to File's Owner with the model key path controlTypes.


This does not work any more in Snow Leopard. Any ideas what I have to change to make it work again?

Thanks and best,
ALEXander.

_______________________________________________

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: NSPopUpButton breaks in Snow Leopard
      • From: Quincey Morris <email@hidden>
  • Prev by Date: Re: NSPanel key equivalents not working
  • Next by Date: Why the Cocoa function can't be called from JavaScript?
  • Previous by thread: Re: Help book content
  • Next by thread: Re: NSPopUpButton breaks in Snow Leopard
  • Index(es):
    • Date
    • Thread