Post

Replies

Boosts

Views

Activity

Comment on The File’s Owner object of a NIB file
The explanations are clear, yet the File's Owner's very existence reason is unclear, why does it exist since it's not working ? I have a custom UIView class, MyView, with an IBOutlet member called 'button'. If I set File's Owner as MyView, and the IBOutlet is connected to File's Owners's 'button', I get the error: "this class is not key value coding-compliant for the key button". If I set the nib's top object class as MyView, and the IBOutlet is connected to MyView's 'button', it just works.
Aug ’23