• 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
Combo Box Problem (when using data source)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Combo Box Problem (when using data source)


  • Subject: Combo Box Problem (when using data source)
  • From: Adil Saleem <email@hidden>
  • Date: Tue, 13 May 2008 23:17:30 -0700 (PDT)

Hi,

If a combo box is using a Data Source, then how do i
programatically get the number of items in that combo
box ? If i use [self
numberOfItemsInComboBox:myComboBox], it says

*** -[NSComboBoxCell objectValueOfSelectedItem] should
not be called when usesDataSource is set to YES

My question is, how do i get number of objects in a
combo box when it is using data source.


Thanx



_______________________________________________

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: Combo Box Problem (when using data source)
      • From: Ronny Reichmann <email@hidden>
  • Prev by Date: Multi-window document app: How to only show the "main window" when opening
  • Next by Date: Re: Create NSStrings from a mapped NSData object - safe?
  • Previous by thread: Multi-window document app: How to only show the "main window" when opening
  • Next by thread: Re: Combo Box Problem (when using data source)
  • Index(es):
    • Date
    • Thread