Can I use Interface Builder to embed dependencies in multiple tips?

I use to provide dependencies for my objects from the outside. The Builder interface is a tool that helps to do this, but I cannot get it to work with multiple tips. As soon as I break the main tip into more files, I can no longer establish connections between objects in different tips. Using File Owner doesn't help much, as it only allows me to pass one object to the tip.

Example:

enter image description here

A B - , C D - . ( ), . A B, C D. (, C D, , A B C D .)

Interface Builder? ?

+5
2

.nib , ? , .

- .nib .

+2

. xib . . ( ..). , unarchiving, . :

NSArray*    topLevelObjs = nil;
NSDictionary*    proxies = [NSDictionary dictionaryWithObject:self forKey:@"AppDelegate"];
NSDictionary*    options = [NSDictionary dictionaryWithObject:proxies forKey:UINibExternalObjects];
topLevelObjs = [[NSBundle mainBundle] loadNibNamed:@"Main" owner:self options:options];

nib: https://developer.apple.com/library/content/documentation/Cocoa/Conceptual/LoadingResources/CocoaNibs/CocoaNibs.html#//apple_ref/doc/uid/10000051i-CH4-SW24

0

All Articles