Before we
start writing Swift code let's talk about what Swift is and give you a brief
history of what exactly is going on before we start learning good language so
Swift is relatively new it back to WWDC was a wonderful announcement that 2014
like the developers that No clue was looking at the announcements here It’s
like a whole new language changing everything in 2014 like sacred buyers when
the engineers at Apple did what Swift did when it was announced Did they all
accept it? Objective-C and
With all
their previous knowledge of C you know 30 year olds and they did all their
research about new and modern language and where things are going and they took
them and they created Swift Apple next generation programming language which
many people now always ask me for their future. You know it's a niche
programming language you know JavaScript or Python but it's a niche so many
people ask me if I'm
Any iOS
developer limits my career choices and I always say like this a Swift developer
or iOS developer or whatever you want to call you you are tying Apple to the
carrier and unless you believe that Apple is not going anywhere it takes a long
time Turns out everything you know on an RVR is heading in the right direction.
I think it's pretty safe to talk about safety. Sigues. I mean the Swiss main
point of sale. It's kind of like it's just a safe language.
Security
Content That You Don't Know Can't Be Canceled If You Don't Use It Swift One
of the great things about Swift is that you want to have a lot of new
programmers as recently as desired Errors during compilation are not runtime
errors Programmer means nothing to you Which means Swift gives you errors when
writing your essay. When the code is compiled to Xcode, runtime errors. You
don't know. Errors until the app crashes.
Lots
of compilation errors before you can build your app with Let's go through
Swift's very short history Let's go back to 2014 It was announced in just the
last few years Let us know how fast it has evolved in the early days and the
reason Swift changed a bit and very quickly As a new startup Swift developer
you should know this because if you find a blog post or possibly a stack
overflow answer or something that the resource is old and it has been updated
since you 2015
You know it
can cause you a lot of problems because there are a lot of changes in 2014 15
16 17 but the good news is that the change is starting to slow down and the
Swift is slowly starting to mature just like I said before it was a surprise in
2015 Prior to the announcement, Swift 2.0 was announced in 2015 and it was also
announced at WWDC in 2015 that Swift would go open source later this year and
finally ended with open source Swift 2.2 in December 2015. Now open source was
a big issue.
Because it
means iOS as a whole developing community can automatically contribute to the
Swift language if you ever want to go to Swift org to look for forums and see
the forums that will now be applied to Swift Don't get me wrong it's like most
heavy language implementation details it's even my Head over heels, but if
you're interested in how the language is built or you know what's new in that
language, it was a big deal to go open source now, but in 2001 Swift 3
Came out and
it was a huge deal that was dubbed in the name of great naming. Originally what
happened between Swift 2 and Swift 3 was a ton of brakes changed to Swift's API
so it's a nightmare to convert two Swift codes to a Swift three code Base Base
because a lot has broken down and so much has changed but the Swift 3 to Swift
3 kind of band-support was like spreading to the right it was just a ton of
pain there but you know the Swift for the Swift 3 2 for the Swift 5 and the
upcoming so 5's Swift 6 compared to 2
There was a
breeze compared to that they somehow got all the pain on the way from Swift 2
if you look at old resources or old blog posts then Swift 3 was made in Swift
to stay away from it but as I said after big Swift 3 the pain is so smooth The
ship was Swift 4 out in 2017 but the latest big issue of sorts for Swift was
published in WWDC so again up to 4 releases each dub dub which was in June
every year we will get a new Swift so 3 Swift is good because if its
The latter
kind of slowed down and you know WWDC 2018 was fast 4.2 and it slowed down and
they recently announced with Swift.com's roadmap you know there's no big year
release when it's ready to release which is great I like Do because it almost
seemed like they were featured in the King language to create the annual
release cycle and you know they kind of learned and said you know the Swiss Six
will be released when it doesn't have a release date ready it will come again
you know the change is coming too Not big broken
The changes
show that the language is mature and because the language is mature we are
starting to see it leaked for non-Apple native platforms. Example of learning
Google machine through tensorflow is now done in Swift which is one of the main
parts of Chris Latner to create and launch Swift in Apple. The developers back
then moved to Google and brought Swift to TensorFlow, as he also loved Google
very much recently but he switched to Google Swift.
Managing so
you know it's got a good foundation there and now you can also write server
code and Swift Windows is actively working again a young language almost ready
for Swift that you know it may not be on any other platforms however You can
start to see the beginnings of it and if you like it go five to ten years
faster in your mind it looks pretty good now I repeat to go to a bunch of videos
about the basics of the Swift language I want
Make sure
that these are just high-level videos. Many of these topics can be your own,
and at least in more than a decade, become almost a full course. Fifteen minute
video. As I said, this is your first video in the world. But this is a good
foundation for your future education. Speaking of future education, I would
like to suggest a few sources for you. To expand your Swift world, look again.
First, Swift is a book directly from Apple in the programming language.
And we'll
talk about that later in the video for the books, but it's basically a
guidebook for Apple Swift so it's quite technical. I think I should read this
as someone who has never coded before and just drove me fast. Your journey had
to go right over my head However, it is a very valuable piece of information so
I recommend at least check it out but don't be discouraged if you don't find
any of it again. This is a beautiful technical book for newcomers to the
newcomers. Swift Playground
The app and
I must suggest that it is free to download I came out a few years ago and it is
being actively maintained like everyone else for years or so you will see quite
a big update in the app which adds a bunch of new features so the app is still
growing however It's a great way to get started and play around as well as they
work well for things and gaming. A funny video about a real overview like the
Swift website page and then the release of the other one on Suite WWDC in 2014
and you can hear the audience gasping for breath. It's great to go back and see
a brief history of Swift. Let's start writing some code.
No comments:
Post a Comment
Please do not enter any spam link in the comment box.