• 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
bindings update controls etc before awakeFromNib ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bindings update controls etc before awakeFromNib ?


  • Subject: bindings update controls etc before awakeFromNib ?
  • From: Craig Phillips <email@hidden>
  • Date: Sun, 11 Sep 2005 22:23:53 +1000

Hello folks,
being the lazy programmer that I am, I have for some time been getting a copy of the text in various controls and text fields early in my applications eg.


- (void)awakeFromNib {
accountSheetSummaryString = [[accountSheetSummaryTextField stringValue] retain];
NSLog(@"afn: accountSheetSummaryString : %@", accountSheetSummaryString);
}


Normally the output from NSLog would look something like:
afn: accountSheetSummaryString : Account %1$@ created on %2$@, %3 $@ samples recorded to date: Max pressure: %4$@


After attaching binding for value the above changes to...
    afn: accountSheetSummaryString :

Today in migrating across to bindings it appears that "awakeFromNib" is being called after bindings have already parsed the Nib file and made updates...

Could some confirm this is expected behaviour? Or a bug? Or more likely a design consideration that has caught me in my laziness?

Its late and all my reading of coca-dev archives and Dev Doc's is making me blind....


--

Craig Phillips
email@hidden

------------------------------------------------------------------------ -------------
Canon EOS1Ds Mk II + Capture 1 + G5 2.5DP = heaven :D
------------------------------------------------------------------------ -------------




_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: _newFirstResponderAfterResigining
  • Next by Date: How to bind this situation?
  • Previous by thread: Re: IP address from NSFileHandle?
  • Next by thread: How to bind this situation?
  • Index(es):
    • Date
    • Thread