Angela Yu Course - Part 1 (up to lecture 33!)
So here we go! Switching over to Udemy makes sense. I've got so many courses that I've paid for that I need to go through. I've only actually completed 2 - out of 22!
Now, I could go through every single one of these, recapping the basics each time...Tempting to do another 'overhaul' where I essentially start from scratch again...but that's NOT the way to go! Instead, I'm going to go with the Angela Yu course - not because she is a girl and therefore seems like a refreshing change from the blokes - but I had started this one briefly a while back and would like to continue with it. The idea is that I gain experience of making apps and learn about coding as I do, rather than keep going over the key areas.
After I have completed the Angela Yu course, I will go for one of the others - possibly Ray Wenderlich, Mark Price, John Bura, Muhammad Haroon....plus a good few more!
So the challenge is to see this course through! Not give up! If I do need to check any concepts, I can dip in and out from the other courses. Ok here we go...
As mentioned briefly, I've already started this course - have done the first few lessons, which were mostly an introduction. I've also downloaded a load of free content - will hopefully come in handy!
The I am Rich App
Angela describes an App that was released in 2008 that essentially did nothing! You basically paid a grand for it but what an idea! He priced it at the maximum amount and got approx 8 purchases and 2 refunds. Apple took the app down the day after he released it. So we are making a version of this!
How to Properly Create a New Xcode Project
Shortcuts - we'll be using a lot of these apparently. There is a link of all of the most common shortcuts.


So those are all the shortcuts! Could come in handy!
Organisation identifier - apparently this is very important. Angela says to use a 'Reverse Domain Name'. It needs to be unique so it can be identified. So I've done this as 'com.joshgonet'. You can change the bundle identifier if necessary as well apparently. She also mentioned having the 'Git' box unticked - I think I may have ticked this....
Let's Design the User Interface Using Storyboards
Files in the left hand pane:
Swift bird files - code files
Main - the main design
Launch screen - the initial screen - company logo etc.
Arrow pointing the main view controller - this means it's the first screen to be shown! Ah!
Label being too small - not an issue on the recent Xcode! :)
But in case I ever need that command and =
Changing colours and size/position of labels - no problems. All good!
Positioning UI Elements

So this is the layout for the iPhone 6.
https://www.paintcodeapp.com/news/ultimate-guide-to-iphone-resolutions
That is a guide to sizes for ALL apple devices!
Incorporating Image Assets
First thing is to add an image View to the storyboard. Angela says to think fo this as a photo frame. Good analogy!
So now we are in 'Assets'. We have the various templates for different devices. All files have been downloaded and ready to go! Filling the slots is easy in this case as they're all named - with the number of 'pt'.

Cool! Though the diamond is a bit stretched...Ah 'aspect fit' has fixed that.

That's better!
Points vs Pixels
Back in the old days - animations had to be completed with very few picture elements. Zooming in you can see the various pixels!
Points - a measure of length.

This is also 72 pixels per inch.
Retina screen is superior to a 'normal' one. So 2x means four pixels per single point. And for 3x, nine pixels. The best resolution - this will vary on devices!

So basically we have to provide all of the possible icons for all the different size categories. It's always better to start with the higher resolution for the image, then scale it down.
https://developer.apple.com/library/archive/qa/qa1686/_index.html
This link above shows you a breakdown of what is required for each type of view for the icon.
Run and Test Your App
First of all, you can go to the general settings for the app and make it only for iPhone - that means no need to adapt for iPad.
If you open the app icon from the simulator iPhone, it will load the previous version and not have all updates do it. Don't do this! Command + z for undoing - good, good. You don't need to Command + s - autosaves every couple of seconds.
So that's the basic app!
Sideloading
No need to register with a proper Apple developer account, so you can basically avoid paying 99 dollars a year! This is only come in regularly recently.
*I'm going to skip over the next few bits as I have done this already with the F1FunFacts app I made on the Treehouse course.
Coding Challenge #1 - Using IB in Xcode!
Am looking forward to this challenge! Best way to learn! After this, I'll call it a day for coding, having done quite a bit earlier with Treehouse too.
GitHub - a place where programmers upload code and share with others.
Git - open sourced project.
Version Control - a way of collaborating on a piece of code at the same time. Master copy on a central coder but versions can be updated.

