Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Intro to iOS] Prework - Assignment Review #1

Open
Brian-Kaplan opened this issue Dec 10, 2015 · 3 comments
Open

[Intro to iOS] Prework - Assignment Review #1

Brian-Kaplan opened this issue Dec 10, 2015 · 3 comments

Comments

@Brian-Kaplan
Copy link
Owner

My App is complete. Please review. /cc @codepathreview

@chieger
Copy link

chieger commented Dec 18, 2015

Great work Brian!

Make sure to use the README template to check off all the features you added in your app.

This pre-work is a preview of our weekly project process. Generally, weekly projects take about 5 hours to complete the required features and an additional 5 hours to complete the optional features. In general, we've seen that the more hours you log, the quicker you improve your proficiency with iOS.

The purpose of this project was to begin to explore Xcode and to get a broad overview of iOS development using Swift. For example, in this project, we explored the following concepts:

Code styling in Swift. You can find some code styling guides here:

Ray Wenderlich Swift Style Guide
Github Swift Style Guide

  • Views are created in Storyboard, Interface Builder, or programmatically, but they have the same goal: instantiate, initialize, and layout view objects. We use IBOutlets to give names to view objects, similar to giving unique ids to divs in HTML.
  • We registered for touch events, which can be done programmatically or via IBActions.
  • We explored NSUserDefaults, one of the four persistence strategies in iOS.
  • View controllers have a set of methods that are called when it loads, appears, or disappears. These are called view controller lifecycle methods.

Do your views look good on iPhone 4, 5, and 6? We will cover in class how to use Auto Layout to robustly design your views for different screen sizes and OS versions.

After this assignment, you should understand the purpose of IBOutlets and IBActions as well as the basics of designing views and programmatically interacting with the views from the controller.

Charlie Hieger
CodePath

@Brian-Kaplan
Copy link
Owner Author

Hello Charlie,

Thanks for taking a look and giving me feedback. Here is my final version. I have updated the Readme to follow your posted guidelines.

Thanks,
Brian

@chieger
Copy link

chieger commented Dec 29, 2015

Awesome, looks great Brian! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants