Build a Simple iPhone App - Part 1
Yes! As promised, I'm moving onto a practical challenge. Hopefully this will put things into context a bit more. Looking forward to it!
Introduction/Creating a New Project
Now I am kind of familiar with Xcode but have not used it for a while. Pasan talks through the templates/options when you open Xcode.
Version numbers: Major.Minor.Patch. Pasan is using 8.something. Hopefully it won't be incompatible with what I have - I am using 9.4.1! So as I said, I may well notice some inconsistencies and difficulties. Pasan describes the different types of projects - single view, multiple pages, tabs etc.
Tour of Xcode
Pasan talks through the main features. The error message is not to worry about - this would only be a factor if I wanted to actually upload the app to the app store. The menu options look a bit familiar. I've ran the 'empty' App so far.
Architecture of an App
There are three aspects to an App. Models, views and controllers. Each of these have a general function. When we ran the 'empty' app - certain things happened automatically - this is because Apple has done certain things to help us. iOS SDK - this is the toolkit.
There are different layers of code, including 'Cocoa Touch'. When writing in Swift, we use the String type - it is actually a class (rather than type?!). NSString, NSDictionary etc. The NS stands for Next Step... There's a bit of history about Steve Jobs.
So in 1985 he was fired by Apple and founded a company called 'Next'. In 1996, Apple ended up buying Next as they weren't doing too well.
The last part of this sequence was a Swift code challenge - recaps but very tricky! It's clear that I still need practice with classes, as there are so many aspects to this, once self, override and other key elements are involved. I'm getting there and my initial setup of code for the challenge is not far off. I will get there!
So the main takeaway is that an App is a complex system - like a car, with various different parts in operation to get it working. I've actually done this part of the course over several days as I've only had a little bit of time here and there. Next time, it will be more of using Xcode and actually getting used to Main Storyboard and View Controller hopefully! Once I'm back in the UK - from Sunday 8th July, I'll definitely have a few hours here and there to get properly immersed in all of this.
Introduction/Creating a New Project
Now I am kind of familiar with Xcode but have not used it for a while. Pasan talks through the templates/options when you open Xcode.
Version numbers: Major.Minor.Patch. Pasan is using 8.something. Hopefully it won't be incompatible with what I have - I am using 9.4.1! So as I said, I may well notice some inconsistencies and difficulties. Pasan describes the different types of projects - single view, multiple pages, tabs etc.
Tour of Xcode
Pasan talks through the main features. The error message is not to worry about - this would only be a factor if I wanted to actually upload the app to the app store. The menu options look a bit familiar. I've ran the 'empty' App so far.
Architecture of an App
There are three aspects to an App. Models, views and controllers. Each of these have a general function. When we ran the 'empty' app - certain things happened automatically - this is because Apple has done certain things to help us. iOS SDK - this is the toolkit.
There are different layers of code, including 'Cocoa Touch'. When writing in Swift, we use the String type - it is actually a class (rather than type?!). NSString, NSDictionary etc. The NS stands for Next Step... There's a bit of history about Steve Jobs.
So in 1985 he was fired by Apple and founded a company called 'Next'. In 1996, Apple ended up buying Next as they weren't doing too well.
The last part of this sequence was a Swift code challenge - recaps but very tricky! It's clear that I still need practice with classes, as there are so many aspects to this, once self, override and other key elements are involved. I'm getting there and my initial setup of code for the challenge is not far off. I will get there!
So the main takeaway is that an App is a complex system - like a car, with various different parts in operation to get it working. I've actually done this part of the course over several days as I've only had a little bit of time here and there. Next time, it will be more of using Xcode and actually getting used to Main Storyboard and View Controller hopefully! Once I'm back in the UK - from Sunday 8th July, I'll definitely have a few hours here and there to get properly immersed in all of this.
Comments
Post a Comment