Hi,
I separated logic views to the bundles(XIBs). As I know it improves data/view loading.
I use file's Owner for communication of the controls between XIBs. As class use UIViewController for handling events of the views. I use one file's Owner for all views(UIView) in the bundle (XIB). Is it Correct?
1. Is it correct to use more than one UIView in the XIB?
2. How to switch in Controller to the another XIB file programatically?
Like this:
3. If correct to use more than one UIView in XIB file, how to make that when I choose NIB file for loading view controller will load exactly this view I need?
Thank you.
I separated logic views to the bundles(XIBs). As I know it improves data/view loading.
I use file's Owner for communication of the controls between XIBs. As class use UIViewController for handling events of the views. I use one file's Owner for all views(UIView) in the bundle (XIB). Is it Correct?
1. Is it correct to use more than one UIView in the XIB?
2. How to switch in Controller to the another XIB file programatically?
Like this:
3. If correct to use more than one UIView in XIB file, how to make that when I choose NIB file for loading view controller will load exactly this view I need?
Thank you.