Coder Social home page Coder Social logo

enesozmus / swiftfulthinkingcontinuedlearning Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 413 KB

✅ This is an intermediate course from Nick that makes beginner iOS developers understand and master the basics of SwiftUI. [22/58]

Swift 100.00%
bootcamp intermediate swiftui state-management core-data

swiftfulthinkingcontinuedlearning's Introduction

🚧 SwiftUI

Kaynak/Reference: Swiftful Thinking

Building a custom data type

State management 1

State management 2

State management 3, Custom model, Identifiable Protocol, ViewModel, ObservableObject Protocol, @Published, init(){}, @StateObject, @ObservedObject

State management 4, @EnvironmentObject, .environmentObject()

@AppStorage()

We will create a fake user onboarding experience in which a user can sign up, add their name, age, gender, and then log in to our application. In this example we will focus on persisting the data with @AppStorage and making beautiful animations with the .transition modifier.

Identifiable, Equatable, Comparable, and Hashable Protocols

Creating a Core Data model, Adding entities, Setting the properties of these entities

Setting up a Core Data stack, Initialize a Persistent Container

Inject the managed object context

Data manipulations in Core Data

Entity relationships, predicates, and delete rules in Core Data

DispatchQueue, DispatchQueue.main.async { }, .global(qos:), .async, Thread.isMainThread, Thread.current, .background, .userInteractive, .userInitiated

How ARC works

Strong reference cycles between class instances and Resolving strong reference cycles between class instances

weak, weak self

typealias name = existing type, typealias CompletionHandler = (Int)->(String)

@escaping, [weak self], self?

JSON, Why Is JSON Used?, Modeling relevant JSON data, JSONSerialization, .jsonObject(with:options:), .data(withJSONObject:options:)

JSON, Why Is JSON Used?, Modeling relevant JSON data, Codable (type alias) Decodable and Encodable protocols, protocol Decoder, protocol Encoder, JSONDecoder(), JSONEncoder(), container.decode(:from:), container.encode(:), CodingKeys, decoder.container(keyedBy:), encoder.container(keyedBy:)

Modeling relevant JSON data, Codable, JSONDecoder(), JSONEncoder(), container.decode(:from:), container.encode(:)

Modeling relevant JSON data, Codable, @Published, URL(), URLRequest(), JSONDecoder(), URLSession, asyn/await, .task {}

Downloading JSON from an API using completionHandler and @escaping

URL, URLSession, URLSession.shared, URLSessionDataTask, Handling Data, Responses and Errors, URLSessionUploadTask, URLSessionDownloadTask, Managing Sessions, Task Lifecycle Management, Background Sessions, Handling Background Events, Handling Cookies and Sessions, Error Handling and Debugging, Concurrency and DispatchQueues, Grand Central Dispatch Integration, Authentication and Security, URLSessionConfiguration

URLSession, URLSession.shared, URLSession.shared.dataTaskPublisher(for:), .receive(on:options:), .tryMap(), .decode(type:decoder:), .replaceError(with:), .sink(receiveValue:), .store(in: &self.cancellables):

Timer, .publish(), .autoconnect(), onReceive(publisher:perform:)

Publishers and Subscribers, Timer, .publish(), .autoconnect(), .sink{}, .debounce(for:scheduler:options:), .map(:), .combineLatest(:), .store(in: &self.cancellables):, AnyCancellable

Managing data and images via File Manager

Caching images in the assets folder

Downloading and saving images using Codable, Combine Framework, Background threads, FileManager and NSCache

swiftfulthinkingcontinuedlearning's People

Contributors

enesozmus avatar

Stargazers

Jair F Ochoa Davila avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.