IBOutlet, IBAction & IBOutletCollection Tutorial | Xcode 11 & Swift 5.1

  Рет қаралды 17,306

Sean Allen

Sean Allen

Күн бұрын

Пікірлер: 54
@Apollo-yg5qc
@Apollo-yg5qc 4 жыл бұрын
because of these headaches with StoryBoard I'm learning to create everything in pure code, it's much less headache :) Thank you Sean, another great explanation video, keep up the good work!
@seanallen
@seanallen 4 жыл бұрын
Thanks Apollo!
@mapcad9713
@mapcad9713 4 жыл бұрын
I really like your teaching style. It will be nice to see your Core Data tutorial !
@seanallen
@seanallen 4 жыл бұрын
Thanks! To be quite honest, I've never used Core Data (aside from early tutorials).
@NotNoAndrew
@NotNoAndrew 4 жыл бұрын
I uses Refactor > Rename to rename my IBOutlets, it changes the name in the Storyboard as well as code.
@byaruhaf
@byaruhaf 4 жыл бұрын
Thanks for sharing, didn't know that.
@seanallen
@seanallen 4 жыл бұрын
I knew there was a way 😀. Old habits die hard. Thanks for sharing.
@NotNoAndrew
@NotNoAndrew 4 жыл бұрын
It’s only been available for the last few versions of Xcode so the old way is still viable
@bibinjacob123
@bibinjacob123 4 жыл бұрын
Hey Sean, are you back? That's really awesome.
@ItsJustFil
@ItsJustFil 4 жыл бұрын
Tip: you can also right click and drag from storyboard to the code as opposed to CTRL+drag. Also works on trackpads with two finger dragging
@adamm3122
@adamm3122 4 жыл бұрын
Ran into this issue toooo much in the beginning. Now... Right Click the word, Refactor > Rename. BAM!!!
@DruideRC
@DruideRC 2 жыл бұрын
thank you about "referencing outlet collections", that save the week, i was stuck on that for a week thank you
@seanallen
@seanallen 2 жыл бұрын
Happy to help, Druide!
@AmitBiswastunebox
@AmitBiswastunebox 4 жыл бұрын
Hi Sean one day you will be in big place man. The way you started your iOS journey it’s remarkable and I am super happy to move forward with all the content your create and learn more and more . Good wishes man .
@seanallen
@seanallen 4 жыл бұрын
I appreciate that!
@RickPlaysStick
@RickPlaysStick 4 жыл бұрын
Good points on the topic that Interface Builder and Code are each their own thing. I have made this error so many times. I don't use outlet collections much. I need to use them more. I would probably have made a custom button class for configuration rather than using an outlet collection.
@unlokia
@unlokia 2 жыл бұрын
I can’t quite put my finger on what it is I like about your teaching style, but you are really are very clear and articulate and smooth. Thank you for this and God bless you 😃
@seanallen
@seanallen 2 жыл бұрын
Glad you enjoyed it!
@Natena
@Natena 2 жыл бұрын
I appreciate "option + click" for the assistant window so much )))
@aaronbarlow7701
@aaronbarlow7701 3 жыл бұрын
Great video! My instructor was not very clear when showing us outlet and action. This cleared things right up!
@seanallen
@seanallen 3 жыл бұрын
Glad it helped!
@aagamvora3907
@aagamvora3907 2 жыл бұрын
What an excellent way of teaching.
@Evan_anish
@Evan_anish Жыл бұрын
Thanks. This really helped a lot. I was stuck on this for hours. Keep up the great work! W vid
@seanallen
@seanallen Жыл бұрын
Happy to help, Evan.
@cactusdoodle8619
@cactusdoodle8619 2 жыл бұрын
you're a great teacher . hits the mark with my learning style as well
@sajibalaram6978
@sajibalaram6978 5 ай бұрын
Very good explanation
@omaralromaithi8078
@omaralromaithi8078 4 жыл бұрын
You are awesome , thanks for sharing knowledge 😀
@seanallen
@seanallen 4 жыл бұрын
Happy to help, Omar!
@PoeheeHeLul
@PoeheeHeLul 4 жыл бұрын
Total IOS beginner here (but somewhat experienced coder): when you were resetting the attributes, isn't there a more generic way? Like storing the original label in viewDidLoad and set it back (re-assign to label)? or is that not possible? This is a pain when there are more buttons or properties changed. Overasking of course, but would be just a bit more juicy...
@noelsoderstrom8706
@noelsoderstrom8706 4 жыл бұрын
When I open the assistant it says "No Assistant Results". Any help on what to do?
@JohnDoe-fe3zw
@JohnDoe-fe3zw 4 жыл бұрын
Another Great video
@seanallen
@seanallen 4 жыл бұрын
Glad you enjoyed it
@mattkruckeberg9798
@mattkruckeberg9798 4 жыл бұрын
This couldn’t have come at a better time. GET OUT OF MY HEAD!
@JasonMitchellAZ
@JasonMitchellAZ 4 жыл бұрын
😂
@cobradjc579
@cobradjc579 4 жыл бұрын
How do you know where to click/drag the labels/buttons? Does it matter where you place it in the code or can it go anywhere?
@dandiuszielth
@dandiuszielth 4 жыл бұрын
There's no easy way to access individual elements in an IBOutletCollection is there? From what I've looked up the order of the elements is random. I've seen someone assign each element its own tag (integer value) and then sort them in the outlet collection by their tag values, but I've seen other feedback say that sorting an IBOutletCollection does not really fit the purpose of an outlet collection. I appreciate your teaching style and think you'll have an answer to this I can actually grasp. What do you think?
@Emily-fo4ty
@Emily-fo4ty 3 жыл бұрын
The link to your Beginner Auto Layout Video isn't working :( , says it's private - can you repost? would love to watch it
@nasirmehmood_
@nasirmehmood_ 2 жыл бұрын
Thank you!
@kevindesouza6143
@kevindesouza6143 2 жыл бұрын
IB outlets and action on are applicable to both SwiftUIand the UIKit. Right?
@seanallen
@seanallen 2 жыл бұрын
No, IBOutlets are not applicable to SwiftUI. It's a UIKit only thing. Specifically storyboards.
@Евгений-о9н
@Евгений-о9н 4 жыл бұрын
good stuff)
@seanallen
@seanallen 4 жыл бұрын
Thanks!
@JessicaxDeSouza
@JessicaxDeSouza 4 жыл бұрын
What if im using swiftUI instead of storyboard, does this apply to swiftUI?
@seanallen
@seanallen 4 жыл бұрын
Nope. SwiftUI is completely different in this regard.
@admrts
@admrts 2 жыл бұрын
thank you
@donathmm3881
@donathmm3881 4 жыл бұрын
Forget crashes: Right click and rename 😏
@mattlucas7869
@mattlucas7869 3 жыл бұрын
this is quality
@TheAhmadReza
@TheAhmadReza 4 жыл бұрын
mvvm :(
@varunjohnjohn
@varunjohnjohn 9 ай бұрын
All this drag and drop is so lame in Xcode
@seanallen
@seanallen 9 ай бұрын
In the modern world of SwiftUI, this no longer exists
@digitalmaus
@digitalmaus 2 жыл бұрын
how do i create an ibaction yo call a phone number? email? text message?
iOS Navigation Controller Tutorial | Xcode 11.4 Swift 5.2
9:56
Sean Allen
Рет қаралды 118 М.
Swift - Result Type - Cleaner Network Calls
12:07
Sean Allen
Рет қаралды 20 М.
小丑教训坏蛋 #小丑 #天使 #shorts
00:49
好人小丑
Рет қаралды 47 МЛН
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 113 МЛН
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 14 МЛН
UIViewControllers in iOS and Swift
28:50
Sam Meech-Ward
Рет қаралды 7 М.
Swift For Beginners - Class & Inheritance Explained
15:42
Sean Allen
Рет қаралды 16 М.
I Made an iOS App in MINUTES with This AI Tool!
13:20
Creator Magic
Рет қаралды 444 М.
UICollectionViews in iOS with Compositional Layout
15:25
Sam Meech-Ward
Рет қаралды 7 М.
Is Functional Programming DEAD Already?
21:07
Continuous Delivery
Рет қаралды 74 М.
5 Steps to Better SwiftUI Views
31:19
Paul Hudson
Рет қаралды 56 М.
小丑教训坏蛋 #小丑 #天使 #shorts
00:49
好人小丑
Рет қаралды 47 МЛН