5

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?

0

2 Answers 2

3

Create a new file for each view. This will give you a new .h and .m file. Using MVC or single app view.

Sign up to request clarification or add additional context in comments.

Comments

1

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.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.