Beginner Auto Layout & Constraints - Swift 4.2 - Xcode 10

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 พ.ย. 2024

ความคิดเห็น • 288

  • @seanallen
    @seanallen  4 ปีที่แล้ว

    🚀 iOS Dev Launchpad - Swift basics, build apps, programmatic ui, general programming knowledge, and more - seanallen.teachable.com/p/ios-dev-launchpad

  • @junebuttrick2027
    @junebuttrick2027 5 ปีที่แล้ว +2

    Thanks a bunch finally someone that actually makes beginner videos that a beginner can actually understand

    • @seanallen
      @seanallen  5 ปีที่แล้ว

      Glad you enjoyed the video and my teaching style, June 😀

  • @3909630
    @3909630 6 ปีที่แล้ว +36

    Yes goddamn it, finally a video on those damn auto layout constraints.

    • @seanallen
      @seanallen  6 ปีที่แล้ว +1

      Haha, happy to deliver. 👍

    • @osmanmusse6223
      @osmanmusse6223 6 ปีที่แล้ว +1

      @@seanallen yeah cool video keep this up sean

    • @manivelgopi.
      @manivelgopi. 5 ปีที่แล้ว

      @@seanallen thank you for the videoooo

  • @hoxorious
    @hoxorious 6 ปีที่แล้ว +24

    Finally the tutorial that I was really waiting for. Thanks Sean ❤❤❤❤❤

    • @seanallen
      @seanallen  6 ปีที่แล้ว +2

      Happy to help!

  • @Alex-dy2eb
    @Alex-dy2eb 5 ปีที่แล้ว +4

    I had been struggling with constraints ever since I started IOS development and halfway through your video it all just clicked for me. Thanks alot!

    • @seanallen
      @seanallen  5 ปีที่แล้ว +1

      That "click" moment is always an awesome feeling! Happy to help!

  • @techguy0711
    @techguy0711 6 ปีที่แล้ว +2

    I am visually impaired iOS programmer and found your channel recently. Thank you for describing everything during the video. Very hard to find good tutorials when the video creator does not describe anything.

    • @seanallen
      @seanallen  6 ปีที่แล้ว

      Happy to hear my explanations were helpful, Kristhian!

  • @nithinsamuelabraham2760
    @nithinsamuelabraham2760 5 ปีที่แล้ว +2

    This video helped me a ton in designing a page with which I was struggling for hours (mainly cause of my lack of fundamental knowledge about constraints). Thank you for this.

    • @seanallen
      @seanallen  5 ปีที่แล้ว

      Happy to help, Nithin!

  • @ZeeKhan-xx7tl
    @ZeeKhan-xx7tl 7 หลายเดือนก่อน

    couln't teach better. Love how you go in the details and explain the logic and reasoning behind every step. Many thanks for your content.

  • @dorukhansergin9831
    @dorukhansergin9831 4 ปีที่แล้ว

    Extremely helpful. 4 constraints rule was something I would never have heard of as a someone who just needs to know this for once since it's not my job to dev iOS apps every day.

    • @seanallen
      @seanallen  4 ปีที่แล้ว

      Yeah, that rule helped me out a ton when I was just starting. Glad you found it helpful!

  • @leonveith3920
    @leonveith3920 5 ปีที่แล้ว

    Hey Sean, great work covering the basics while remaining calm and still being fast enough to follow your work. Keep it up man!

  • @lune187x
    @lune187x 5 ปีที่แล้ว +1

    Thank you a ton. Before this, it looks like something came through and unapologetically TP'ed my storyboard with constraints.

    • @seanallen
      @seanallen  5 ปีที่แล้ว +1

      Hahaha, hopefully now your constraints look a lot cleaner.

  • @charlesb689
    @charlesb689 6 ปีที่แล้ว +3

    You're really good at explaining your code and what you do!

    • @seanallen
      @seanallen  6 ปีที่แล้ว

      Thanks Charles, I appreciate that!

  • @RicardoDiaz-lw9qp
    @RicardoDiaz-lw9qp ปีที่แล้ว +2

    Sick video brotha, you're really good at explaining. Clear and concise!

    • @seanallen
      @seanallen  ปีที่แล้ว

      Thanks! Glad you enjoyed it.

  • @MuhammadAli-zv5vz
    @MuhammadAli-zv5vz 6 ปีที่แล้ว +3

    Great.Please a make video on app rejection .how we reply to apple about specific bug and updation process .This is very useful for the junior developers.

  • @joestasebolela3436
    @joestasebolela3436 5 ปีที่แล้ว +1

    Thank you a bazillion times Sean. Now i understand how to group and manipulate constraints. - Joesta

    • @seanallen
      @seanallen  5 ปีที่แล้ว

      Happy to help!

  • @davidhwasserman
    @davidhwasserman 5 ปีที่แล้ว +2

    Sean, Great tutorial. I've watched a few others (I paid for) and this one is way better. You explain everything very clearly. Would love to see a more advanced tutorial from you on this subject.

    • @seanallen
      @seanallen  5 ปีที่แล้ว

      Thanks for the kind words, David 😀

  • @MpomartMedia
    @MpomartMedia 6 ปีที่แล้ว +3

    Hey Sean, thank you very much for man for an outstandingly good tutorial on a very critical subject matter! I am already waiting for you in the next episode! Keep up the good work. Henry

    • @seanallen
      @seanallen  6 ปีที่แล้ว

      Thanks Henry!

    • @MpomartMedia
      @MpomartMedia 6 ปีที่แล้ว +1

      @@seanallen You are welcome Sean!

  • @fendlorvez
    @fendlorvez 6 ปีที่แล้ว +2

    I always been struggled with the iPhone SE dimensions. It's a really pain in the ass hahaha. I really like the video. Well explained and very straightforward. Actually, this gives me an a idea for fixing an image view that I was setting wrong on a project. So thank you for sharing your knowledge Sean 🙌

    • @seanallen
      @seanallen  6 ปีที่แล้ว

      Happy to help Felipe!

  • @ecwb
    @ecwb 4 ปีที่แล้ว +1

    Excellent beginner run through of constraints perfect thanks Sean!

    • @seanallen
      @seanallen  4 ปีที่แล้ว

      Thanks Steve. Glad you liked it!

  • @harimorjaria6851
    @harimorjaria6851 5 ปีที่แล้ว +1

    Your videos are great - informative and entertaining to hold attention, great work!

    • @seanallen
      @seanallen  5 ปีที่แล้ว

      Thanks for the kind words, Hari! Glad you like the channel 👍

  • @sovietman94
    @sovietman94 5 ปีที่แล้ว +1

    Thanks for detailed review of several topics in one video!!!

    • @seanallen
      @seanallen  5 ปีที่แล้ว +1

      Glad it was helpful, Alexey!

  • @chippytv9852
    @chippytv9852 4 ปีที่แล้ว +1

    Your explanation and guidance is extremely helpful. Thank you Sean!

    • @seanallen
      @seanallen  4 ปีที่แล้ว

      Glad it was helpful!

  • @csmaisuriya91
    @csmaisuriya91 6 ปีที่แล้ว +2

    Good one Sean. Expecting more useful and informative video's on the autolayout as-well as on the animations in the future.
    Love from the India 😊

    • @seanallen
      @seanallen  6 ปีที่แล้ว +1

      Thanks Chintan 👍. I've got a looooooooong list of videos ideas to get to. I'm sure I'll revisit the topic soon

  • @mikestaheli1514
    @mikestaheli1514 5 ปีที่แล้ว +1

    Even though you talk really fast, its very detailed and easy to understand.

    • @seanallen
      @seanallen  4 ปีที่แล้ว

      Glad you liked it, Mike. I'm constantly trying to improve my speaking speed on camera. It's a work in progress 😀

  • @ahyes5842
    @ahyes5842 4 ปีที่แล้ว

    This was exactly what I needed. Can you give examples about how to make an app look good going from portrait to landscape?

  • @idevicecentral
    @idevicecentral 4 ปีที่แล้ว +1

    Best video explaining these! Thank you.

  • @mentifresh
    @mentifresh 6 ปีที่แล้ว +5

    Great video Sean! I would love to see an advanced one :)

    • @seanallen
      @seanallen  6 ปีที่แล้ว +1

      I'm gonna see how this video performs and what kind of feedback I get, so we'll see!

    • @mentifresh
      @mentifresh 6 ปีที่แล้ว +1

      Fair enough, I will cross my fingers for it 😜

  • @fguchelaar
    @fguchelaar 6 ปีที่แล้ว +1

    Hey Sean, great content. I have a remark regarding the starter-project. Maybe not 'beginner'-grade perse, but useful nonetheless.
    • In line #34 in SATextField you can use the ‘nil-coalescing’ operator instead of the ternary, resulting in slightly more elegant code:
    let placeholder = self.placeholder ?? ""
    • And you can have your custom views also render in Interface Builder, if you add @Designable above the class definition and add a function like:
    override func prepareForInterfaceBuilder() {
    super.prepareForInterfaceBuilder()
    setUpField()
    }
    Also maybe not new for you, but if someone else profits: 👍
    Great stuff! Keep it up.

    • @seanallen
      @seanallen  6 ปีที่แล้ว

      Yup, good info Frank. I'm actually not a fan of @IBDesignable. In my experience it's made storyboards slower and more clunky.

  • @GauravKumar-xr3wr
    @GauravKumar-xr3wr 5 ปีที่แล้ว +1

    nice work man, your videos are really helping me. Keep the good work going

    • @seanallen
      @seanallen  5 ปีที่แล้ว

      Happy it's helpful, Gaurav!

  • @dhanrajchavan6548
    @dhanrajchavan6548 5 ปีที่แล้ว +1

    Great Video On Constraints. You have cleared my doubts

    • @seanallen
      @seanallen  5 ปีที่แล้ว

      Happy it helped!

  • @NazAyala
    @NazAyala 5 ปีที่แล้ว +1

    Loved the view. For for me it was the right amount and it had great hooks for added learning. One thing that annoyed me on my project was that my background image aspect ratio was weird so when it previewed it looked off. I found that if I added `backgroundImageView.contentMode = UIView.ContentMode.scaleAspectFill` to the setBackground method it took care of that.
    Thank you!

    • @seanallen
      @seanallen  5 ปีที่แล้ว

      Glad you found the video helpful!

  • @Monarch_943
    @Monarch_943 5 ปีที่แล้ว +1

    Very beginner friendly and well explained. You have my thanks and my sub!

    • @seanallen
      @seanallen  5 ปีที่แล้ว

      Glad you enjoyed it, Naalein!

  • @amansinha7865
    @amansinha7865 5 ปีที่แล้ว

    Sean please create a video on Autolayout Priority and Multipliers in details and also some hint on AutoResizing.

  • @danielneykov7641
    @danielneykov7641 6 ปีที่แล้ว +1

    Great video, keep up the good work! Any plans to make video about moving bottom section when keyboard is shown?

    • @seanallen
      @seanallen  6 ปีที่แล้ว

      Thanks Daniel. I've thought about it, but there are so many different ways to do it... Need to think about what approach I want to teach. And for that I'd need to do some research.

  • @vjsanghavi
    @vjsanghavi 5 ปีที่แล้ว

    Hey Sean, It was really nicely explained. But the main thing here is the warnings which you can clearly see in the storyboard view hierarchy and that was the reason I was watching your video but you haven't shown what are the warnings and how to fix them.

  • @SwiftySanders
    @SwiftySanders 5 ปีที่แล้ว +1

    Thanks Sean! Your videos and story are inspiring to me.

    • @seanallen
      @seanallen  5 ปีที่แล้ว +1

      Happy to hear that Christopher! I hope you’re finding the channel helpful.

    • @SwiftySanders
      @SwiftySanders 5 ปีที่แล้ว +1

      Sean Allen I certainly am. I suffer from heavy imposter syndrome. I want to learn IB but seeing the code is easier for me right now for some reason. So I really appreciate you showing both IB and Programmatic approaches. I am a frontend engineer for work.... I have always always always wanted to be an iOS engineer and an opportunity recently presented itself.

    • @seanallen
      @seanallen  5 ปีที่แล้ว +1

      Nice! Feel free to reach out with questions of you have them. I’m always happy to help people get started in iOS!

    • @SwiftySanders
      @SwiftySanders 5 ปีที่แล้ว

      Sean Allen am curious about the ways people typically handle their api data code in terms of app structure. Have you done any videos or seen any articles on this or do you have a viewpoint on this?

    • @seanallen
      @seanallen  5 ปีที่แล้ว +1

      I have not done any videos on that yet as it's a more complex topic and a time consuming video. However, I'm going full time content creation after July 1, so I'll be pumping out more complex videos.

  • @jihedbouchnak
    @jihedbouchnak ปีที่แล้ว +1

    wonderful tutorial hope you made us more video but i will love to see it compatible on landscape mode the easiest way

  • @lorinsherry9774
    @lorinsherry9774 9 หลายเดือนก่อน

    Amazing tutorial thank you for that! did you made the complex ui constraints explanation video also?

  • @unusynth5801
    @unusynth5801 4 ปีที่แล้ว +1

    Did you make a video about fixing issue when keyboard covering content? I really need this :-)

  • @SalesforceMiind
    @SalesforceMiind 6 ปีที่แล้ว +4

    nicely explained , please make a video on stack view.

    • @seanallen
      @seanallen  6 ปีที่แล้ว

      Thanks Sachin. I have that on the list!

  • @ITProjectManagerMan
    @ITProjectManagerMan 5 ปีที่แล้ว +1

    Love your video’s, learn so much in so little time!

    • @seanallen
      @seanallen  5 ปีที่แล้ว

      Happy to hear that Jeff! Glad you like them 😀

  • @tejask4889
    @tejask4889 6 ปีที่แล้ว +1

    Thanks, please make a video on designing complex UI, I still can't seem to figure out how to do it. Like in the UI you designed in this video, had there been a couple of more text fields above the email textfield they would overlap with the image or label on a smaller device like 5s. Please make a video on how views should resize on different screen sizes.

    • @seanallen
      @seanallen  6 ปีที่แล้ว

      I have that video planned. This was for beginners who are unfamiliar with Auto Layout or just starting to learn. That's why it's labeled "Beginner". A more advanced one will come soon.

    • @tejask4889
      @tejask4889 6 ปีที่แล้ว

      Sean Allen Thanks a lot, eagerly waiting for the same :)

  • @macasasa2009
    @macasasa2009 6 ปีที่แล้ว +3

    Very useful video, like always!! Great job!!! 👍

  • @lonniegerol
    @lonniegerol 6 ปีที่แล้ว +1

    This was really helpful! Could you do a video on ViewControllers with more complicated constraints?

    • @seanallen
      @seanallen  6 ปีที่แล้ว +1

      I do have a part 2 of this type of video planned that will be more complex. This was a video meant for beginners.

    • @lonniegerol
      @lonniegerol 6 ปีที่แล้ว +1

      @@seanallen Ok, Awesome! I really struggle with constraints and I look forward to using that video as a resource.

  • @muhammadzafransultani5452
    @muhammadzafransultani5452 ปีที่แล้ว +1

    I am so glad tou seen this video tu background image ..... Very helpful video

  • @tialorenna6603
    @tialorenna6603 4 ปีที่แล้ว

    I need a video that shows me how to set a background before I can learn to set constraints programatically. How did you do the beginning first codes

  • @bigmtnstudio
    @bigmtnstudio 6 ปีที่แล้ว +8

    Ha ha ha, "Tie Fighter"! I love it.

    • @seanallen
      @seanallen  6 ปีที่แล้ว +1

      Once you see it, you can't unsee it.

    • @30guarino
      @30guarino 6 ปีที่แล้ว +5

      Two Great instructors....you guys should do a collaboration video 💡

    • @CuriosMindDIY
      @CuriosMindDIY 6 ปีที่แล้ว +2

      @@30guarino for sure!

    • @JasonMitchellAZ
      @JasonMitchellAZ 5 ปีที่แล้ว +1

      I don't remember if Sean was the first person I heard say that (probably was, though), but that's the only way I think of the constraints editor now 😂

  • @ChaitanyaSoni96
    @ChaitanyaSoni96 5 ปีที่แล้ว

    Nice video 👍.
    One question tho, why do you not use multipliers for width/height and aspect ratios?

  • @sublajz8432
    @sublajz8432 5 ปีที่แล้ว +1

    Great video, learned so much :) seems to be easy to use auto layout in storyboard.

    • @seanallen
      @seanallen  5 ปีที่แล้ว

      Thanks. Glad you enjoyed it!

  • @catvo5377
    @catvo5377 4 ปีที่แล้ว +1

    Thanks mate. This video is really help me a lot.

    • @seanallen
      @seanallen  4 ปีที่แล้ว

      Glad it helped, Cat!

  • @cessnagreg
    @cessnagreg 4 ปีที่แล้ว

    This is great! What if you wanted a view (or a label or button, etc.) that occupies the top half of the screen when in portrait but the left half in landscape? Using storyboard? Programmatically?

  • @emin_ui
    @emin_ui 6 ปีที่แล้ว +1

    One thing is a bit confusing.
    If you uncheck "contrain to margins", why is there a need to change the dropdown settings as well? I thought they were the same, so each time i would just check/uncheck when setting up contraints, but never used the dropdown...or knew it was there XD
    Great tut as always! Thanks!

    • @seanallen
      @seanallen  6 ปีที่แล้ว +1

      The drop down is for what you want to constrain the object to.

    • @emin_ui
      @emin_ui 6 ปีที่แล้ว +1

      @@seanallen Ah...silly me XD I aways used control-drag when working with auto-constraints so i guess that is why it got confused...totally makes sense now XD

  • @mohammedmohsen4789
    @mohammedmohsen4789 4 ปีที่แล้ว +1

    Can u make a little complex one .. to do app ui modern .. how does it sound?.

  • @nileshjdarji
    @nileshjdarji 5 ปีที่แล้ว +1

    Nice tutorial Sean. I was looking through your SA constant files. One this I found hard to understand were the two init methods. What is coder/decoder/nscoder? Why is it required? Do you have any videos that explains these methods?

    • @seanallen
      @seanallen  5 ปีที่แล้ว +1

      The one with the decoder has to do with initializing and instance of that view form storyboard. So you need an regular initializer and then a special one to handle interface builder.

    • @nileshjdarji
      @nileshjdarji 5 ปีที่แล้ว

      Sean Allen do you know anyplace where it explains the terms itself. I mean coder/decoder/nscoder?

  • @mediaula491
    @mediaula491 6 ปีที่แล้ว +1

    Like always great video Sean😉

    • @seanallen
      @seanallen  6 ปีที่แล้ว

      Thanks! I appreciate that.

  • @colt_parker
    @colt_parker 5 ปีที่แล้ว

    Is there a video that includes info on how to fix the keyboard covering the login text fields? TIA!

  • @ZeeKhan-xx7tl
    @ZeeKhan-xx7tl 7 หลายเดือนก่อน

    I have a question. Why did you use the align constraints for the logo first, why not just use height, weight, and left and right constraints ? like for the other views you did.

  • @محمدبنسراجالدين
    @محمدبنسراجالدين 6 ปีที่แล้ว +1

    Nice tutorial as always 👍. Could you do one on Today Extension Widget with different scenarios? (like when using the main app UserDefaults or Database)

    • @seanallen
      @seanallen  6 ปีที่แล้ว

      Thanks for the kind words. I've never actually had to build a Today Extension Widget, so no tutorial on that anytime soon. However, if I ever have to build one for work or a project, I'll be sure to add it to my list of videos.

    • @محمدبنسراجالدين
      @محمدبنسراجالدين 6 ปีที่แล้ว

      Sean Allen an advanced auto layout one then? 😊

  • @adigazgurt
    @adigazgurt 4 ปีที่แล้ว +1

    Hey! Great video, I think you covered everything in a very nice way.... At least for my project, I got everything I need :D

    • @seanallen
      @seanallen  4 ปีที่แล้ว

      Happy to help!

  • @nafisurahmed5015
    @nafisurahmed5015 5 ปีที่แล้ว

    Please make videos on how to create complex UI programmatically.

    • @seanallen
      @seanallen  5 ปีที่แล้ว

      I've done a couple

  • @nileshjdarji
    @nileshjdarji 5 ปีที่แล้ว

    You mentioned that you can adjust the UI based on screen dimension. What is the best way in your opinion to read screen dimension when the app loads up?

  • @WattsnabbAB
    @WattsnabbAB 7 หลายเดือนก่อน

    Hi. Thanks for you video content. Loving you way of showing swift. Really good job.
    Seams like they remover autoshrink. I noterad that when do iPhone 15max and the iPhone 8 i camt really make text look good becuse it to big screendiffrence. Do you know if thers a way to adapt text size based on the screen? So it look good even on small sxreens?

  • @jorgemunoz7130
    @jorgemunoz7130 ปีที่แล้ว +1

    Thanks for your education man!

  • @mattkruckeberg9798
    @mattkruckeberg9798 6 ปีที่แล้ว +1

    Nice video man. Quick noob question tho...
    What are the advantages/disadvantages, if any, in designing your text fields programmatically rather than just doing it in main.storyboard? Just personal preference?

    • @seanallen
      @seanallen  6 ปีที่แล้ว +3

      Hey Matt, the main reason is that it saves duplicate work. Very often in an app, whatever style you go with on a text field, will be the same on all (or most text fields). For example, in the app I'm working on we have custom AuthTextField that we use during our entire onboarding process (the user fills out forms and stuff). So, if we want to make a change to our text field styles we just need to make the change once in the subclass, and we're done, rather than going to each individual textField in storyboard and making the change.

    • @mattkruckeberg9798
      @mattkruckeberg9798 6 ปีที่แล้ว +1

      @@seanallen Makes perfect sense. Appreciate it!

    • @seanallen
      @seanallen  6 ปีที่แล้ว

      Happy to help 👍

  • @llothar68
    @llothar68 5 ปีที่แล้ว

    All of this could be done with the old autosize. You forgot to mention the main reason why we need this: Internationalization (and a handful of things autosize didn't work, like alignment). Other then that good video.

  • @gopalkrishna9445
    @gopalkrishna9445 6 ปีที่แล้ว +1

    very Useful video.. waiting for next video

    • @seanallen
      @seanallen  6 ปีที่แล้ว

      Glad you liked it!

  • @taycarr_
    @taycarr_ 4 ปีที่แล้ว +1

    This helped me so much. Thank you

    • @seanallen
      @seanallen  4 ปีที่แล้ว

      Happy to help, Taylor.

  • @debbieaskin2683
    @debbieaskin2683 4 ปีที่แล้ว +1

    Great video Sean. Where can I download the sample code?

    • @seanallen
      @seanallen  4 ปีที่แล้ว

      Thanks Debbie. There should be a link to the source code in the description.

  • @aqibj76
    @aqibj76 5 ปีที่แล้ว

    Hey, you talked about moving keyboard when we tap on text field. Do you have any video related to that , how to move screen up!!

  • @Himanshupatel-bn9zc
    @Himanshupatel-bn9zc 5 ปีที่แล้ว

    Brother add more video on this topic bcs of very less video on youtube about autolayout in xcode 10.1

  • @makf7363
    @makf7363 6 ปีที่แล้ว +1

    Great Video Man. Huge Help!!!!

    • @seanallen
      @seanallen  6 ปีที่แล้ว

      Happy to help, Makan!

  • @andreyafonin8182
    @andreyafonin8182 5 ปีที่แล้ว +1

    Great video tutorial many thanks

    • @seanallen
      @seanallen  5 ปีที่แล้ว

      Happy to help, Drei!

  • @roshanthapa25
    @roshanthapa25 4 ปีที่แล้ว +1

    I just can't thank you enough

    • @seanallen
      @seanallen  4 ปีที่แล้ว

      Glad you enjoyed it!

  • @keplersiguineau
    @keplersiguineau ปีที่แล้ว

    Thank you for creating this video!

  • @perrygupta
    @perrygupta 5 ปีที่แล้ว

    Hi Sean thanks for the tutorial I loved it, I have a question, I have 2 buttons i wanna split screen half and half, side by side
    between them how to achieve that?

  • @rakvintech4367
    @rakvintech4367 4 ปีที่แล้ว

    can i get a full tutrial on auto layout in storyboard having UIView, UIImageView, UITableView,UIButton all are in the same screen ....?????

  • @ericma2937
    @ericma2937 5 ปีที่แล้ว +1

    Auto layout on storyboard always gives me a yellow triangle warning. Sometimes I have no way to get rid of it. Can you explain it a little bit?

    • @seanallen
      @seanallen  5 ปีที่แล้ว

      This could be for many reasons. The most common one you're probably seeing is about localization. But they can pop up for hundreds of reasons. I would need to see the error.

  • @tobit7498
    @tobit7498 5 ปีที่แล้ว +1

    The logo stopped showing up when I made the adjustments. I can see it on the storyboard, but it disappears when I run it.
    Great tutorial by the way

    • @tobit7498
      @tobit7498 5 ปีที่แล้ว

      Any help or advice on how to sort out the logo issue?

  • @acikgozemre
    @acikgozemre 5 ปีที่แล้ว

    That is a great tutorial.Thanks!

  • @juantavera9978
    @juantavera9978 6 ปีที่แล้ว +1

    Hey, great video with quality! I just have one question, how did you get the xcode color theme to be dark? Not just in the text editor but all of xcode?

    • @seanallen
      @seanallen  6 ปีที่แล้ว

      That's new in macOS Mojave and Xcode 10.

    • @juantavera9978
      @juantavera9978 6 ปีที่แล้ว +1

      @@seanallen Thank you!

  • @raphaelfernandezgonzalez6904
    @raphaelfernandezgonzalez6904 5 ปีที่แล้ว

    please do a tutorial building an app using corebluetooth and ble connection please

  • @WatchThisAndSmile
    @WatchThisAndSmile 6 ปีที่แล้ว +1

    Good job, my man!

    • @seanallen
      @seanallen  6 ปีที่แล้ว

      Thanks! Glad you liked it 👍

  • @alvinlee7120
    @alvinlee7120 4 ปีที่แล้ว

    Hi Sean!
    Thanks for the great tutorial!
    I ran into some issues and was wondering if you had any time to give me your insight into them.
    1. When I set the leading and trailing constraints for the textfields and button,
    xcode gives me a warning about localization issue with set leading or trailing constraints,
    and tells me to set one of them to >=.
    If I change it to >= or

    • @seanallen
      @seanallen  4 ปีที่แล้ว

      HI Alvin, for number 2, you are correct... they are the same size classes. You'll have to write some conditional code to change the constraints based on the specific device type. This also needs to be done programmatically as there is no way to do this in the storyboard.
      I just live with the localization warnings. Those don't come into play until you plan on localizing your app into another language. Which is an entirely different process in and of itself. If you're just learning, localization is way down the line.

    • @alvinlee7120
      @alvinlee7120 4 ปีที่แล้ว

      @@seanallen I ended up using a StackView for #1 which ended up erasing those warnings. Next time i'll keep in mind that I can just ignore them. Thank you!!

  • @glennadams7047
    @glennadams7047 6 ปีที่แล้ว +1

    Good into Sean!

    • @seanallen
      @seanallen  6 ปีที่แล้ว

      Glad you liked in, Glenn 😀

  • @cularu1
    @cularu1 5 ปีที่แล้ว

    Is there a way to show the ui elements in storyboard with the custom styling defined in code?

  • @mikkelrosario7880
    @mikkelrosario7880 5 ปีที่แล้ว +1

    this helped me alot, cheers mate!

    • @seanallen
      @seanallen  5 ปีที่แล้ว

      Happy to hear that, Miguel!

  • @gauravpande
    @gauravpande 5 ปีที่แล้ว

    How did you customize your Xcode color to red? It looks great.
    Edit: I meant the menu color of the Inspector and Navigator tabs. Not talking about Source Editor & Console.

    • @highschoolkoder8650
      @highschoolkoder8650 5 ปีที่แล้ว

      It is done in general settings.

    • @gauravpande
      @gauravpande 5 ปีที่แล้ว

      @@highschoolkoder8650 I couldn't find any option to change inspector and navigator color accent. I am not referring to source editor and console.

    • @highschoolkoder8650
      @highschoolkoder8650 5 ปีที่แล้ว +1

      Go to setting > general > accent color and choose red...

    • @gauravpande
      @gauravpande 5 ปีที่แล้ว

      @@highschoolkoder8650 Oh my freaking god! 😱
      I have changed few setting from that General, but never saw the Accent option. 😬 Thank you so much!

  • @christinaschell9913
    @christinaschell9913 6 ปีที่แล้ว +1

    Have another tutorial that walks through the keyboard solutions? Esp on iphone 5?

    • @seanallen
      @seanallen  6 ปีที่แล้ว

      That's the thorn in every developers side... the keyboard on iPhone 5 screen size, lol. I feel your pain. It's on my list of videos to do. I'll likely just have to pick 1 or 2 ways to do it, since there are many different ways, and many different variations. Which I'm sure will fill up the comments section...

  • @serinahayds3257
    @serinahayds3257 5 ปีที่แล้ว

    Sean, I was wornding if you could show how yo downloade the file on Xcode. I really don't know ... many files ... don't know how to.

  • @ABC-xc9il
    @ABC-xc9il 6 ปีที่แล้ว

    excuse me, can you help me, i'm having a problem about error domain 9806 and 9807 requires a certificate of trút.Thank you

  • @tbg6nb
    @tbg6nb 5 ปีที่แล้ว

    Is there a construct in Swift which could be used to avoid redundancy like the one about 8:30 ? For example in VBA you would write
    With backgroundImageview
    .topAnchor (...)
    .bottomAnchor(...)
    (...)
    EndWith

  • @darshansk139
    @darshansk139 5 ปีที่แล้ว

    Really good video. Thanks a lot!

  • @darwinrides1688
    @darwinrides1688 5 ปีที่แล้ว +2

    Great tutorial Sean, I've come back to it several times! I tried stealing your SAButton.swift code, but stepped onto a few 'rookie' landmines in the process. All good - learning opportunities, right?

    • @seanallen
      @seanallen  5 ปีที่แล้ว

      Nice! Happy to hear the tutorial has been that helpful. Try this for a custom UIButton - th-cam.com/video/scTO8N6wc8A/w-d-xo.html

  • @anandsunku
    @anandsunku 4 ปีที่แล้ว

    xcode storyboard suddenly pushes the control backwards and the options for bringing it in front is disabled. (Editor -> arrange -> Send to front .. is disabled ) ..
    how to enable or how to move the control to front in z order
    im using XCode Version 11.6 (11E708)

  • @bappy12345
    @bappy12345 5 ปีที่แล้ว +1

    Is that the Cracking the Coding Interview book under your basketball?

  • @kellenrayoungx
    @kellenrayoungx ปีที่แล้ว

    Any idea why I'm not able to drag and drop buttons or text fields etc onto my screen?

  • @mariaivanova491
    @mariaivanova491 5 ปีที่แล้ว

    Thank you for the useful video!

  • @stillwrinkled
    @stillwrinkled 5 ปีที่แล้ว

    my (yours) swift code can't seem to locate the background image resulting in white background. how do i sort out path etc.?

  • @musicdev
    @musicdev 6 ปีที่แล้ว +1

    So theoretically, could I set top and bottom anchors instead of specifying height?

    • @seanallen
      @seanallen  6 ปีที่แล้ว +1

      Yes, and then it could possible stretch depending on what you pinned it to

    • @musicdev
      @musicdev 6 ปีที่แล้ว +1

      @@seanallen Awesome, gonna mess around with this tonight, you're a real homie!

  • @thevitruvianman9781
    @thevitruvianman9781 4 ปีที่แล้ว

    Okay, but how do I have a background Image that doesn't look strecthed?