On Aug 3, 2012, at 10:39 AM, Gerriet M. Denkmann <gerr...@mdenkmann.de> wrote:
>> 1) adopt view controller containment and do this addition in the view >> controller that owns basicView (which needs to be a subclass to do this >> properly) of > > If I understand this correctly, I have to do: > create a view controller for my basicView (currently there is none) and Modern iOS programming expects a view controller to be present (and this explains why when you add the view controller you get the behaviors you do). Since you don't have a view controller at all currently, then my recommendation would be to create a base view controller, install all of your controls into it at startup, and hide the ones that are on demand. This is far simpler than the approaches I outlined (which expected that you already had a view controller) and anything else you can do. (for all interested observers) Don't try to get away with not having a view controller (that is explicitly set as the window's rootViewController). Its simply not worth it. -- David Duncan _______________________________________________ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com