On Dec 1, 2010, at 7:41 PM, Kyle Sluder wrote:

> On Wed, Dec 1, 2010 at 10:09 AM, Mikkel Eide Eriksen
> <mikkel.erik...@gmail.com> wrote:
>> 
>> Well I feel a little dumb now. After lots of debugging and digging at values 
>> that looked correct everywhere, checking object creating again & again, and 
>> what not, It turns out I forgot to actually redraw the window:
>> 
>> [[[self loadingWindowController] window] display];
> 
> You should never have to do this.
> 
> Are you doing anything multithreaded?
> 
> --Kyle Sluder

No, not to my knowledge.  Basically the nib is bound to the properties of 
GCDocument, and if I don't send display to the window, the bound NSTextFields 
just stay at the initial values.

See line 48 & onwards below:

http://code.google.com/p/cocoa-gedcom/source/browse/trunk/GCCoreData/src/GCDocument.m

(there are probably lots of terribly ugly non-Cocoa things in here, I'm only 
just starting out and come from a mostly perl/python/java background)

Mikkel

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to