I am working on an iPhone SDK project using Xcode 4 Preview. I am in the IFB view and have deleted the default view icon and brought in two new views which I have named Portrait and Landscape. I should be able to control drag from the File's Owner to the two views to connect them, but the usual HUD does not appear and I cannot connect them. There is no code relevant to this task so I can't share that and a screenshot would be meaningless. I would appreciate any assistance on getting them to connect.
thanks!
About the File's Owner One of the most important objects in a nib file is the File's Owner object. Unlike interface objects, the File's Owner object is a placeholder object that is not created when the nib file is loaded. Instead, you create this object in your code and pass it to the nib-loading code.
Initially, a file's owner is identified by the user ID of the person who created the file. The owner of a file determines who may read, write (modify), or execute the file.
First, check that the class File's Owner is associated with has IBOutlet slots with the appropriate types for your new views. If File's Owner is not the right class, you can change it in the inspector panel. If the class lacks the slots, add them to the header and then try again.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With