Swift Programming Tutorial - Full Course for Beginners

  Рет қаралды 384,647

freeCodeCamp.org

freeCodeCamp.org

Күн бұрын

Пікірлер: 191
@lowlydeveloper3693
@lowlydeveloper3693 7 күн бұрын
Just completed! For my needs, this has been the best video Swift tutorial I was able to find anywhere. As Vandad says, the course is not for complete Beginners. It is also not for Advanced Swift learners. It seems most appropriate for Intermediate learners, and it has been perfect for me. Thank you, Sir!
@agedvagabond
@agedvagabond 11 ай бұрын
This is one of the most straight forward tutorials I have seen, I will be searching for the rust course from Vandad next!
@MountainDrew-h3u
@MountainDrew-h3u Жыл бұрын
Outstanding. I’ve written C, C++, C# and Java. This is my first experience at these modern programming paradigms. Your lessons were straightforward and informative. I just finished the last lesson in this course and feel very comfortable with what you’ve covered. I look forward to more of your tutorials. Thank you.
@sabni8668
@sabni8668 Ай бұрын
This will be my second language after basic Java. So happy to see so many similarities and to understand them all. Looking forward to the end of this video for some of the entirely new things
@amaoagou1060
@amaoagou1060 Жыл бұрын
For someone who might wonder why function does not has return keyword @1:13. In swift, it has implicit return when there is only line of code in function body.
@oxysloth2353
@oxysloth2353 Жыл бұрын
>>Here we go again
@angelapeng3026
@angelapeng3026 Жыл бұрын
I would like to correct one point in the operators section. The operator && has higher precedence over ||. The values next to && get evaluated first from left to right. So the example was true && false -> false && true -> false || true -> true.
@anon-a-moss8960
@anon-a-moss8960 25 күн бұрын
Just finished the course! Super underrated!
@boots7859
@boots7859 Ай бұрын
Appreciate the video. Only issue is right from the beginning the explanation on Vars/Constants seems exceedingly long and confusing for a beginner. Explain a variable, and then explain a constant. Mutability and Immutability as they refer to each. I know this is for beginners, however in trying to not confuse/overload someone new to programming it doesn't help to ramble on versus being concise.
@luxelivez
@luxelivez Жыл бұрын
Really helpful and pretty easy to follow. Thanks for uploading tutorials in several different languages!❤
@Nyokee
@Nyokee Жыл бұрын
Everything is explained really well from the ground up, this is absolutely brilliant.
@PYC1898
@PYC1898 6 ай бұрын
It's not true that "elements with the same hash value cannot exist in the same Set". In fact, the Set will first perform a pre-check using the hash values. If two elements e1 and e2 have the same hash value, it will further check whether `e1 == e2`. If they are not equal, then e1 and e2 can certainly coexist in the same set.
@helloworldfromvn
@helloworldfromvn Жыл бұрын
How come you guys always publish videos that I am currently in great need of? it’s like you can read my mind 😂
@mar1o0o0o
@mar1o0o0o Жыл бұрын
Trying to learn Swift: Day 1: 14:38 (just wanted to get started)
@alch8485
@alch8485 5 ай бұрын
bro quit
@shardhayvatshyayan6741
@shardhayvatshyayan6741 Жыл бұрын
Vandad is a great tutor , you'll find a lot on his KZbin channel which is regularly updated.
@dannyle465
@dannyle465 Жыл бұрын
great content, please put on subtitles for people to easily understand.
@freesoftwares6042
@freesoftwares6042 Жыл бұрын
I agree
@EmirJesus1
@EmirJesus1 Жыл бұрын
KZbin has this option it’s the CC on the bottom right of the screen
@Boghost1430
@Boghost1430 Жыл бұрын
Thanks for the video as always, could you make a swift UI full course to complete this one pls 👍
@fahmidhasan1459
@fahmidhasan1459 Жыл бұрын
i think this is world's best KZbin channel to Learn programming
@gabrielkime6597
@gabrielkime6597 10 ай бұрын
This tutorial is okay, but I wanted to give some constructive feedback as someone coming from a javascript background. So far I've found some of the lack of context frustrating. It would be helpful for me personally to hear more about the "why" and not just the "how". For example, when is it appropriate to use an enum vs another named type, say a class? I also found the explanation of closures pretty confusing, you were using them like callbacks are used in Javascript. I've always thought of closures as specifically having to do with accessing variables/data inside the closed over the lexical scope of an outer function from within an inner function. Is the concept different in swift? Anyway, i'm going to keep going, but I think pairing the data with the functionality so to speak would really elevate your teaching further!
@kam2ube
@kam2ube 6 ай бұрын
Totally agree @gabrialkime6597. No doubt it is a good course for anyone who is a experienced developer. I was enjoying it till it hit the explanation on Closures. Closure implementation might differ between languages but the concept is same. Closures use is to close on some local variables in the outer scope and holds it till the function is called later (whenever needed). The author here simply first create a 'Anonymous function' assigning to a variable. Till this point it is just a normal function as any other but assigned to a variable, then passing it to another function as argument makes the other function a 'High order function'. When it is called with in the high-order function, it is simply a callback NOT a 'Closure'. Genuine 'Closure' would be a function returned by an another function binding to some variable(state) of the parent function. Delivery of Closure part here is some what not correct. It would rather be explained by concepts like HighOrder function and use of anonymous function as a callback.
@samuraijosh1595
@samuraijosh1595 5 ай бұрын
@@kam2ube so lambda functions in Haskell wont count as Closures? do partial functions count as Closures?
@HypeKeyz
@HypeKeyz 10 ай бұрын
It has been a long time since I don't watch a good long very well explained tutorial
@RegiiPad
@RegiiPad Жыл бұрын
Great intentions, too much dumbed-down, sometimes (what happened with boolean expressions for example). Kudos for the approach of playgrounds and the way the course is divided. I could not find the playgrounds published and I don't know that they are.
@leylist
@leylist Жыл бұрын
so many great details i failed to see earlier are here in this video
@joan-mariacbrooks
@joan-mariacbrooks Жыл бұрын
Just beginning this class at my local library so this should be very interesting.
@mohammedmadnei5131
@mohammedmadnei5131 Жыл бұрын
Thank you. You provide the best ways to learn programming. You are the best educational content. I hope you add Arabic translation to your courses.
@JamesBond-ut5iv
@JamesBond-ut5iv Жыл бұрын
As a complete know nothing beginner I just got wrecked. I imagine for someone that's already familiar with some of the terminology this would be solid.
@jamesvanderbilt201
@jamesvanderbilt201 Жыл бұрын
i already knew the basics of javascript and python before this..and it’s still a lot for me. :)
@joan-mariacbrooks
@joan-mariacbrooks Жыл бұрын
Taking this class now at my local library where I also studied HTML/CSS. You're not alone in being wrecked but I'm trying to complile notes on Swift functions similar to those languages i.e., image files. We have the CANVAS book as well as Apple's book from their App Store with a terminology glossary in each, which helps and we have to build a prototype app by Dec. 2. Ain't gonna happen here! Keep at it, JamesBond, you'll get it before I do.
@robotman011
@robotman011 Жыл бұрын
This guy is a pretty good teacher!
@darishsakeesing3907
@darishsakeesing3907 2 ай бұрын
Enjoying the course but I have a feedback: Remove the automatic run. The error messages that keep popping up while you are typing is distracting. Especially in the "closure" chapter
@LouWilliams-o5v
@LouWilliams-o5v Жыл бұрын
i love what you're trying to do. my brain is syrup.
@b.h8733
@b.h8733 18 күн бұрын
Very good tutorial, is there any Full Course for more Advanced programmer?
@neelmouni
@neelmouni 11 ай бұрын
Superb video on swift
@gabriele89
@gabriele89 Жыл бұрын
Why is without subtitles?? Please, can you enable them?
@rusliabdulgani9920
@rusliabdulgani9920 Жыл бұрын
27:40 makeUppercase() is not method of string, but uppercased() instead..
@steffg8351
@steffg8351 10 ай бұрын
Outstandingly good tutorial
@tigana
@tigana Жыл бұрын
Is FCC reading my mind? I just searched up which type of mobile development is best to learn first and decided on Swift😳
@lowlydeveloper3693
@lowlydeveloper3693 10 күн бұрын
This is rather important... Which Xcode (Swift) version is being presented?
@chaudharyhemantrawat8873
@chaudharyhemantrawat8873 Жыл бұрын
Thanks for this amazing course
@lgami
@lgami 3 ай бұрын
After executing the code inside the switch case that matched, the program exits from the switch statement. Execution doesn’t continue to the next case, so you don’t need to explicitly break out of the switch at the end of each case’s code.
@PickNick50
@PickNick50 2 ай бұрын
5:09:20 start of try
@ranasaani
@ranasaani Жыл бұрын
Thank you for this.
@nickpavlov4012
@nickpavlov4012 Жыл бұрын
Very informative! Thank you Waiting for SwiftUI lol
@emehinolasamuel5489
@emehinolasamuel5489 Жыл бұрын
Thank you very much for this course. So helpful and detailed
@ThePhilja
@ThePhilja 9 ай бұрын
Would be nice to know what version of Xcode is used in this video.
@brcerkgr
@brcerkgr 5 ай бұрын
very good tutor . I recommend
@bananasplitd006a5
@bananasplitd006a5 Ай бұрын
Day 1: 8:34
@iam_ahmadhusen
@iam_ahmadhusen Жыл бұрын
Thank you guys!!!
@girishbabu3714
@girishbabu3714 7 ай бұрын
very nice tutorial about the concepts of swift....just for the reference in the future is there any github repo for all the examples you have showed in the video
@ninthsun
@ninthsun Жыл бұрын
Thanks for awesome tutorial!
@ssm2015_ita
@ssm2015_ita Жыл бұрын
I see some similarity with Javascript!
@johanasklund5378
@johanasklund5378 2 ай бұрын
Hello! Quick question. Your right sidebar is showing the elements of your array, I mean it says [30, 20, 19, 40]. For me it says, "Array of 4 int elements". How do I change this so it actually show [30, 20, 19, 40]? Thanks in advance!
@sibadoba
@sibadoba 2 ай бұрын
It does this for me too. I have tried searching everywhere to find out how to change it and have had no luck.
@francescos7361
@francescos7361 Жыл бұрын
Thanks , this contribution is great.
@kwiky5643
@kwiky5643 Жыл бұрын
Great thanks
@dimitri246
@dimitri246 Жыл бұрын
Thanks!
@deepakr_
@deepakr_ Жыл бұрын
Learnt alot from your free channel, love this community for its contribution and perfect Technology contents. Also I wanted to know about AI Testing related course if you have any please suggest the same.
@gooddev506
@gooddev506 Жыл бұрын
are we going to build an app after finishing this course?
@dipanshushrivastava9771
@dipanshushrivastava9771 Жыл бұрын
Amazing video, very helpful
@toruwalt
@toruwalt Жыл бұрын
5th to Comment! 2023 I will be a prominent programmer! Amen!
@watchpanzer6387
@watchpanzer6387 Жыл бұрын
youre the seventh actually
@toruwalt
@toruwalt Жыл бұрын
@@watchpanzer6387 Thanks 😂
@AshishSingh-753
@AshishSingh-753 Жыл бұрын
Solve tech problems professionaly you became prominent effortlessly
@arepitas5019
@arepitas5019 Жыл бұрын
Thanks for the vid!
@vanessayuri8242
@vanessayuri8242 Жыл бұрын
Hello Vandad, I wasn't sure what you were doing around 2:23:35, how does creating a function that returns a boolean value fix that issue
@vanessayuri8242
@vanessayuri8242 Жыл бұрын
Also, around 2:25:33, why are you adding a . before each value
@iamcasted
@iamcasted Жыл бұрын
At 2:23 he changed how == operator behaves by default by creating a function named ==. You probably should never do that and he did that to show capabilities of swift imo
@iamcasted
@iamcasted Жыл бұрын
And same applies to the switch case where he does "case .cat" etc...
@aadilahmed1786
@aadilahmed1786 Жыл бұрын
Damn, Taika Waititi moving mad
@developedbypy
@developedbypy Жыл бұрын
Thank you!
@wes_333
@wes_333 Жыл бұрын
is there anyone who watched the full 7 hours? if yes, is it worth it? 😅
@babatundeonabajo
@babatundeonabajo Жыл бұрын
I'm close to it...currently at 6:25:43 . Personally I don't recommend it. Sean Allen is better. No disrespect to Vandad..
@joan-mariacbrooks
@joan-mariacbrooks Жыл бұрын
@@babatundeonabajo Agreed. I'm watching Vandad because I did FreeCodeCamp's Responsive Web Design program. Tough, but worth it. I'll finish watching this, but Sean explains things a bit better.
@AkimboFennec
@AkimboFennec 7 ай бұрын
No i actually really liked it. He explains stuff just as good as Sean Allen. This is a very good course
@miguelazo1977
@miguelazo1977 Жыл бұрын
Following!
@mahendranath2504
@mahendranath2504 Жыл бұрын
Thank you so much 👍👌💕
@siva_subramaniam
@siva_subramaniam Жыл бұрын
bm - 01:05:08
@dpetruha
@dpetruha Жыл бұрын
Спасибо!
@zlatkoiliev8927
@zlatkoiliev8927 Жыл бұрын
Great tutorial, I have one question as a guy coming from TypeScript world, when I am dealing with data fetched from a backend, json for example, I usually create an interface for the shape of the data. But I see in swift world they use struct for this reason. Is it not more appropriate to use protocols?!?
@andyvandenberghe6364
@andyvandenberghe6364 Жыл бұрын
nice tutorial, but i advise to run it at 1,5x speed.
@RajKumar-wq6hv
@RajKumar-wq6hv Жыл бұрын
Could you do for objective C
@h1inc816
@h1inc816 9 ай бұрын
@22:71 how are you able to get the array contents to appear on the right side of the screen? On mine, it says NSMutablearray and then Array of 2 strings. I have to click this to see the values within the array. Is there a settings change that will automatically display contents inside the array as opposed to the number of values within it? I am running the latest version of XCode
@PYC1898
@PYC1898 6 ай бұрын
sadly it's just because the latest version - Apple removed this feature in Xcode 15.0
@lowlydeveloper3693
@lowlydeveloper3693 10 күн бұрын
Same thing here. It is weird how Apple decides to remove useful and helpful features and replace them with less useful UI. At least I was hoping there is a Setting switch to fix this. But no.
@dixitsaurabh720
@dixitsaurabh720 Жыл бұрын
Any Salesforce video??
@davidtmiller56
@davidtmiller56 11 ай бұрын
Your results show in the right hand pane, as do mine, except when the result is an array. All I see is "Array of 4 Int elements" but you see [19,20,30,40]. Where is the setting to change this?
@jarekjaro7325
@jarekjaro7325 3 ай бұрын
Do I have to create workspace for my project? It's not enough to put the files just in the project's folder?
@KazemKarenGhorbanian
@KazemKarenGhorbanian Жыл бұрын
Thanks for high quality content, could you also put the playground files link?
@marder6554
@marder6554 7 ай бұрын
Swift is completly new to me coming from C/C++ but is'nt var a auto and let a const auto? And if so, why did he used the const auto so much? Is it like swift conventions to use let as long as you can and, if you have to do so, switch to var later on? He kinda focused a little bit too much on the const then just using var and being good to go
@eagar1
@eagar1 Жыл бұрын
thanks a lot
@LongdeLao-nw6hk
@LongdeLao-nw6hk 6 ай бұрын
I can't watch 1 minute without hearing: "alright?" or "okay?"
@MadhavSaiMallipeddi
@MadhavSaiMallipeddi Жыл бұрын
At 27:16 you made a mistake I think it actually preserves immutability.
@akhil_manga
@akhil_manga Жыл бұрын
Please create a video on sway programming language for fuel scaling solution
@henrypai3193
@henrypai3193 Жыл бұрын
00:01:00
@r5regan
@r5regan Жыл бұрын
wow, i have spent an hour and am stuck on creating a file. I followed the initial instructions but clicked on the blank playground and am unable to follow what you did to create your directory system. All i want to do is create the training directory in the desktop. When i go into that directory i can see it with nothing in it and anything related to create is greyed out. But, the open option is available. When i click open, no xcode file found error.
@henrypai3193
@henrypai3193 Жыл бұрын
00:02:11
@henrypai3193
@henrypai3193 Жыл бұрын
00:02:76
@BRADLEYBREEN_
@BRADLEYBREEN_ 7 ай бұрын
3:25:00
@WelfredAlmiron
@WelfredAlmiron 11 ай бұрын
cool video)
@krantinebhwani6125
@krantinebhwani6125 Жыл бұрын
How is loops / iterators not in the list of sections???? Is this part not covered anywhere in the video?
@jamalsaleh4340
@jamalsaleh4340 Жыл бұрын
Goodjob
@3minutesbibletruth
@3minutesbibletruth Жыл бұрын
Beau please we need long hours Vue js course please... There are a lot for React and Angular as well but Vue Js is missing
@dmitriyobidin6049
@dmitriyobidin6049 8 ай бұрын
The demand for swift developer will decrease significantly in the coming years. After KMP will have reached it's production ready state.
@pb8655
@pb8655 Жыл бұрын
let being a constant is hurting my js brain
@reactnative4
@reactnative4 6 ай бұрын
Is it functional based programming???
@cubestrike
@cubestrike Жыл бұрын
I currently learning about swift. Why mine not showing the data of and array, instead it only said something like "Array of 4 String elements"? Does anyone know how to setting Xcode?
@hariharanjagan404
@hariharanjagan404 9 ай бұрын
@ 5:13:20 called forced unwrap
@sabbirsheikhss
@sabbirsheikhss 9 ай бұрын
What does "using" do in closure
@shanto_322
@shanto_322 Жыл бұрын
Okai !
@pmishraofficial
@pmishraofficial 2 ай бұрын
Great tutorial. The vocal fry is concerning though.
@ccsiri
@ccsiri Жыл бұрын
What is your font type in Xcode?
@DimitrisSartzetakis
@DimitrisSartzetakis Жыл бұрын
SF Mono?
@elleamo92
@elleamo92 Жыл бұрын
to me Swift looks like a mix of JS and Python
@SalarPro
@SalarPro 7 ай бұрын
THANK YUO
@ShukkaDTheGreat
@ShukkaDTheGreat Жыл бұрын
Can we use iPad?
@hue_sane
@hue_sane Жыл бұрын
Nice 👍
God-Tier Developer Roadmap
16:42
Fireship
Рет қаралды 7 МЛН
Learn the Essentials of Swift in one hour
58:14
Paul Hudson
Рет қаралды 201 М.
БУ, ИСПУГАЛСЯ?? #shorts
00:22
Паша Осадчий
Рет қаралды 2,6 МЛН
What type of pedestrian are you?😄 #tiktok #elsarca
00:28
Elsa Arca
Рет қаралды 20 МЛН
React Shopping Cart | Redux Toolkit
25:05
LMTech
Рет қаралды 2
Swift Closures Explained
14:23
Sean Allen
Рет қаралды 67 М.
Python vs Swift | Chris Lattner and Lex Fridman
11:16
Lex Clips
Рет қаралды 155 М.
How I would learn Leetcode if I could start over
18:03
NeetCodeIO
Рет қаралды 673 М.
Swift 5.9 Released | Prime Reacts
14:36
ThePrimeTime
Рет қаралды 72 М.
Flutter vs React Native vs. Swift/Kotlin In 5 Minutes
5:20
Your Average Tech Bro
Рет қаралды 151 М.
MAGNUS NO!
29:27
GothamChess
Рет қаралды 46 М.
10 years of coding in 13 minutes
13:28
Joma Tech
Рет қаралды 4,9 МЛН
How I Beat The Password Game
39:53
Bog
Рет қаралды 2,5 МЛН
Swift Programming Tutorial for Beginners (Full Tutorial)
3:22:45
CodeWithChris
Рет қаралды 7 МЛН