That was the coding challenge! All of it was very simple - I even added in constraints to get all of the position and spacing of the labels and image sorted. Nice! I also posted my answer in the comments. Angela will probably not reply but not to worry!
A really positive start with this course. Most of which I did was familiar but there were a few really useful, key takeaways...
None of this is groundbreaking or world changing, but it was great to get into Xcode and get some more hands on experience. Next time, it will be a 'dice' app, which will include some code! So I'm looking forward to that already!
Now, I could go through every single one of these, recapping the basics each time...Tempting to do another 'overhaul' where I essentially start from scratch again...but that's NOT the way to go! Instead, I'm going to go with the Angela Yu course - not because she is a girl and therefore seems like a refreshing change from the blokes - but I had started this one briefly a while back and would like to continue with it. The idea is that I gain experience of making apps and learn about coding as I do, rather than keep going over the key areas.
After I have completed the Angela Yu course, I will go for one of the others - possibly Ray Wenderlich, Mark Price, John Bura, Muhammad Haroon....plus a good few more!
So the challenge is to see this course through! Not give up! If I do need to check any concepts, I can dip in and out from the other courses. Ok here we go...
As mentioned briefly, I've already started this course - have done the first few lessons, which were mostly an introduction. I've also downloaded a load of free content - will hopefully come in handy!
The I am Rich App
Angela describes an App that was released in 2008 that essentially did nothing! You basically paid a grand for it but what an idea! He priced it at the maximum amount and got approx 8 purchases and 2 refunds. Apple took the app down the day after he released it. So we are making a version of this!
How to Properly Create a New Xcode Project
Shortcuts - we'll be using a lot of these apparently. There is a link of all of the most common shortcuts.
So those are all the shortcuts! Could come in handy!
Organisation identifier - apparently this is very important. Angela says to use a 'Reverse Domain Name'. It needs to be unique so it can be identified. So I've done this as 'com.joshgonet'. You can change the bundle identifier if necessary as well apparently. She also mentioned having the 'Git' box unticked - I think I may have ticked this....
Let's Design the User Interface Using Storyboards
Files in the left hand pane:
Swift bird files - code files
Main - the main design
Launch screen - the initial screen - company logo etc.
Arrow pointing the main view controller - this means it's the first screen to be shown! Ah!
Label being too small - not an issue on the recent Xcode! :)
But in case I ever need that command and =
Changing colours and size/position of labels - no problems. All good!
Positioning UI Elements
So this is the layout for the iPhone 6.
https://www.paintcodeapp.com/news/ultimate-guide-to-iphone-resolutions
That is a guide to sizes for ALL apple devices!
Incorporating Image Assets
First thing is to add an image View to the storyboard. Angela says to think fo this as a photo frame. Good analogy!
So now we are in 'Assets'. We have the various templates for different devices. All files have been downloaded and ready to go! Filling the slots is easy in this case as they're all named - with the number of 'pt'.
Cool! Though the diamond is a bit stretched...Ah 'aspect fit' has fixed that.
That's better!
Points vs Pixels
Back in the old days - animations had to be completed with very few picture elements. Zooming in you can see the various pixels!
Points - a measure of length.
This is also 72 pixels per inch.
Retina screen is superior to a 'normal' one. So 2x means four pixels per single point. And for 3x, nine pixels. The best resolution - this will vary on devices!
So basically we have to provide all of the possible icons for all the different size categories. It's always better to start with the higher resolution for the image, then scale it down.
https://developer.apple.com/library/archive/qa/qa1686/_index.html
This link above shows you a breakdown of what is required for each type of view for the icon.
Run and Test Your App
First of all, you can go to the general settings for the app and make it only for iPhone - that means no need to adapt for iPad.
If you open the app icon from the simulator iPhone, it will load the previous version and not have all updates do it. Don't do this! Command + z for undoing - good, good. You don't need to Command + s - autosaves every couple of seconds.
So that's the basic app!
Sideloading
No need to register with a proper Apple developer account, so you can basically avoid paying 99 dollars a year! This is only come in regularly recently.
*I'm going to skip over the next few bits as I have done this already with the F1FunFacts app I made on the Treehouse course.
Coding Challenge #1 - Using IB in Xcode!
Am looking forward to this challenge! Best way to learn! After this, I'll call it a day for coding, having done quite a bit earlier with Treehouse too.
GitHub - a place where programmers upload code and share with others.
Git - open sourced project.
Version Control - a way of collaborating on a piece of code at the same time. Master copy on a central coder but versions can be updated.
That was the coding challenge! All of it was very simple - I even added in constraints to get all of the position and spacing of the labels and image sorted. Nice! I also posted my answer in the comments. Angela will probably not reply but not to worry!
A really positive start with this course. Most of which I did was familiar but there were a few really useful, key takeaways...
- Start using the shortcuts to save time
- Organisation Identifier - use my name with com. first
- App icons have to be created carefully
- Inserting an image isn't so specific and is fairly easy
- There is an invisible coordinate grid - specific for each device!
None of this is groundbreaking or world changing, but it was great to get into Xcode and get some more hands on experience. Next time, it will be a 'dice' app, which will include some code! So I'm looking forward to that already!
Comments
Post a Comment