Custom Alerts in Swift 5 (Xcode 11) - 2020 iOS App

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

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

  • @ahsanmughal9151
    @ahsanmughal9151 4 ปีที่แล้ว +5

    Now you got my attention 😀
    Finally you started building custom stuff from scratch without Pods and that is what I love to do 😀❤️

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

    thank u man! Guys pls keep in mind, if your project uses autolayout you will need to set NSLayoutConstraint instead of setting frame of each uiview

  • @komilisakov3599
    @komilisakov3599 2 ปีที่แล้ว

    Thank you very much. It helped me a lot

  • @KailashAnand06
    @KailashAnand06 4 ปีที่แล้ว +2

    Thank you so much! These are the kind of tutorials im looking for!

  • @87t78ghjkh
    @87t78ghjkh 2 ปีที่แล้ว

    Nice, but it does not redraw after rotation

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

      You need to just set up auto layout for it

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

    thank you, so much useful!!

  • @swifty3793
    @swifty3793 2 ปีที่แล้ว

    How do I make this alerView rotate along with orientation ?

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

    Is there anyway to call the dismiss without having to hard code it in the viewcontoroller? I don't want to have every viewcontroller write its own dismiss action.

  • @kevin45385
    @kevin45385 2 ปีที่แล้ว

    Really great tutorial, thanks for sharing! Is `func dismissAlert()` at the caller/viewcontroller necessary? I'm trying to figure out who calls it, or why it's needed because it works without it for me.

  • @kathryndonaldson1455
    @kathryndonaldson1455 4 ปีที่แล้ว +2

    Thank you - this works really well. I am also trying to call two different alerts in one view controller. They function well but the information on each card does not clear after 'Dismiss' and then the next card shows messages from both cards etc. Could you please tell me how to clear the contents after each 'Dismiss' because it seems you can only have one 'Dismiss' method in the view controller.

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

      Thanks, youll need to extend the components to clear on present or dismiss

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

    Thank you very much for your video - was very helpful.
    My question is:
    How do I set the custom alerts so it will have a scroll view bar in its side so in case the text is much longer than the preset content view than I will be able to scroll down through the alert and read all the text?

  • @mediastreamer-24
    @mediastreamer-24 3 ปีที่แล้ว +1

    thanks,, this is a very explained tutorial, how can I add another button ?

  • @senapathirajesh3126
    @senapathirajesh3126 2 ปีที่แล้ว

    how to move from observable object (class) to swiftui(view)(i mean navigation ) is it possible ? if possible how to do that

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

    Love your tutorials. Would love to see a AV music player that uses media picker saving the selected songs into a table view where you can rearrange and edit the list. Then play the user selected songs in a separate player view

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

      Thanks! Added that to my list :) make sure to sub and stay tuned

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

      @@iOSAcademy Awesome and already suscribed. Looking forwared to this very much! Thanks

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

    I think you should put one more tab in iosacademy community website where people can share their doubts and error all related to iOS development , just like stack overflow but for iOS development , what do you say ??

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

      This is a great idea

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

    thank you but when you complate project you should try to give complate project in github or drive

  • @zeynepgozubuyuk2108
    @zeynepgozubuyuk2108 3 ปีที่แล้ว

    hi afraz thanks for everything. I want to do it with struct, not with the alert class structure because when the message content changes, the old message stays and overwrites. It must be due to the inheritance property of classes. can I help me this issues. because " @objc " can only be used class

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

    Would adding a table view to the custom alert be similar to adding the labels to the alert view?

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

      Yup! Make sure to sub :)

  • @zion3762
    @zion3762 3 ปีที่แล้ว

    Thank you ! This tutorial really help me. It is the firs time not using Cocoa Touch class(?) . I mean not using 'UI ~'.
    I have a question. Why Using only class?? I mean . UIView and UIViewController??

    • @iOSAcademy
      @iOSAcademy  3 ปีที่แล้ว

      You’re welcome

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

    Can I get code

  • @nehal076
    @nehal076 3 ปีที่แล้ว

    Please share source code

  • @ДемьянНежданов
    @ДемьянНежданов 3 ปีที่แล้ว +1

    copy pasted your code and got a retain cycle(( but good stuff anyway, thanks for the tutorials

    • @iOSAcademy
      @iOSAcademy  3 ปีที่แล้ว

      Thanks

    • @rh5443rr
      @rh5443rr 2 ปีที่แล้ว

      I have the same issue with this code...did you manage to get rid of the retain cycle?

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

    how can i got your attention ...make an ecommerce application tutorial without pods...

  • @AnkitJain-km2eo
    @AnkitJain-km2eo 3 ปีที่แล้ว

    Where is source code.

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

    I wanna know how to make some Albums like iOS Photo Library.

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

      Great idea! Make sure to subscribe and stay tuned :)

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

      iOS Academy OK!Thanks for making great video everytime👍🏻

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

    This was kinda clickbait bro but okay

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

      The thumbnail reflects that you can customize the custom UIView container with anything

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

    Are you from Pakistani origin?

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

      The world may never know ;)