I love the kids that say "First reply" EDIT: They can't do that now :)
@johntony3663 жыл бұрын
Do C# pleaseeee
@pilearn12663 жыл бұрын
Swift is love ❤️
@rishabsharma53073 жыл бұрын
Can you make a video on "How to research like a pro"
@JB-fh1bb3 жыл бұрын
I appreciate this joke
@Ma1ne23 жыл бұрын
Anyone else wanting to see LLVM in 100 seconds?
@carlwestman93433 жыл бұрын
Was just going to write this!
@davidjensen62153 жыл бұрын
Oh yes plz!
@hamadrehman8533 жыл бұрын
absolutely
@xgxfhzxfuhfjgfhgf3 жыл бұрын
yes
@mastermati7733 жыл бұрын
Comm of support.
@saeedbaig42493 жыл бұрын
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.
@randomizednamme3 жыл бұрын
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
@farhandikazahrir66572 жыл бұрын
@@randomizednamme even without async await, it's a great language. but the adoption rate tho, low
@adlsfreund2 жыл бұрын
@@randomizednamme better memory management and generics improvements are on the way now too!
@markuspfeifer84732 жыл бұрын
@@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
@markuspfeifer84732 жыл бұрын
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!
@jeanjpnm3 жыл бұрын
"It uses automatic reference counting to manage memory automatically" _proceeds to show memory that will never be released_
@lanye27083 жыл бұрын
the best part is you can't tell if he's joking or not
@31redorange083 жыл бұрын
@@lanye2708 I can. He isn't.
@codediporpal3 жыл бұрын
@@lanye2708 He likes to throw in these little easter eggs.
@elmomertens3 жыл бұрын
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 🥳
@HDSQ3 жыл бұрын
Are protocols like interfaces in Java and C#? How do they work?
@UltravioletMind3 жыл бұрын
@@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)
@georgeelsham3 жыл бұрын
@@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.
@tanaykamath14153 жыл бұрын
@@UltravioletMind looks like Kotlin extension functions
@mainaksengupta62483 жыл бұрын
You have successfully sold me to pick up swift, thank you good person on the internet.
@pelicanoe3 жыл бұрын
Swift is really underappreciated as just being a good and modern programmming language
@tanaykamath14153 жыл бұрын
The issue is that one needs a mac inorder to build native iOS apps
@swordz23303 жыл бұрын
@@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
@OcnarfPro3 жыл бұрын
@@tanaykamath1415 I installed macOS on roblox
@select_from_users58423 жыл бұрын
@@aayushtheapple arch users are the vegans of Linux
@aayushtheapple3 жыл бұрын
@@select_from_users5842 damn true
@paragjyotideka12462 жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
@@mad_t lol, have you used android studio?
@l_ravid4 ай бұрын
@@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.
@joecardenas70153 жыл бұрын
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.
@farhansangaji50293 жыл бұрын
Great language in overall, thanks for the explanation. It feels like i got more in this 100 seconds than me procrastinating the whole day
@abh1yan3 жыл бұрын
@Rafly Tzy report
@farhansangaji50293 жыл бұрын
@@abh1yan roger
@ssholum3 жыл бұрын
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.
@abh1yan3 жыл бұрын
@@ssholum bravo
@farhansangaji50293 жыл бұрын
@@ssholum bravo
@everyhandletaken3 жыл бұрын
Awesome timing, was recently giving Swift some thought, as my next unnecessary play thing 🤓
@georgeelsham3 жыл бұрын
I would definitely recommend it!
@abh1yan3 жыл бұрын
Report
@WillAmaral293 жыл бұрын
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.
@oluwolegideon39683 жыл бұрын
Same here...
@everyhandletaken3 жыл бұрын
@@WillAmaral29 😂 😂 I thought it was just me that does that- glad I’m not alone ☺️
@MhdSamad963 жыл бұрын
Great video 👍 A small detail is that at 1:25, it should be “colon” instead of “semicolon”
@max_mittler Жыл бұрын
thanks, watched that part five times thinking I was missing it
@sinisterrectus Жыл бұрын
yeah i too noticed that
@leo-hao2 жыл бұрын
i know its a series, but this was the perfect opportunity to name the video "Swift, swiftly"
@urk52042 жыл бұрын
Swift is easily one of my favorite programming languages. It being protocol-oriented really helps as well
@PetePeteRepeat3 жыл бұрын
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!
@zakharkholboiev8423 жыл бұрын
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
@alex283d3 жыл бұрын
If your critical rendering path takes 100 seconds, you might have a performance problem!
@boiimcfacto23643 жыл бұрын
The day Jeff makes repaint/reflow in 100 seconds is the day newbies will be able to steal my job, so no thanks XD
@zakharkholboiev8423 жыл бұрын
🤔
@Gregorius4213 жыл бұрын
Exquisite choice of topics.
@shinomitsu77983 жыл бұрын
You know your content is awesome when people thank you for making them spend money. Just bought lifetime access. Thank you Jeff
@JulianShalaby7 ай бұрын
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.
@maximcoppieters3 жыл бұрын
I'd absolutely love a full tutorial i've wanted to use it for a long time
@Pho3nixHun3 жыл бұрын
The syntax is insanely similar to Typescript.
@bob_kazamakis3 жыл бұрын
The swift “let” === js “const” definitely trips me up a lot
@thespacejedi3 жыл бұрын
It's even more similar to kotlin
@sergten3 жыл бұрын
I was gonna say.
@bakedbeings3 жыл бұрын
Also like Nim
@ДмитрийР8ж2 жыл бұрын
@@thespacejedi it's rather the other way around, Kotlin is similar to swift
@escapadechannel83793 ай бұрын
Now i a fully fledged IOS swift developer after this tutorial thanks man.
@jaeyoungchoi3 жыл бұрын
If it weren't for Swift, I would not have even touched iOS development. Objective C is downright unenjoyable to look at
@joeseabreeze3 жыл бұрын
One of the best languages out there. I wish it were more popular outside of the Apple eco
@liamveary3 жыл бұрын
Please do Lua in 100 seconds!
@artoshia3 жыл бұрын
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!))
@OcnarfPro3 жыл бұрын
@@artoshia roblox lua
@fiveoneecho2 жыл бұрын
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.
@Gregorius4213 жыл бұрын
"Congratulations! Your app is now ready to seek approval on the apple appstore." The main lesson 😂
@sungjuyea46273 жыл бұрын
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.
@randomizednamme3 жыл бұрын
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 Жыл бұрын
Outside of the Apple ecosystem there is a pretty vibrant Swift backend server community (see Vapor)
@leontius55023 жыл бұрын
This was pretty swift, good job man!
@harunadess3 жыл бұрын
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.
@rahiyansafin4493 жыл бұрын
C# please!
@chinmayk80043 жыл бұрын
Swift seems like the perfect high-performance version of JS! Amazing vid Fireship!!
@paragjyotideka12462 жыл бұрын
It is. And Swift UI is insanely similar to React/React Native.
@Maartz3 жыл бұрын
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!
@ladhibidda5 ай бұрын
protocols = typeclasses generics = polymorphic types structs = product type enums = sum type
@red0101822 жыл бұрын
The best part of Swift is protocol and extensions. It's pity that they're not mentioned in this video.
@ci6516 Жыл бұрын
Ok time to update git and resume .. -knowledgeable and skilled in swift programming
@AMIRBENDABI3 жыл бұрын
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.
@bobbyv3 Жыл бұрын
Swift really is a great language. My favorite to code in.
@orc13a3 жыл бұрын
These short videos about languages and other things are golden. Keep them coming 🤩🤩
@lonelybud3 жыл бұрын
first time saw swift in action. Seems so cool and easy to get started with.
@sjn_3 жыл бұрын
Find someone who loves you as much as Jeff loves One Dark theme
@naahh44983 жыл бұрын
Who doesn’t love dark theme?
@sjn_3 жыл бұрын
@@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.
@ibukunokunoye47953 жыл бұрын
Switft and Kotlin are so similar, wow!
@Librax11103 жыл бұрын
Amazing job as always! Can you do a "R in 100 seconds" video?
@daleryanaldover65453 жыл бұрын
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?!
@bakedbeings3 жыл бұрын
Thing you can do != most common use case
@aniketfuryrocks3 жыл бұрын
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.
@hi_arav3 жыл бұрын
> 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.
@saadisave3 жыл бұрын
@@hi_arav The Swift developers do not prioritise multi-platform support, which is a design goal for Kotlin. That alone explains the difference.
@MrHamsterbacke7563 жыл бұрын
@@hi_arav Why do you think Kotlin is largely coupled with Android development? Kotlin is pretty popular for backends too.
@AkshatSinghania3 жыл бұрын
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
@illuzati3 жыл бұрын
Underrated comment
@lanceang7953 жыл бұрын
My man makes every language the best
@jacobyoung20453 жыл бұрын
Fireship can never run out of videos
@iOSAcademy3 жыл бұрын
Great video!
@legenddairy8346 Жыл бұрын
watching this, I learned so much more about swift than in the past two days of trying to learn from tutorials 😨
@megh.8353 жыл бұрын
Great video! Could you do a Quasar in 100 seconds please?
@daycred3 жыл бұрын
i love how seriously you say "multi paradigm language" every time :D
@naimurhasanrwd3 жыл бұрын
Like this video a lot. Great work! ❤️
@ProjSHiNKiROU3 жыл бұрын
Programming language design variations across multiple languages (Swift/ES6/Rust/F#): var/const/let/‘let mut(able)’ and fn/fun/func/function
@casadogaspar2 жыл бұрын
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.
@johnswanson2173 жыл бұрын
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?
@pedroelton70402 жыл бұрын
Green Sock and Framer Motion would be great!
@abbashussain72983 жыл бұрын
wasn’t expecting this one but i am pleasantly surprised
@Basil.01_ Жыл бұрын
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)?
@PetrovichErochin9 ай бұрын
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
@Realbdjb Жыл бұрын
Best programming language for apps.
@vin57183 жыл бұрын
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 👍
@randomizednamme3 жыл бұрын
Swift has a lot of features, hard to fit into 100 seconds ;)
@MercyFromOverwatch23 жыл бұрын
Jeff is still my favourite tech youtuber
@bity-bite3 жыл бұрын
C# next please
@prhasn3 жыл бұрын
Wow! I thought I was watching an overview about the language not an actual comprehensive crash course. I am speechless.
@sh1w5z18 күн бұрын
thanks there was confusion between swift and Xcode.
@JaySlimCodes Жыл бұрын
I mastered swift in 100 seconds. Thank you
@yuvrajsorathiya36452 жыл бұрын
please upload a full course of it pleaseeeeee
@antibioticaddict3 жыл бұрын
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.
@OcnarfPro3 жыл бұрын
Please, C# is only Unity
@antibioticaddict3 жыл бұрын
@@OcnarfPro That’s like saying C++ is only for Unreal Engine and Lua is only for Roblox games
@OcnarfPro3 жыл бұрын
@@antibioticaddict it is tho
@antibioticaddict3 жыл бұрын
@@OcnarfPro :|
@BrianHarris3 жыл бұрын
@@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.
@phucnguyen01103 жыл бұрын
Finally, thank you, Jeff!
@abh1yan3 жыл бұрын
Report
@danielwatson65292 жыл бұрын
i learned swift as my first language- now i pick up new ones dead easy
@manin1 Жыл бұрын
I always watch your video to know about concept of any programming , thank for you making amazing video.
@DaddyFrosty2 жыл бұрын
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.
@JohnWasinger Жыл бұрын
1:50 Functions are first class objects. I hear that term used frequently in your videos. Does that just mean that they can be passed in as an argument? Are they passed in by reference?
@uttiya103 жыл бұрын
I was waiting for this video!! 🔥
@promptagonist3 жыл бұрын
can you make a 12 minute long video on swift?
@HungNguyen-pu1dv3 жыл бұрын
I used to think that swift could only run on Mac. Thank you so much
@Leuel48Fan9 ай бұрын
Clean syntax, very similar to Kotlin. Both mobile platforms (Android/iOS) have nice underlying development languages
@Voided23 жыл бұрын
damn good timing i was just thinking about learning swift but now i really want to
@whoman74893 жыл бұрын
one of these codes can easily be passed as typescript… i’m actually baffled by how syntactically similar they are!
@thatoneguy229OG3 жыл бұрын
I love these "... in 100 seconds" videos! I would really like to see one on Nim as well!
@ckingpro2 жыл бұрын
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
@limo94022 жыл бұрын
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
@angeltorres70487 ай бұрын
Steve jobs didn't have any involvement in its development. It was introduced way after his passing.
@samyogdhital3 жыл бұрын
Fireship literally explaining the full basics of any technologies within 100 seconds.💥
@anata.one.19679 ай бұрын
I will never write if (maybe == nil), but I appreciate you writing like that for those who are from C++.
@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.
@br19_yt3 жыл бұрын
Adding swift to my resume…
@samuel014113 жыл бұрын
If I recall correctly you can call C or objective C with swift
@DimitrisSartzetakis2 жыл бұрын
Yes for example you can put an “@objc” above a function to make it an objective c one
@nabbikill3 жыл бұрын
You should have mentioned procedures! They are pretty cool
@AbhinavKulshreshtha3 жыл бұрын
So basically an apple version of Kotlin language. I know there are differences but basic language stuffs feels similar.
@erlicthemad3 жыл бұрын
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.
@anthonymikinka2 жыл бұрын
So you can run and build swift apps in visual studio code on windows?? That’s nuts
@abdorizak3 жыл бұрын
Thanks for coming Legend 🤤
@ryno4ever4332 жыл бұрын
Thanks for the swift breakdown.
@the_ebdm3 жыл бұрын
Any plans for a Swift course on Fireship for Pro members like myself?
@ermiasbunaro3 жыл бұрын
Thanks, Awesome content. The full swift tutorial would be amazing.
@conciergeai_com_mx5 ай бұрын
here we are 2 years later, I with I could pay you guys. You lit taught us how to code.. for freeee.
@WilbertVerayin3 жыл бұрын
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.
@sunshine-uh5bn3 жыл бұрын
Thank you! 😊🧡 Your channel and videos are awesome
@Milk-yi9hg3 жыл бұрын
I would love if you did Lua in 100 seconds!
@trappedcat36153 жыл бұрын
"let" in JS should have signified a constant like in Swift. Scope or block keyword should be used instead of the let JS.
@HeyItsHades3 жыл бұрын
Just use const
@kangalio3 жыл бұрын
0:43 Kotlin is built on LLVM?! How can that be when Kotlin emits JVM bytecode
@chris-hu7tm Жыл бұрын
never used swift but I get the impression that its not really fast
@aaronmineen55113 жыл бұрын
Thanks for the video, Jeff. I'm still waiting for the C# video, please.