0

Can anyone please tell me when are the run time attributes that we set in the storyboard actually sets their values to their respective properties of the object?

I am sure they are set after initWithCoder: and its set using

setValue:(id)value forKeyPath:(NSString *)keyPath

and before awakeFromNib

These run time attributes that you get from the nib, must be unarchived I feel and then probably maintained in memory for sometime?

Any details will be good :) or any topic I should refer to

Puneet
  • 291
  • 1
  • 5
  • 15

1 Answers1

0

They are initialized right before they are sent an awakeFromNib message.

Post with more information: When does awakeFromNib get called?

Documentation: https://developer.apple.com/library/mac/documentation/Cocoa/Reference/ApplicationKit/Protocols/NSNibAwaking_Protocol/#//apple_ref/occ/instm/NSObject/awakeFromNib

Community
  • 1
  • 1
Alex
  • 3,861
  • 5
  • 28
  • 44