• 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: NSComboBox example?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSComboBox example?


  • Subject: Re: NSComboBox example?
  • From: Mike Brinkman <email@hidden>
  • Date: Tue, 12 Aug 2003 10:15:38 -0400

It just occurred to me that I can simply create an NSMutableArray to hold
the values, and set that array as the data source for the NSComboBox.

Would this be a better approach than an external text file?

On 8/12/03 9:24 AM, "Mike Brinkman" <email@hidden> wrote:

> I'm looking for an NSComboBox example that uses an external data source. I
> checked out the SimpleComboBox example, and I've read through the
> "Programming Topics: ComboBoxes" and the NSComboBox reference, but I'm still
> having trouble figuring it out.
>
> Here's what I'd like to do. I've got an NSComboBox where the user can enter
> their own categories. Every time they add a new category, it should be
> available the next time they go to enter a category.
>
> If anybody could point me in the direction of an example that uses an
> external data source I would be very grateful.
> _______________________________________________
> 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: 
 >NSComboBox example? (From: Mike Brinkman <email@hidden>)

  • Prev by Date: programmatically toggling "white on black" to "black on white"?
  • Next by Date: Re: real-time text display in NSTextView object
  • Previous by thread: NSComboBox example?
  • Next by thread: programmatically toggling "white on black" to "black on white"?
  • Index(es):
    • Date
    • Thread