Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSComboBox Bug??



On Tuesday, September 4, 2001, at 01:44 , Steve Gehrman wrote:
I was using an NSComboBox and got this...
Sep 04 01:38:58 SNAX[6306] *** -[NSViewHierarchyLock numberOfItemsInComboBoxCell:]: selector not recognized
Does this make sense to anyone?
#5 0x7081b280 in _objc_msgForward ()
#6 0x70df5c64 in -[NSComboBoxCell(NSTableDataSource) numberOfRowsInTableView:] ()

The data source object was released at some point and the pointer got recycled as an NSViewHierarchyLock. Note that -[NSComboBox setDataSource:] does not retain the source so you may have to retain it yourself.

Andrew
__________________________________________________________________
A n d r e w P l a t z e r
A p p l i c a t i o n F r a m e w o r k s
A p p l e


References: 
 >NSComboBox Bug?? (From: Steve Gehrman <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.