SwiftUI project demonstrating how weak self works

Overview

SwiftUI-weak-self

SwiftUI project demonstrating how weak self works

Inspired by Swiftful Thinking's video on the topic: https://www.youtube.com/watch?v=TPHp9kR0Go8

Before diving into what weak self is, I would recommend reading up on what ARC (Automatic Reference Counting) is: https://docs.swift.org/swift-book/LanguageGuide/AutomaticReferenceCounting.html

Weak self is used in order to more effectively allocate memory when you run into asynchronous tasks, such as downloading data from a server. Usually Swift is able to take care of allocating and deallocting memory for us using ARC (Automatic Reference Counting). But occasionally you

You might also like...
This is example project for my presentation in iOSDC JAPAN 2021

Swift PM Project Example This is example project for my presentation in iOSDC JAPAN 2021. Package.swift based project management Multi Modules Multi P

A demo project using VIPER architecture and building user interface programmatically
A demo project using VIPER architecture and building user interface programmatically

ProductDiscovery A demo project that building a UIKit user interface programmatically. Because the UI is made of code very long so I have separated it

Example Xcode swift iOS project for Core Data + iCloud syncing
Example Xcode swift iOS project for Core Data + iCloud syncing

iCloudCoreDataStarter Hello, I'm Chad. For the last several months I have been working on Sticker Doodle, an app you should go download right now! In

Hackgt 8 Project - Caravan App

Hackgt 8 Project - Caravan App Use xcode (Swift) brew install cocoapods This is for the Firebase database pod install in the Caravan file NOTE: This a

Demo project for MOPCON2021

Nav This project is a demo for MOPCON 2021. The topic is SwiftUI Navigation Study. There are 3 ways to see how the code works, which demos different v

This project is built to show how to support accessibility features in iOS applications in UIKit.
This project is built to show how to support accessibility features in iOS applications in UIKit.

ACCESSIBILITY EXAMPLE This project is built to show how to support accessibility features in iOS applications in a blog post. For the sake of Accessib

 This is a demo project which contains the steps to create App with TunnelRay library
This is a demo project which contains the steps to create App with TunnelRay library

This is a demo project which contains the steps to create App with TunnelRay library Environment requirements: XCode: 13.1 Cocoapods: 1.11.2 Detai

iOS NBA Challenge Based on Xcode 12.4, PR2S Project By: Oscar Pastás

iOS NBA Challenge Based on Xcode 12.4, PR2S Project By: Oscar Pastás iOS This test app consists of a list of users Considerations This test should be

Owner
Standwerth
Standwerth
Exchanger - a simple iOS application demonstrating one of approaches to implement VIPER 💎 architecture in modern Objective-C

The Exchanger is a simple iOS application demonstrating one of approaches to implement VIPER ?? architecture in modern Objective-C.

Vladimir Kaltyrin 11 Oct 11, 2022
GesturesSwiftUI - A simple project to demonstrate how gestures works in SwiftUI

GesturesSwiftUI - A simple project to demonstrate how gestures works in SwiftUI

Gustavo Antunes 1 Feb 18, 2022
SwiftUI Project built using the fundamentals of SwiftUI that I have learned.

GhibliLog About: I wanted to test my ability to create an application with a responsive SwiftUI interface that would format and display data pulled fr

Daniel Whitehorn 0 Nov 9, 2021
Challenge-swiftui-space - Project for SwiftUI Dev Sprints on Devpass

SwiftUI Challenge - Space App ?? Neste desafio, desenvolveremos a interface de u

Devpass 7 Dec 27, 2022
This is a sample project that supplements the tutorial written over at my blog on 'Building a music recognization app in SwiftUI with ShazamKit'

Shazam-Kit-Tutorial This is a sample project that supplements the tutorial written over at my blog on 'Building a music recognization app in SwiftUI w

Swapnanil Dhol 7 Mar 17, 2022
BasFox project allowed to become familiar with the SwiftUI features

Hey! I am a beginner iOS developer, starting my way to senior developer, learning the Swift programming language (SwiftUI framework). Nice to see you on my GitHub profile

Abdulkhakim Magomedov 1 Mar 29, 2022
🚀 This demo is very simple project, which designed to understand SwiftUI

?? This demo is very simple project, which designed to understand SwiftUI. It includes Main screen, DayList screen and detail screen.

Necati Evren Yaşar 40 Jan 6, 2023
An example project of using the new Character Controller component in RealityKit 2.0

CharacterController in RealityKit 2.0 An example project of using the new Character Controller component in RealityKit 2.0. Demo Tweet Usage Install a

Sai Kambampati 8 Nov 13, 2022
Example project guide you schedules multiple thread for network requests in RxSwift, which is optimize your app's performance better.

RxSwift-Multi-Threading-Example Example project guide you schedules multiple thread for network requests in RxSwift, which is optimize your app's perf

Huy Trinh Duc 6 Nov 4, 2022