in doubt: added view b inside main view of viewcontroller c. upon creating outlets connected them viewcontroller c. obvious uiview outlet view b ought placed in viewcontroller c. outlets in view b should in viewcontroller c. or should new viewcontroller added containing outlets of view b?
works way. want know if made design mistake placing outlets in viewcontroller c.
there's no reason add child view controller purpose of holding outlets. in general outlets go in owning view controller regardless of how deep view hierarchy is. in cases outlets go in parent view (not view controller). properties in uitableviewcell this.
Forums iPhone, iPad, and iPod Touch iOS Programming
- iPhone
- Mac OS & System Software
- iPad
- Apple Watch
- Notebooks
- iTunes
- Apple ID
- iCloud
- Desktop Computers
- Apple Music
- Professional Applications
- iPod
- iWork
- Apple TV
- iLife
- Wireless
Comments
Post a Comment