Open sohilpandya opened 8 years ago
The first lecture is 1 hr 17min, but giving myself 2 hours to go through it, will post the outcome below
pre req
Things we'll learn in this course
Note that I have done next to no programming for iOS, I am a JavaScript developer
1. Core OS | 2. Core Services |
---|---|
3. Media | 4. Cocoa Touch |
---|---|
Things we'll learn in lecture 1
1. select new project | 2. select type of application |
---|---|
3. select project name | 4. voila! |
---|---|
Known Issue If you are having trouble connecting your phone or Xcode showing an error message like such: Then please select your iPhone from the dropdown list shown here:
This will solve the issue Known Issue
ViewController.swift
is our controller & Main.storyboard
Model
View Main.storyboard
Controller ViewController.swift
Our first Button
But nothing happens when we click the button :cry:
controller
file alongside the storyboard
control
keyViewController
class
HINT
Optional
?set
state, it has an associated value. usually shown as suchString? //Where this is an optional with the associated value being a string
So how do we get the associated value? By Simple putting an exclamation mark at the end.
let digit = sender.currentTitle!
userIsTyping
and set it to false
currentTextInDisplay
with an if
statementHINT
This Excercise has taken me 6 Pomodoro's instead of 4. So the task has taken me an hour longer than I expected.
Reasons
I am not happy with the above as it is quite a lot, It should be a lot more condensed than this. What do you think? @nelsonic
Review
Apparently, these are some of the best lectures on Swift and iOS development, might be worth investing time into it.
Its free!