This is my first app. It has two primary screens (xib files) which the user can switch between at will. The screens each serve a distinct purpose and don't have any components (buttons, etc.) in common. I have created a separate view controller for each and I switch between them by calling PresentViewController with a new controller instance to pass as an argument. It seems to be working fine, but is this the proper way or should I be doing something different? How could I remember the previous controller to reuse it instead of creating a new one each time? Is that even something I should worry about?
Also: Is creating multiple xib files for a single controller an accepted practice (for rotated views or ipad/iphone differences)? When wiring up buttons, etc it would seem they must all be present and match across all views shared in this manner. Is that correct? Thanks -- View this message in context: http://monotouch.2284126.n4.nabble.com/Switching-Views-tp4158757p4158757.html Sent from the MonoTouch mailing list archive at Nabble.com. _______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
