This is a Swift implementation of my basic iOS "Hello, World!" application. When teaching new developers how to write iOS applications this is the first project they are given. By the end of the project the developer should be able to:
-
Utilize Delegation. Including assigning a delegate to an object, having a class conform to the protocol, and implement one or more delegate methods.
-
Respond to keyboard notifications.
The app should:
-
Present a label with an appropriate greeting, "Hello, Swift!", for example.
-
Allow the user to enter an alternate text value.
-
The label should be at the top of the screen.
-
The text field should be at the bottom of the screen.
-
When entering text the text field should be visible to the user.
-
The application should update the label with the new text when the user hit's
Enter
on the keyboard.