Swift in 100 Seconds

  Рет қаралды 766,002

Fireship

Fireship

Күн бұрын

Swift is a modern programming language developed by Apple. It is commonly used to code apps for iOS and MacOS, but is open-source and can be used outside of Apple’s walled garden.
#apple #programming #100SecondsOfCode
🔗 Resources
Swift Docs www.swift.org/
Swift Announcement • Video
Kotlin in 100 Seconds • Kotlin in 100 Seconds
C in 100 Seconds • C in 100 Seconds
🔥 Get More Content - Upgrade to PRO
Upgrade to Fireship PRO at fireship.io/pro
Use code lORhwXd2 for 25% off your first payment.
🎨 My Editor Settings
- Atom One Dark
- vscode-icons
- Fira Code Font
🔖 Topics Covered
- What is Swift?
- Swift vs Objective C
- Apple Swift Basics
- Swift Syntax and Memory Safety
- When was Swift Announced?

Пікірлер: 657
@Fireship
@Fireship 2 жыл бұрын
Subscribe to my walled garden of content 🍎
@Phoenix-CM
@Phoenix-CM 2 жыл бұрын
I love the kids that say "First reply" EDIT: They can't do that now :)
@johntony366
@johntony366 2 жыл бұрын
Do C# pleaseeee
@pilearn1266
@pilearn1266 2 жыл бұрын
Swift is love ❤️
@rishabsharma5307
@rishabsharma5307 2 жыл бұрын
Can you make a video on "How to research like a pro"
@JB-fh1bb
@JB-fh1bb 2 жыл бұрын
I appreciate this joke
@saeedbaig4249
@saeedbaig4249 2 жыл бұрын
I played around with Swift back when I used to use Mac and I have to say… Swift is the most sensible, sane and pleasant language I’ve ever used. Simple for easy beginner things yet gives all the features & efficiency you could want for serious applications. Shame it doesn’t really exist outside of Apple’s ecosystem.
@randomizednamme
@randomizednamme 2 жыл бұрын
It’s getting there slowly, async/await and other new async features other languages don’t have were just added, as well as better Windows support, so I can see web servers becoming more popular in the next year or two once things catch up
@farhandikazahrir6657
@farhandikazahrir6657 2 жыл бұрын
@@randomizednamme even without async await, it's a great language. but the adoption rate tho, low
@adlsfreund
@adlsfreund 2 жыл бұрын
@@randomizednamme better memory management and generics improvements are on the way now too!
@markuspfeifer8473
@markuspfeifer8473 2 жыл бұрын
@@adlsfreund waiting for Rust-like ownership, higher kind types and opaque return types with specifiable associated types. And it would be good to get better specialization guarantees for generic types. Oh, and Vapor could really use a complete overhaul inspired by composability patterns seen e.g. in SwiftUI, but swift on the server isn’t really a big thing yet
@markuspfeifer8473
@markuspfeifer8473 2 жыл бұрын
Caveats: XCode sucks and the compiler sometimes takes minutes to spit out a mysterious segfault without indication what the actual problem was. But it’s not much worse than with other languages. And in return, you get a package manager for which you don’t need to learn another language - it’s swift!
@Ma1ne2
@Ma1ne2 2 жыл бұрын
Anyone else wanting to see LLVM in 100 seconds?
@carlwestman9343
@carlwestman9343 2 жыл бұрын
Was just going to write this!
@davidjensen6215
@davidjensen6215 2 жыл бұрын
Oh yes plz!
@hamadrehman853
@hamadrehman853 2 жыл бұрын
absolutely
@xgxfhzxfuhfjgfhgf
@xgxfhzxfuhfjgfhgf 2 жыл бұрын
yes
@mastermati773
@mastermati773 2 жыл бұрын
Comm of support.
@elmomertens
@elmomertens 2 жыл бұрын
Thank you for covering Swift! If I may add something here, in Swift structs are commonly used in place of classes. They are similar in terms of functionality, but each one has its own strengths and weaknesses. And also, inheritance is not really a common occurrence in Swift, instead people tend to write protocols - Of course, you can still make a class that inherits another, but writing with protocols makes your code more modular and composable! There are a lot of interesting and useful language features that cannot possibly go into a 100 second video, so I hope people will take more interest in Swift 🥳
@HDSQ
@HDSQ 2 жыл бұрын
Are protocols like interfaces in Java and C#? How do they work?
@UltravioletMind
@UltravioletMind 2 жыл бұрын
​@@HDSQ i don't know java or c# but protocols allow you to add custom functionality to structs ,classes and other types that conform(implement) to certain specs that you can define in the protocol. If a struct conforms to a protocol it will gain the functionality implemented in the protocol. It is a very powerful tool which lets you extend and "inherit" functionality by simply conforming to a protocol. you can even create protocols for built in types like arrays etc. eg you could add a protocol to arrays to return all indices of a value in the array. and any array will have access to the protocol.... so long as the array conforms to the protocol ( eg. the elements would probably need to be identifiable; which is also a protocol)
@georgeelsham
@georgeelsham 2 жыл бұрын
@@HDSQ Yep, similar to Java interfaces. In Swift you can declare properties and methods that a conforming class/struct/enum etc must conform to. You can also create default implementations for these properties and methods like in Java.
@tanaykamath1415
@tanaykamath1415 2 жыл бұрын
@@UltravioletMind looks like Kotlin extension functions
@mainaksengupta6248
@mainaksengupta6248 2 жыл бұрын
You have successfully sold me to pick up swift, thank you good person on the internet.
@pelicanoe
@pelicanoe 2 жыл бұрын
Swift is really underappreciated as just being a good and modern programmming language
@tanaykamath1415
@tanaykamath1415 2 жыл бұрын
The issue is that one needs a mac inorder to build native iOS apps
@swordz2330
@swordz2330 2 жыл бұрын
@@tanaykamath1415 yeah thats stupid. I use linux on my main pc arch btw but use an iPhone as my main mobile device so I cant really develop apps for iOS. Also its really expensive. I guess its just the apple way of doing things
@OcnarfPro
@OcnarfPro 2 жыл бұрын
@@tanaykamath1415 I installed macOS on roblox
@select_from_users5842
@select_from_users5842 2 жыл бұрын
@@aayushtheapple arch users are the vegans of Linux
@aayushtheapple
@aayushtheapple 2 жыл бұрын
@@select_from_users5842 damn true
@jeanjpnm
@jeanjpnm 2 жыл бұрын
"It uses automatic reference counting to manage memory automatically" _proceeds to show memory that will never be released_
@lanye2708
@lanye2708 2 жыл бұрын
the best part is you can't tell if he's joking or not
@31redorange08
@31redorange08 2 жыл бұрын
@@lanye2708 I can. He isn't.
@tigergold5990
@tigergold5990 2 жыл бұрын
@@31redorange08 Yes he is lol
@codediporpal
@codediporpal 2 жыл бұрын
@@lanye2708 He likes to throw in these little easter eggs.
@everyhandletaken
@everyhandletaken 2 жыл бұрын
Awesome timing, was recently giving Swift some thought, as my next unnecessary play thing 🤓
@georgeelsham
@georgeelsham 2 жыл бұрын
I would definitely recommend it!
@abh1yan
@abh1yan 2 жыл бұрын
Report
@WillAmaral29
@WillAmaral29 2 жыл бұрын
Me too, “What should I invest my time in learning while leaving tons of unfinished side projects?”. Swift was one of the options, so I guess Swift it is.
@oluwolegideon3968
@oluwolegideon3968 2 жыл бұрын
Same here...
@everyhandletaken
@everyhandletaken 2 жыл бұрын
@@WillAmaral29 😂 😂 I thought it was just me that does that- glad I’m not alone ☺️
@paragjyotideka1246
@paragjyotideka1246 Жыл бұрын
Learning to code swift, from a nodejs, react background, and have to say, it truly feels like a language that Apple developed. It just makes sense.
@mad_t
@mad_t Жыл бұрын
XCode was also developed by Apple. And calling it shit would be a praise. Obj-C is a bloody mess, and it was also made by Apple. I guess you can see my point. Made by Apple doesn't mean good and sane.
@paragjyotideka1246
@paragjyotideka1246 Жыл бұрын
@@mad_t lol, have you used android studio?
@l_ravid
@l_ravid Ай бұрын
⁠​⁠​⁠@@mad_t Obj-C wasn’t made by Apple, but by Tom Love and Brad Cox. NeXT (founded by Steve Jobs) used it for its operating system NeXTSTEP, and later Apple bought NeXT, this is how it became the main language on their platforms. The syntax looks strange indeed, but if you consider it was released before C++ (in 1984), and inspired by Smalltalk, it's a different story.
@zakharkholboiev842
@zakharkholboiev842 2 жыл бұрын
Thank you very much, Jeff! I appreciate your content 🙂 Waiting for: - WebWorkers in 100 seconds - WebStorage (including indexedDB, WebSQL) in 100 seconds - Repaint/Reflow in 100 seconds - Critical Rendering Path in 100 seconds
@creeper283
@creeper283 2 жыл бұрын
If your critical rendering path takes 100 seconds, you might have a performance problem!
@boiimcfacto2364
@boiimcfacto2364 2 жыл бұрын
The day Jeff makes repaint/reflow in 100 seconds is the day newbies will be able to steal my job, so no thanks XD
@zakharkholboiev842
@zakharkholboiev842 2 жыл бұрын
🤔
@Gregorius421
@Gregorius421 2 жыл бұрын
Exquisite choice of topics.
@MhdSamad96
@MhdSamad96 2 жыл бұрын
Great video 👍 A small detail is that at 1:25, it should be “colon” instead of “semicolon”
@max_mittler
@max_mittler Жыл бұрын
thanks, watched that part five times thinking I was missing it
@sinisterrectus
@sinisterrectus Жыл бұрын
yeah i too noticed that
@joecardenas7015
@joecardenas7015 2 жыл бұрын
Swift is amazing! Some more terms to research would be: Protocol Oriented Programming (Protocols), Structs in Swift, If Let syntax. There’s more but those are the first ones I thought of. Also, through the Swift Evolution process, more development is always being done to make the language more powerful and easy to use.
@farhansangaji5029
@farhansangaji5029 2 жыл бұрын
Great language in overall, thanks for the explanation. It feels like i got more in this 100 seconds than me procrastinating the whole day
@abh1yan
@abh1yan 2 жыл бұрын
@Rafly Tzy report
@farhansangaji5029
@farhansangaji5029 2 жыл бұрын
@@abh1yan roger
@ssholum
@ssholum 2 жыл бұрын
That's why I'm here. Now I can complete the day thinking that I've done at least something productive! Now, back to procrastinating.
@abh1yan
@abh1yan 2 жыл бұрын
@@ssholum bravo
@farhansangaji5029
@farhansangaji5029 2 жыл бұрын
@@ssholum bravo
@urk5204
@urk5204 2 жыл бұрын
Swift is easily one of my favorite programming languages. It being protocol-oriented really helps as well
@leo-hao
@leo-hao 2 жыл бұрын
i know its a series, but this was the perfect opportunity to name the video "Swift, swiftly"
@JulianShalaby
@JulianShalaby 4 ай бұрын
one who has worked with Swift, I really appreciate how approachable yet powerful it is as a language. The syntax is clean and expressive, making it easy to read and write code. And the tight integration with Apple's frameworks allows for efficient development of high-performance apps. Swift has been a game-changer for iOS/macOS app development.
@PetePeteRepeat
@PetePeteRepeat 2 жыл бұрын
PLEASE make more videos on Swift! Maybe on the SwiftUI and UIKit frameworks? I love your channel and this has been my favourite video so far!
@Gregorius421
@Gregorius421 2 жыл бұрын
"Congratulations! Your app is now ready to seek approval on the apple appstore." The main lesson 😂
@escapadechannel8379
@escapadechannel8379 18 күн бұрын
Now i a fully fledged IOS swift developer after this tutorial thanks man.
@Pho3nixHun
@Pho3nixHun 2 жыл бұрын
The syntax is insanely similar to Typescript.
@bob_kazamakis
@bob_kazamakis 2 жыл бұрын
The swift “let” === js “const” definitely trips me up a lot
@thespacejedi
@thespacejedi 2 жыл бұрын
It's even more similar to kotlin
@sergten
@sergten 2 жыл бұрын
I was gonna say.
@bakedbeings
@bakedbeings 2 жыл бұрын
Also like Nim
@user-qi7kk7su3l
@user-qi7kk7su3l 2 жыл бұрын
@@thespacejedi it's rather the other way around, Kotlin is similar to swift
@jaeyoungchoi
@jaeyoungchoi 2 жыл бұрын
If it weren't for Swift, I would not have even touched iOS development. Objective C is downright unenjoyable to look at
@harunadess
@harunadess 2 жыл бұрын
A more fitting ending might have been "..your code is now ready to seek rejection from the App Store" - since we know how particular and arbitrary they can be. Maybe not with code in general, but with app functionality.
@liamveary
@liamveary 2 жыл бұрын
Please do Lua in 100 seconds!
@artoshia
@artoshia 2 жыл бұрын
And also Luau! (it was recently open sourced, (its a variant of lua but with types and many other useful functions including much more speed!))
@OcnarfPro
@OcnarfPro 2 жыл бұрын
@@artoshia roblox lua
@chinmayk8004
@chinmayk8004 2 жыл бұрын
Swift seems like the perfect high-performance version of JS! Amazing vid Fireship!!
@paragjyotideka1246
@paragjyotideka1246 Жыл бұрын
It is. And Swift UI is insanely similar to React/React Native.
@shinomitsu7798
@shinomitsu7798 2 жыл бұрын
You know your content is awesome when people thank you for making them spend money. Just bought lifetime access. Thank you Jeff
@AkshatSinghania
@AkshatSinghania 2 жыл бұрын
There is one jeff who makes awesome content for developers in 100 secs , and then theres the evil jeff who went to space for 100 secs
@illuzati
@illuzati 2 жыл бұрын
Underrated comment
@daleryanaldover6545
@daleryanaldover6545 2 жыл бұрын
Jeff: "Swift is open source so you can create something outside apple platform". Me: That's great Jeff! few seconds later "Congrats for watching till the end, you can now publish your work on apple and hopefully they approve your work." Me: Wait...what?!
@bakedbeings
@bakedbeings 2 жыл бұрын
Thing you can do != most common use case
@AMIRBENDABI
@AMIRBENDABI 2 жыл бұрын
Since printing "greeting" has such difficult syntax in Objective-C, I now kind of wonder how a function that iterates through an object looks like.
@ad_sidera_virgines
@ad_sidera_virgines 2 жыл бұрын
1:02 i really like those file extentions that are actually longer than the file name itself
@sungjuyea4627
@sungjuyea4627 2 жыл бұрын
I think when only considering the syntax of Swift, it is a much more sophisticated version of TypeScript. On the other hand, being an iOS or a macOS developer using Swift is a totally different story. There are tons of APIs you need to learn, and sometimes you should need to read some C/Objective-C codes. But I find the weakest part of this language is the size of its community. There are not many open source projects in Swift and sometimes you should implement your own or you must find alternative libraries written in C/Objective-C.
@randomizednamme
@randomizednamme 2 жыл бұрын
I think this is partly due to differing philosophies between JS and iOS communities. In the iOS world we try and limit the number of dependencies in an app to a small number as it can affect app launch times, not to mention library authors need to update them in a timely manner when Apple breaks shit. So we tend to avoid adding dependencies for small things if possible. This is becoming less true though so if Swift gets wider adoption outside of iOS then I can see this “improving”.
@ben_car_8115
@ben_car_8115 Жыл бұрын
Outside of the Apple ecosystem there is a pretty vibrant Swift backend server community (see Vapor)
@leontius5502
@leontius5502 2 жыл бұрын
This was pretty swift, good job man!
@Maartz
@Maartz 2 жыл бұрын
Furthermore, Swift is much more Protocol Oriented., It uses protocols (interfaces) to extends the types of a struct/class. It forces the usage of Structs rather than Classes. Mainly because classes are passed by reference. Hello again mutability. You can also easily extends a built-in protocol by using extensions. And if you want to make a backend application, KItura from IBM and Vapor are great tools to get started!
@ladhibidda
@ladhibidda 2 ай бұрын
protocols = typeclasses generics = polymorphic types structs = product type enums = sum type
@joeseabreeze
@joeseabreeze 2 жыл бұрын
One of the best languages out there. I wish it were more popular outside of the Apple eco
@rahiyansafin449
@rahiyansafin449 2 жыл бұрын
C# please!
@maximcoppieters
@maximcoppieters 2 жыл бұрын
I'd absolutely love a full tutorial i've wanted to use it for a long time
@red010182
@red010182 2 жыл бұрын
The best part of Swift is protocol and extensions. It's pity that they're not mentioned in this video.
@aniketfuryrocks
@aniketfuryrocks 2 жыл бұрын
Indeed, Swift is a very good language, on power with rust and go. Had it been for the language to be loosely coupled with apple, it would have seen better adoption on multiple platforms and environments.
@parev_arav
@parev_arav 2 жыл бұрын
> on power with rust and go Largely depends on the context. Rust and Go are in different leagues of there own, e.g. Go would not be the language to implement a kernel. > loosely coupled with apple,it would have seen better adoption on multiple platforms Not sure I agree. If we look at Kotlin, which is not loosely but **largely** coupled with Android development, Stack Overflow Developer Survey shows Kotlin as more loved than Swift. In the same vein as Swift, Kotlin supports multiple platforms via its Kotlin Native via LLVM, the same compiler toolchain as Swift. I think Swift is a very fine language, but I'm not sure if it innovates more than other languages, hence why it's stagnated in adoption outside of iOS.
@saadisave
@saadisave 2 жыл бұрын
@@parev_arav The Swift developers do not prioritise multi-platform support, which is a design goal for Kotlin. That alone explains the difference.
@MrHamsterbacke756
@MrHamsterbacke756 2 жыл бұрын
@@parev_arav Why do you think Kotlin is largely coupled with Android development? Kotlin is pretty popular for backends too.
@DaddyFrosty
@DaddyFrosty 2 жыл бұрын
man macOS truly has some of the best forced rendering options you can instantly tell ur writing code in macos cuz of how smooth the font is.
@Basil.01_
@Basil.01_ 9 ай бұрын
Hello Sir, I have two questions 1. Can I learn Swift as my first programming language? 2. Can I learn Swift without any Apple device(Macbook, iPhone, iPad)?
@PetrovichErochin
@PetrovichErochin 6 ай бұрын
You can learn swift as a first language and Apple has an app for iPad for this: Swift Playgrounds. You can still learn without any apple product, but you would have a Linux machine because swift doesn't have a compiler for windows yet. If it doesn't suit you, I would recommend more classical lanugage like C++, C# or Java/Kotlin as a first language
@casadogaspar
@casadogaspar 2 жыл бұрын
I think you missed the point when not talking about POP (Protocol Oriented Programming), that is one of the biggest features in Swift. It's so easy to abstract stuff and decouple your code, SOLID principles are so easy to follow. and everything is testable with low effort.
@ci6516
@ci6516 11 ай бұрын
Ok time to update git and resume .. -knowledgeable and skilled in swift programming
@fiveoneecho
@fiveoneecho 2 жыл бұрын
Swift is one of my favorite languages to write in, although I've only built like two projects with it and usually am using C++ or Java.
@ProjSHiNKiROU
@ProjSHiNKiROU 2 жыл бұрын
Programming language design variations across multiple languages (Swift/ES6/Rust/F#): var/const/let/‘let mut(able)’ and fn/fun/func/function
@wlockuz4467
@wlockuz4467 2 жыл бұрын
As a mobile developer, I like it when big companies accept that their current language is not up to the mark and create something new from scratch instead of just patching the old and creating more drawbacks than benefits. Google did exactly this with Java and Kotlin for Android!
@vibovitold
@vibovitold Жыл бұрын
no, they didn't do "exactly" this. Kotlin was created by JetBrajns, not by Google. Google adopted it as an official language for Android, and contributed to its development, but they didn't create it, much less "from scratch".
@sjn_
@sjn_ 2 жыл бұрын
Find someone who loves you as much as Jeff loves One Dark theme
@naahh4498
@naahh4498 2 жыл бұрын
Who doesn’t love dark theme?
@sjn_
@sjn_ 2 жыл бұрын
@@naahh4498 I didn't only say dark theme, I'm specifically talking about One Dark theme from Atom which you can see in all Fireship videos.
@vin5718
@vin5718 2 жыл бұрын
The video is very good but Swift has a couple strong points probably personally should get more spotlight on like structs which is a much lightweight approach for representing data, the new concurrency features with async/task, tasks, and actor model, protocol oriented programming allowing seem-less composition with extensions and type constraints. Those are strong points for me personally. Still great video though 👍
@randomizednamme
@randomizednamme 2 жыл бұрын
Swift has a lot of features, hard to fit into 100 seconds ;)
@legenddairy8346
@legenddairy8346 Жыл бұрын
watching this, I learned so much more about swift than in the past two days of trying to learn from tutorials 😨
@iOSAcademy
@iOSAcademy 2 жыл бұрын
Great video!
@virtualscale
@virtualscale 2 ай бұрын
here we are 2 years later, I with I could pay you guys. You lit taught us how to code.. for freeee.
@Leuel48Fan
@Leuel48Fan 6 ай бұрын
Clean syntax, very similar to Kotlin. Both mobile platforms (Android/iOS) have nice underlying development languages
@orc13a
@orc13a 2 жыл бұрын
These short videos about languages and other things are golden. Keep them coming 🤩🤩
@ch4r4cter
@ch4r4cter Жыл бұрын
Why doe this look like JS and Python combined?
@pookiepats
@pookiepats 5 ай бұрын
Hmm i wonder why it looks like the two most popular languages on earth…HMMM HOW DID THIS HAPPEN HMMMMMM
@alltaxationrequirescops
@alltaxationrequirescops 2 ай бұрын
Never insult Swift like that again
@ckingpro
@ckingpro Жыл бұрын
Objective C wasn't used by Apple since the 1980s. Only NEXT used it. Apple used Pascal for the old Mac OS (before Mac OS X), but after buying NEXT, Objective C came along with it for Mac OS X
@bobbyv3
@bobbyv3 Жыл бұрын
Swift really is a great language. My favorite to code in.
@mcj1m_noonewillfindthis
@mcj1m_noonewillfindthis 2 жыл бұрын
Hey, could we get a 100sec video of an esoteric programming language? I think it would be quite fun...
@daleryanaldover6545
@daleryanaldover6545 2 жыл бұрын
speaking of which, youtube just recommend me watching chicken and brainf*ck esoteric languages
@anata.one.1967
@anata.one.1967 6 ай бұрын
I will never write if (maybe == nil), but I appreciate you writing like that for those who are from C++.
@ibukunokunoye4795
@ibukunokunoye4795 2 жыл бұрын
Switft and Kotlin are so similar, wow!
@hurensohn7605
@hurensohn7605 2 жыл бұрын
I really hope the language gains sole track outside of the apple ecosystem. I love it so much.
@prhasn
@prhasn 2 жыл бұрын
Wow! I thought I was watching an overview about the language not an actual comprehensive crash course. I am speechless.
@mcritz46vl
@mcritz46vl Жыл бұрын
I love Swift: use it daily. I think Swift developers need a Fireship joke-summary of Swift so we can laugh at ourselves. Especially because our once tidy, slick language keeps getting more esoteric than a Murakami novel.
@AbhinavKulshreshtha
@AbhinavKulshreshtha 2 жыл бұрын
So basically an apple version of Kotlin language. I know there are differences but basic language stuffs feels similar.
@daycred
@daycred 2 жыл бұрын
i love how seriously you say "multi paradigm language" every time :D
@Ihavetoreturnsomevideotapes
@Ihavetoreturnsomevideotapes 2 жыл бұрын
*Spring in 100 seconds*
@samyogdhital
@samyogdhital 2 жыл бұрын
Fireship literally explaining the full basics of any technologies within 100 seconds.💥
@bity-bite
@bity-bite 2 жыл бұрын
C# next please
@peopleofourtime2523
@peopleofourtime2523 2 жыл бұрын
Awesome video! If you do one for C#, please don't tie it down to Unity. It is much more than that. The Unity compiler is extremely outdated.
@OcnarfPro
@OcnarfPro 2 жыл бұрын
Please, C# is only Unity
@peopleofourtime2523
@peopleofourtime2523 2 жыл бұрын
@@OcnarfPro That’s like saying C++ is only for Unreal Engine and Lua is only for Roblox games
@OcnarfPro
@OcnarfPro 2 жыл бұрын
@@peopleofourtime2523 it is tho
@peopleofourtime2523
@peopleofourtime2523 2 жыл бұрын
@@OcnarfPro :|
@BrianHarris
@BrianHarris 2 жыл бұрын
@@OcnarfPro Unity is a engine that supports the C# language natively. C# is not only Unity. C# is used in web applications, desktop applications, console apps, windows services, etc. C# as a language pre-dates the creation of Unity by 4 years.
@Librax1110
@Librax1110 2 жыл бұрын
Amazing job as always! Can you do a "R in 100 seconds" video?
@johnswanson217
@johnswanson217 2 жыл бұрын
What a coincidence! I was considering learning swift for a lottie implementation on RN ios. By the way, how about some JS animation library in 100sec?
@pedroelton7040
@pedroelton7040 Жыл бұрын
Green Sock and Framer Motion would be great!
@lonelybud
@lonelybud 2 жыл бұрын
first time saw swift in action. Seems so cool and easy to get started with.
@limo9402
@limo9402 2 жыл бұрын
For a intuitive guy like me this sound so interesting better than any other coding language because easy coding language is actually more advanced if you really think about it. Nice, one Steve jobs
@angeltorres7048
@angeltorres7048 4 ай бұрын
Steve jobs didn't have any involvement in its development. It was introduced way after his passing.
@manin1
@manin1 Жыл бұрын
I always watch your video to know about concept of any programming , thank for you making amazing video.
@sithumvikasitha8811
@sithumvikasitha8811 3 ай бұрын
I still stucked in between swift and dart can I get an advice about what should I master and continue?
@jacobyoung2045
@jacobyoung2045 2 жыл бұрын
Fireship can never run out of videos
@promptagonist
@promptagonist 2 жыл бұрын
can you make a 12 minute long video on swift?
@rishavagrawal8861
@rishavagrawal8861 2 ай бұрын
This is my first time seeing swift language syntax but I feel the syntax closely comparable to Kotlin.
@xtopy9145
@xtopy9145 2 жыл бұрын
I've been considering playing with swift for a while now. This video made it soo incredibly easy to get some grip. You made it seem incredibly similar to JavaScript which greatly helps take off some edge. I love how you explain things. Looking forward to a 'Beyond 100 seconds' with swift :) cheers!
@cryonim
@cryonim 2 жыл бұрын
When we say 'crossplatform' we exclude mac and the entire apple family, because apparently you need a mac/iphone to get your app working on them. Most people can't afford that or just don't like mac/iphone so the dev ecosystem isn't as fast moving as the web/android.
@whoman7489
@whoman7489 2 жыл бұрын
one of these codes can easily be passed as typescript… i’m actually baffled by how syntactically similar they are!
@MercyFromOverwatch2
@MercyFromOverwatch2 2 жыл бұрын
Jeff is still my favourite tech youtuber
@danielwatson6529
@danielwatson6529 2 жыл бұрын
i learned swift as my first language- now i pick up new ones dead easy
@WilbertVerayin
@WilbertVerayin 2 жыл бұрын
Well, Quasar can have a single codebase for Mobile(Andriod, IOS), PC(Windows, Mac, Ubuntu), and web browsers. I'd love to see a 100 seconds video for that.
@goswami7275
@goswami7275 2 жыл бұрын
Great video! Could you do a Quasar in 100 seconds please?
@johnsnow1749
@johnsnow1749 8 ай бұрын
Odd that they chose to exclude Protocols and Extensions. I think it's part of what makes it so great.
@TriNguyen-ym3hf
@TriNguyen-ym3hf 2 жыл бұрын
So this is kotlin of ios world, both lamguage are pretty the same. Im familliar with kotlin so I hope that learning swift will not so harsh :)
@abh1yan
@abh1yan 2 жыл бұрын
1 million soon
@Fireship
@Fireship 2 жыл бұрын
Maybe before 2022 if we're lucky!
@naimurhasanrwd
@naimurhasanrwd 2 жыл бұрын
Like this video a lot. Great work! ❤️
@erlicthemad
@erlicthemad 2 жыл бұрын
The parts I like is the type safety, and the memory safety. Many common bugs in other languages don’t make it past the compiler here. With the addition of a sync await. It just got hugely better. There is still 1 surviving web backend that is pretty good. Great if you want nearly bulletproof middle wear.
@BitBrain0
@BitBrain0 2 жыл бұрын
No mention of protocols?! I know there is a lot to cover in 100 seconds, but POP is at the core of Swift.
@abbashussain7298
@abbashussain7298 2 жыл бұрын
wasn’t expecting this one but i am pleasantly surprised
@HungNguyen-pu1dv
@HungNguyen-pu1dv 2 жыл бұрын
I used to think that swift could only run on Mac. Thank you so much
@aspeno5613
@aspeno5613 Жыл бұрын
fantastic thank you! I'm so tired of sitting through 10 minute videos that try to teach me how to code again
@JaySlimCodes
@JaySlimCodes Жыл бұрын
I mastered swift in 100 seconds. Thank you
@toxaq
@toxaq 2 жыл бұрын
I’m glad they made ‘let’ mean const because otherwise it would just be typescript.
@connorgreene8834
@connorgreene8834 2 жыл бұрын
I would like to see Haxe in 100 seconds, It allows you to compile your Haxe code to java,cpp,lua,php and is very usefull to make a full-stack application
@anthonymikinka
@anthonymikinka 2 жыл бұрын
So you can run and build swift apps in visual studio code on windows?? That’s nuts
@phucnguyen0110
@phucnguyen0110 2 жыл бұрын
Finally, thank you, Jeff!
@abh1yan
@abh1yan 2 жыл бұрын
Report
@trappedcat3615
@trappedcat3615 2 жыл бұрын
"let" in JS should have signified a constant like in Swift. Scope or block keyword should be used instead of the let JS.
@HeyItsHades
@HeyItsHades 2 жыл бұрын
Just use const
@christiansimbarashe
@christiansimbarashe 2 жыл бұрын
May we have an Objective - C in 100 seconds video?
@samuel01411
@samuel01411 2 жыл бұрын
If I recall correctly you can call C or objective C with swift
@DimitrisSartzetakis
@DimitrisSartzetakis 2 жыл бұрын
Yes for example you can put an “@objc” above a function to make it an objective c one
@lanceang795
@lanceang795 2 жыл бұрын
My man makes every language the best
@ermiasbunaro
@ermiasbunaro 2 жыл бұрын
Thanks, Awesome content. The full swift tutorial would be amazing.
VS Code in 100 Seconds
2:34
Fireship
Рет қаралды 1,1 МЛН
How to code in Swift | Swift Basics #1
18:25
Swiftful Thinking
Рет қаралды 46 М.
Incredible Dog Rescues Kittens from Bus - Inspiring Story #shorts
00:18
Fabiosa Best Lifehacks
Рет қаралды 35 МЛН
小丑和白天使的比试。#天使 #小丑 #超人不会飞
00:51
超人不会飞
Рет қаралды 34 МЛН
LLVM in 100 Seconds
2:36
Fireship
Рет қаралды 858 М.
Swift 5.9 Released | Prime Reacts
14:36
ThePrimeTime
Рет қаралды 68 М.
10 regrets of experienced programmers
8:16
Fireship
Рет қаралды 1,3 МЛН
I built an Apple Vision Pro app... visionOS tutorial
9:19
Beyond Fireship
Рет қаралды 541 М.
Why I *highly dislike* iOS Development
10:38
mayuko
Рет қаралды 347 М.
Learn To Code Like a GENIUS and Not Waste Time
9:41
The Coding Sloth
Рет қаралды 1,5 МЛН
STOP Learning These Programming Languages (for Beginners)
5:25
Andy Sterkowitz
Рет қаралды 689 М.
Python vs Swift | Prime Reacts
19:44
ThePrimeTime
Рет қаралды 75 М.
Front-end web development is changing, quickly
3:43
Fireship
Рет қаралды 822 М.
everything is open source if you can reverse engineer (try it RIGHT NOW!)
13:56
Low Level Learning
Рет қаралды 1,4 МЛН