Re: spurious Mountain View and Redwood City
Re: spurious Mountain View and Redwood City
- Subject: Re: spurious Mountain View and Redwood City
- From: matt neuburg <email@hidden>
- Date: Tue, 17 Dec 2002 09:50:19 -0800
On Sun, 15 Dec 2002 21:28:09 -0800, Henri Lamiraux <email@hidden> said:
>
This is the first time I have heard that the fake data source we use to
>
populate NSTableView and NSOutlineView in IB is being archived. This is
>
weird. What type of nibs are you using (pre or post 10.2)?
I am forced to use pre-10.2 because this nib is full of custom classes that break if post-10.2 is used (we've discussed this, remember? :) Just kidding, no reason why you should.).
Incidentally, this particular nib is really chock-a-block with these custom classes. The table is a subclass of NSTableView, the table columns are subclasses of NSTableColumn... Dunno if that makes a difference.
>
You can by the way turn off the auto-population from the preferences.
That makes no difference whatever.
Also, in my table dataSource I check to see if my data structure is nil, and return 0 if it is. So my dataSource is not what is supplying these values; Cocoa is doing it, before the dataSource has supplied any values at all.
>
>
On Sunday, December 15, 2002, at 08:17 AM, email@hidden wrote:
>
>
> On dimanche, dicembre 15, 2002, at 03:23 PM, matt neuburg wrote:
>
>
>
>> I have a custom NSFormatter, and I had to write an exception handler
>
>> because when my window opens, containing several interface items that
>
>> use the formatter, before I put any data into the window, the
>
>> formatter is bombarded with values like "Mountain View" and "Redwood
>
>> City". Where the heck are these coming from? (Not my code, I assure
>
>> you.) Is this some sort of Silicon Valley plot to take over the
>
>> world? m.
matt neuburg, phd = email@hidden,
http://www.tidbits.com/matt
pantes anthropoi tou eidenai oregontai phusei
Subscribe to TidBITS! It's free and smart.
http://www.tidbits.com/
_______________________________________________
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.