Watch Next - iOS Dev Launchpad - Beginner Swift Overview - kzbin.info/www/bejne/pqC0i3eMgLSNhac
@misran4494 жыл бұрын
i'm just going to pre-like every video from you that i open because at this point i know i will like them
@seanallen4 жыл бұрын
haha, thanks for the support!
@david_lev Жыл бұрын
~ "We'll get there someday" 15:23 I think you got there in a big way.. Thanks for the great videos!
@seanallen Жыл бұрын
We did. It took a while but we got there. Glad you enjoy the content!
@F.Razor7182 жыл бұрын
I’m a complete beginner and your teaching style is so easy to follow. Thanks for sharing!!!
@tajfun69554 жыл бұрын
I`m working with swift from 2 years and every day i am finding a small piece of knowledge in videos or article on a medium where i surprised how many smart solutions is in Swift :D.
@mathiasriissorensen69944 жыл бұрын
Whenever I find myself stuck I turn to Sean Allen's videos first. Thanks again!
@naforever13 жыл бұрын
that moment when you wrote "100000" for KZbin subscribers number and said "we'll get there someday", I stoped the video to subscribe! lol .. great content and teaching style. learned a lot, thank you.. all the best
@seanallen3 жыл бұрын
Haha, thanks for the support, Ali. I appreciate it!
@rdtba21qw4 жыл бұрын
Sean mate, I’m nearly to the end of your course and have loved it. I had literally set aside the subject of your use of the SFSymbol enum for a point to brush up on when I’m done and you’ve just released this - perfect timing and as always super clear and concise - thank you!
@seanallen4 жыл бұрын
Glad you enjoyed it, Robin 😀
@ghargest664 жыл бұрын
Thanks for your service to the Swift community Sean. Another home run!
@seanallen4 жыл бұрын
Thanks for the kind words, Greg 😀
@shynepo62 жыл бұрын
Sean: " 100k subs, we'll get there someday" ... Almost there man!! thanks for providing massive value to people on the IOS dev journey!
@steknika2 жыл бұрын
when you say “you’ll get there” on the 100k, but currently it is a 103k is priceless! keep up the good work!
@withd5943 Жыл бұрын
One of the best tutorials on enum. Always coming back to refresh my knowledge here. 🙏
@seanallen Жыл бұрын
Glad it's helpful each time!
@KanyantaMubanga2 жыл бұрын
You said:100k subscribers, we'll get there some day. 97.1k right now. That day's getting closer and closer Sean. Rooting for you!
@harungunes37353 жыл бұрын
It's a deep dive with a simple explanation. Thank you, Sean!
@leonidstechlearning24514 жыл бұрын
I didn't know about the underscores to format numbers. Great! :3
@seanallen4 жыл бұрын
I like throwing in little tips like that in my videos.
@thomasswatland4 жыл бұрын
So many times I've used a Struct with static properties to hold on to related constants, and it feels "off" every time. Naming a Struct with a plural just doesn't sit right. I never thought of just doing the same with enums! That just looks and feels so much better. Thanks Sean, keep up the good work!
@Wheelhouse4062 жыл бұрын
"Lets say 100,000 followers, we'll get there some day." He got there... I appreciate this guy helping me!!
@seanallen2 жыл бұрын
Happy to help, Jimmy! And yup, we got there eventually 😀
@KimbrellBrad2 жыл бұрын
Less than 2 years later and you are at 99,400 subs! Feels like you were around 20K when I started subscribing. Congrats! Oh, and nice tutorial on enums! LOL
@zzhao4633 жыл бұрын
Even better than the Stanford open class. (well for the parts covered. )
@JeffCournoyerATC3 жыл бұрын
I’ve been considering doing your GitHub followers class, but this video definitely did it for me! I just signed up and am excited to get started! Love your teaching style man!!!
@seanallen3 жыл бұрын
Thanks for the kind words, Jeff. Hope you enjoy the course!
@Faisal50x4 жыл бұрын
This is the best swift video ever seen. Damn Thanks Sean Allen for making this cool video.
@seanallen4 жыл бұрын
Glad you liked it!
@MattyFnB4 жыл бұрын
As always great clear and understandable videos, love your work
@seanallen4 жыл бұрын
Glad you like them!
@pritommazumder98973 жыл бұрын
A pure community man!
@lycansre4 жыл бұрын
so much depth in your videos I like it you cleared almost everything about enums
@seanallen4 жыл бұрын
Happy to hear it was helpful, Meshall 😀
@adarshraj3122 жыл бұрын
new to swift. But, i know this guy... pretty Famous for iOS Dev 👏👏
@vinrbi80802 жыл бұрын
At 15:23 “100,000 subscribers. We’ll get there one day” Almost there! 98.3K right now! And just earned a new one from me. Keep up the good work!
@sarahstice4095 Жыл бұрын
"100,000 subscribers... we'll get there some day." Sitting at 127k, love to see it. Love your videos, thank you.
@natelehoux76044 жыл бұрын
Best intro to enums I've found anywhere!
@seanallen4 жыл бұрын
Thanks for the kind words, Nate!
@kuralaybiehler5638 Жыл бұрын
Thank you! Clear and simple explanation of enum!
@seanallen Жыл бұрын
Glad you liked it!
@bdaralan4 жыл бұрын
Love enum especially when Swift allows associated value to have parameter name. For enum rawValue, I normally use it for database or cache value where the storage can only store primitive type and later I can recreate the enum using the rawValue.
@39096304 жыл бұрын
I usually insta-like every video from you, BUT YES IVE BEEN WAITING FOR THISSSSSSSSSS
@seanallen4 жыл бұрын
🙌
@keatsp3 жыл бұрын
Well you have one new sub now. Great video. Clear and concise. I am an experienced coder and still enjoyed the video.
@prachipatel28413 жыл бұрын
Great Example, I understand whole concept of ENUM and how it can be useful. Thank You so much! 😊
@seanallen3 жыл бұрын
Happy to help, Prachi!
@NadiyaLevytska2 жыл бұрын
15:27 you said " we will get to 100k subs some day" and look at you now! great Channel! keep up amazing work
@seanallen2 жыл бұрын
Thanks Nad!
@gakkieNL4 жыл бұрын
Nice video. Very educational and easy to follow! Thanks Sean!
@seanallen4 жыл бұрын
My pleasure!
@prachibile27983 жыл бұрын
I really liked this video so much. As I am a new learner of iOS it was so useful.
@johndickson9709 Жыл бұрын
Recent subscriber, your videos are excellent. Thanks for sharing your knowledge.
@mrmillmill2 жыл бұрын
Incredible video and explanation of enum's Sean. It seems like enum's could be used all through out an app. Thank you sir.
@andresuhartanto33854 жыл бұрын
Thank you so much for the clear explanation, i understand better about Enum thanks to you!
@seanallen4 жыл бұрын
Happy to help!
@joshr97234 жыл бұрын
I love using Enums that have String rawValues because you can take a string and turn it into type SocialPlatform in this example. ie. let twitterCase = SocialPlatform(rawValue: "This is my favorite!"). This is great if you want to store a string value in your database, but then convert it back to an enum type to make it easier to pass around in your code.
@ashokkumarmuthyam29864 жыл бұрын
Thank you sir. Your demonstration is awesome.I am from India.
@seanallen4 жыл бұрын
Happy to help!
@lolerskates8764 жыл бұрын
I have used Enum for Arduino code. It makes it easier even for what color an LED should be
@armandmugabo1170 Жыл бұрын
congratulations, you hit your once a youtube goal of 100k subs.
@seanallen Жыл бұрын
Thank you :)
@donathmm38814 жыл бұрын
Good video! What is left is the default case!
@seanallen4 жыл бұрын
Hehe, it's hard to cover every possible thing 😀
@VeryBlueBot4 жыл бұрын
oh man this is so clear! thank you! Love these short gems really speeds up the learning process for a new language! Small question (which I probably could have just googled, but hey, Im typing already..) - Swift don't have 'default' in its switch statement?
@seanallen4 жыл бұрын
Yes, that was something I should have covered in the video. There is a default statement you can use as a "catch-all". In the example in the video, I wanted to show all the options to really illustrate the point. But yes, a simple default case will work as well.
@VeryBlueBot4 жыл бұрын
@@seanallen no worries its just a small thing :) just wanted to make sure its like in any other language..
@bitsurfer01013 жыл бұрын
@@seanallen You answered my question and explained how to use enums at the same time. I don't feel like I have my head in the sand so much anymore.
@tompov227 Жыл бұрын
I find it super interesting how your keywords are set in Menlo but the rest of your editor is using SF Mono as the font. I know Xcode lets you but I have never seen people use different font faces for different source types
@ketanchoyal70243 жыл бұрын
Awesome just what I was looking for, Thanks
@seanallen3 жыл бұрын
Glad I could help!
@Omeir344 жыл бұрын
Great tutorials Sean!
@gurvirsingh4332 Жыл бұрын
Haha Cheers to you, U have crossed 100000 subscribers 💥 as u mentioned someday you will reach.
@seanallen Жыл бұрын
🎉
@arslankhalid29194 жыл бұрын
Hi, good to watch your video. please make a complete Deep video on computed and stored properties in swift. Thanks a lot
@yuriisameliuk21184 жыл бұрын
Good video . Thanks you Sean.
@mohdrahib16903 жыл бұрын
Hi Sean, thanks for explaining Enum I have a question why an stored property can not be associated with enum ??
@amitarya4894 Жыл бұрын
Superb 💯, thanks for this
@seanallen Жыл бұрын
My pleasure 😊
@eliastabaka Жыл бұрын
Great tutorial!
@nuwansameera95194 жыл бұрын
Thanks you Sean!
@nikandrmarhal4 жыл бұрын
You also haven’t mentioned the `if case let` syntax. Would be a great topic for another video
@seanallen4 жыл бұрын
Yup, it's a difficult balance to make a concise video, but also cover enough of the fundamentals. It's hard to cover every aspect of a topic in one video.
@vickyphan54943 жыл бұрын
Thanks for a great video!! What bootcamp did you go to?
@seanallen3 жыл бұрын
Glad you liked it, Vicky! I went to one called Mobile Makers in San Francisco back in 2015. It actually no longer exists.
@RahulPahuja19914 жыл бұрын
Beautifully done thanks
@seanallen4 жыл бұрын
Happy to help!
@T0m4sfn3 жыл бұрын
Just here to say you are about 13k left to reach 100k subscribers as the last example follows.
@mr.iguide75084 жыл бұрын
This video was so needed. Thank you.
@erickramones21674 жыл бұрын
any videos on when to use private or public properties?
@seanallen4 жыл бұрын
I created a video about access control here: kzbin.info/www/bejne/iHeqdq2hd8ZraZY
@erickramones21674 жыл бұрын
@@seanallen cool, thanks.
@mellamoraymond4 жыл бұрын
Hi Sean. What's the difference of using enum vs struct when it comes to constant?
@shadieossei43363 жыл бұрын
You're gonna get to 100,000 subscribers and be eligible for sponsorship
@Rahul-jf5kf2 жыл бұрын
suppose I have multiple fields for each enum case like title, description, image URL. and are static for each case now i want list of all titles, list of all descriptions so son and also one method to get url from title image from title . please explain
@dugrut13252 жыл бұрын
i left more confused, i need more, how real data is pushed into an enum and then get the results, for example, if you explained 'func set' more then maybe I would of gotten it.
@Karma_Rinku3 жыл бұрын
You did not tell about recursive enum the last topic i waiting to see this but.. not there. bcoz i was confused in that . make on that a video
@CraigSchubert4 жыл бұрын
Great content yet again - thanks! :-)
@seanallen4 жыл бұрын
Glad you enjoyed it!
@JonatanEdOrtiz3 жыл бұрын
Great video!
@guruitcompany4 жыл бұрын
Awesome! Thanks 👍
@maliknrishabh4 жыл бұрын
Another way to use enums could be computed vars
@farakhakimov4 жыл бұрын
I think we can use default state instead of using all other cases on the last example 🙂
@seanallen4 жыл бұрын
You are correct. That would work.
@maheshgvelly4 жыл бұрын
Whats a recursive enum?
@dugrut13252 жыл бұрын
what is 'ItemInfoType' ???
@brandonwinston4 жыл бұрын
thank you!
@seanallen4 жыл бұрын
Happy to help
@mrmillmill2 жыл бұрын
Anyone have any ideas for creating a function that adds cases to an enum?
@Jeff-zc6rr5 ай бұрын
geez.. i'm learning swiftui now.. and everytime i watch something there is something new.. why in the world is there the word "on" before platform..
@seanallen5 ай бұрын
that's called an argument label. It's mean to help the function be more human readable when you call it.
@rrakesh054 жыл бұрын
Just awesome tutorial mate...
@seanallen4 жыл бұрын
Glad you liked it
@nileshjdarji4 жыл бұрын
Awesome 👍
@cometmace4 жыл бұрын
1:18 An enum has to have cases 4:09 SFSymbols - no cases. Just static lets. Please to be explaining?
@saj59354 жыл бұрын
static let also similar to case you should know static keyword mean
@paramsingh41042 жыл бұрын
Swift enums are really advanced, can put Typescript to shame.