DATA DELIVERY METHOD BETWEEN PLURAL SCREENS

Asked 2 years ago, Updated 2 years ago, 41 views

I'm using Swift to create an app.
One page allows the user to enter numbers, and I would like to have the numbers entered by the user displayed on another page.
I'm a beginner at Swift, but I'd like you to tell me how to create these pages (what methods are available, how many classes are needed, etc.
By the way, do you need a server to create these pages?

swift

2022-09-30 21:17

1 Answers

I can't tell you how many methods or classes I need.I have to find it myself.I don't know exactly how many I need.But I'll answer first.

It's hard to figure out what the app is like, but you need two pages on the Storyboard, including the page to receive input and the page to show what you entered.
You will also need two ViewController classes that inherited the UIViewController class.
The server is not required unless an account is required.It's hard to figure out what kind of app it is, so I think it's hard to say, "This is it!"
You can use NSNotificationCenter to pass data across multiple screens.

If you simply type in a number, do you want it to be printed on the next page?
Is that not the case?Please let me know in detail.


2022-09-30 21:17

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.