
We briefly describe what we'll teach our students on this course.
We have sample code attached to every video. Don't forget to download it and follow along to our videos or you can simply use it as reference for your own projects.
Search Udemy for "SwiftUI" and set the filter to "Free".
You'll find all of our free online courses teaching iOS, Swift, SwiftUI and materials to help build a great iOS career.
Visit iOSBFree.com to download our free CV guide and read our insiders secrets into the iOS industry.
We briefly discuss what is meant by ARC (Automatic Reference Counting). By the end of this short video you will understand the counting system, how it works and why you should use it.
We discuss the default value set when we create a property to an object i.e. a class type. This is also known as a reference type (because it stores a reference to a location in memory).
We discuss weak references and how they behave using the memory management system known as ARC. Weak references do not increase the counter and they are automatically set to nil if the object referenced is deallocated.
We discuss unowned references to area of memory and their very specific behaviour. Unowned references aren't used very often because they do not have their pointer set to nil when the object referenced is deallocated from memory. Basically, the counter is not increased and it is dangerous to an unowned reference to an object that has been deallocated - so we must be careful with this reference type.
Closures capture objects (instances of classes) by basically copying them. This means that they will take ownership of a reference to each object. As developers we actually have the option to tell the memory management system how to copy them. Our 3 choices are a strong, weak and unowned reference.
We add a delay to our .playground file so that our NetworkingManager class behaves in a similar fashion to a network request to a server. We can see that we have some architectural decisions to make to avoid potential memory leaks. We use weak references to objects within our completion handlers to ensure that we avoid retain cycles.
This is an interesting video. We reveal how to ensure that networking call-backs are always called and honoured even if the NetworkingManager was released from memory by its creator / owner. Using good architectural principles we want to make a promise for each networking call that the completion handler will be called 100% of the time. Each time and every time!
Learn From One Of The 1st iOS Developers In The World
Our instructor Matt, has 13 years of experience in iOS and created the world's first iPhone, iPad and Apple Watch apps. Now, he dedicates his time to recording courses for iOSBFree (pronounced "iOS Be Free").
In This Course
1. We introduce the concept of ARC (Automatic Reference Counting) and the 3 different options available for storing objects in memory.
2. We create some simple code within a Swift Playground. The Playground files are always included and attached to each video as a resource (the same with all our courses). Please follow along and try it for yourself!
Learning Objectives
· What is ARC
· About the counter system
· The 3 options for storing data in memory
· How objects are captured within a closure
· Engineering decisions when altering the way objects are stored or released from memory
· Networking requests should always fire their callbacks. Always.
Sample Code
Sample Code Is Always Included and attached to each video. You can download the same project used in each episode of the course.
This Course Is Free
This course is free. We aim to publish as many short courses as we can to help new iOS Developers apply for jobs in iOS and enter a high paying profession. We want those developers to write great apps that are robust, work correctly, and are maintainable. By supplying this information for free we hope we can reach as many people studying in the pandemic as we can.
Our Service (iOSBFree Ltd)
We are a unique career-building service sharing over 13 years of successful experience shaping the iOS industry into what it is today. Our unique information, point-of-view and service can be utilised to build highly successful and profitable careers in iOS.
A Career In iOS
iOS developers are the most sought after developers in the world! They can earn over £100,000 per year, work remotely and B in high demand for their skills! Subscribe to our YouTube channel and let us reveal all our insider secrets completely for free.
What We Teach
Career building, CV writing, interviewing skills, industry secrets, industry stories, real-life experience, iOS fundamentals, ARC memory management, Swift, architecture and best engineering practices.
Please show your support by enrolling in our course!
What Is SwiftUI?
SwiftUI is a newly released UI Framework introduced to iOS. It aims to solve a lot of problems with apps, such as running on all platforms, reducing bugs, improving stability and bringing more developers to iOS - because it's easier to write apps!
Learning SwiftUI is an absolute must for any iOS developer looking to develop a career over the next 5 years.
The Instructor
Check out our Instructor profile (just briefly) and glance over Matt's incredible unparalleled experience. After 13 years of specialising in iOS, he created a company helping people build their own successful and profitable careers in iOS too.
Our unique information cannot be found anywhere else on any platform. We not only teach code, syntax and architecture but we provide tried & tested strategies to boost your career forwards and build a better life!
Want To Learn More Topics?
Please send us an email with the topic you would like to learn in a swift playground and we will happily record, edit and publish it for you. Absolutely for free. Simply email community@iOSBFree.com with the subject heading, "Topic I Want To Learn".
First In The World
Not only is our instructor one of the first iOS developers in the world, but our service is also the first of its kind in the world!
iOSBFree is a truly unique one-of-a-kind service. There is no single other service offering Matt’s level of experience in any other coding course, software engineering tutorial, or career-building service anywhere in the world.
More From iOSBFree
· Download Our FREE CV Template
· Download Our Career BOOSTER Pack
· Enrol In FREE Online Courses (iOS & Swift)
· Read Our Blog
Much love.
The iOSBFree team.
Build a profitable iOS career with iOSBFree!