Loading...
「ツール」は右上に移動しました。
利用したサーバー: wtserver2
338いいね 7194回再生

Swift Protocols - An Introduction

Go to squarespace.com/seanallen to save 10% off your first purchase of a website or domain using code SEANALLEN.

My Swift & SwiftUI Courses - seanallen.teachable.com/

In this video I introduce you to the topic of protocols in Swift. I show you some basic examples of protocols already built into the Swift language, and the get a little more advanced where we build out own protocol with properties and functions.

Swift Protocol Documentation:
docs.swift.org/swift-book/documentation/the-swift-…

My Source Code:
seanallen.teachable.com/p/source-code-youtube-vide…

Swift News Newsletter - swiftnews.kit.com/newsletter

X (Twitter):
Sean Allen - twitter.com/seanallen_dev

Book and learning recommendations that help out the channel if you decide to purchase (Affiliate Links):

Antoine Van Der Lee - Going Indie Course:
courses.avanderlee.com/p/from-side-project-to-goin…

Helm (25% Discount) - The all-in-one macOS app that enhances App Store Connect, supercharging your app updates, localization, and ASO with AI-powered tools.
gumroad.com/a/692357651/ymbbmh

Mark Moeyken’s SwiftUI Books:
www.bigmountainstudio.com/a/fzc51

Paul Hudson's Hacking With Swift:
gumroad.com/a/762098803

RocketSim - Enhance Your Xcode Simulator:
gumroad.com/a/51797971/ftvbh

Objc.io Books (Thinking in SwiftUI & Advanced Swift):
gumroad.com/a/656585843

Timestamps:
0:00 - What is a protocol?
0:31 - Built in example - Identifiable
1:53 - Custom example - Tamable
3:21 - Defining Tamable properties and functions
5:39 - Conforming to Tamable protocol
8:29 - Using our protocol in a List
11:52 - Explaining our Tamable array and List

#swift #iosdeveloper #iosdevelopment

コメント