NSPopupButton URLs

2009-12-27 Thread Jeremy Matthews
So I have an idea or two, but nothing graceful, so I wanted to know the best way of doing this I have an xcode 3.2.1 (10.6+ only project), which has a method that has an optional URL as a parameter. This is mostly a take on the calendarstore framework...I just want to offer the ability for

Re: NSPopupButton URLs

2009-12-27 Thread Matthew Lindfield Seager
On Monday, December 28, 2009, Jeremy Matthews jeremymatth...@mac.com wrote: Currently, I have a nspopupbutton with some general values Airbus, Southwest, Delta, etc...upon making the proper selection and clicking the generate button, it creates the event with said attributes, including the

Re: [Cocoa-students] NSPopupButton URLs

2009-12-27 Thread Craig Williams
On Dec 27, 2009, at 11:01 AM, Jeremy Matthews wrote: So I have an idea or two, but nothing graceful, so I wanted to know the best way of doing this I have an xcode 3.2.1 (10.6+ only project), which has a method that has an optional URL as a parameter. This is mostly a take on the

Re: NSPopupButton URLs

2009-12-27 Thread Ken Thomases
On Dec 27, 2009, at 12:01 PM, Jeremy Matthews wrote: Currently, I have a nspopupbutton with some general values Airbus, Southwest, Delta, etc...upon making the proper selection and clicking the generate button, it creates the event with said attributes, including the URL. So, I have a list

Re: NSPopupButton URLs

2009-12-27 Thread Seth Willits
On Dec 27, 2009, at 12:01 PM, Jeremy Matthews wrote: So, I have a list of about 10 items in that popup, and a lng if statement Normally, I'd take a switch/case approach here, but I've been warned about doing so in Cocoa. Huh? Warned against it for what reason? -- Seth Willits