This mobile application creates a local storage. User can input name and birthday and user can see informations even if the application is closed.
First of all I have designed aspect of application from Main.storyboard.
And I have linked my elements to ViewController.swift. Later I have written my application codes. In this project, I have used UserDefaults. This library provides to store your informations. You can see these codes below.
Here these codes are in button function.
When user click save button the app save informations.
After closing app and when open again, because I have used UserDefaults, user can see informations in the screen.
After I have written deleting codes. You can see these code in deleteButton functions.
When user click delete button all information is lost.
And again when you close and open again the app you can see no information.