In an iPod Touch/iPhone app where the view is in 1 xib and it's controller is 
in a different one, according to the view-controller-data paradigm, is there a 
better way to link the view to the controller than

[(myView *) [[self view] setController: self]

in the controller where "controller" has been declared

id controller;
.
.
.
@property (nonatomic, assign) id controller;

in myView.h with

synthesize controller in myView.m?

Charlie Dickman
3tothe...@comcast.net



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to