Reputation: 125
Using Xcode do I need to create a new file for each view when it is connected to a button? Or does it work fine with just keeping the app under one h and m file?
Upvotes: 5
Views: 46
Reputation: 401
Create a new file for each view. This will give you a new .h and .m file. Using MVC or single app view.
Upvotes: 3
Reputation: 877
iOS app development follow the model-view-control design pattern, and as such, you should always create a new control (.m and .h file) for each new view.
Upvotes: 1