• 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: bindings via file's owner don't update
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bindings via file's owner don't update


  • Subject: Re: bindings via file's owner don't update
  • From: Mikkel Eide Eriksen <email@hidden>
  • Date: Wed, 1 Dec 2010 20:08:45 +0100

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

> On Wed, Dec 1, 2010 at 10:09 AM, Mikkel Eide Eriksen
> <email@hidden> 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 (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: bindings via file's owner don't update
      • From: Quincey Morris <email@hidden>
References: 
 >Re: bindings via file's owner don't update (From: Mikkel Eide Eriksen <email@hidden>)
 >Re: bindings via file's owner don't update (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: bindings via file's owner don't update
  • Next by Date: Re: How to call another tabbar and call an method
  • Previous by thread: Re: bindings via file's owner don't update
  • Next by thread: Re: bindings via file's owner don't update
  • Index(es):
    • Date
    • Thread