Build Your FIRST iOS App For Beginners (2024) - Tutorial

Поделиться
HTML-код
  • Опубликовано: 23 дек 2024

Комментарии • 193

  • @filipjakub6303
    @filipjakub6303 Год назад +10

    That is what I need, to start my passion. THX

  • @DR20005
    @DR20005 Год назад +21

    Hey!
    Probably because it is outdated, but the tutorial no longer works for me. I get an error when trying to add the emojis to the enum. Here is the workaround:
    import SwiftUI
    enum Emoji: String, CaseIterable {
    case checkmark = "✅"
    case cross = "❌"
    case wrench = "🔧"
    case sleepy = "💤"
    }
    struct ContentView: View {
    @State var selection = Emoji.checkmark
    var body: some View {
    VStack {
    Text((selection.rawValue))
    .font(.system(size: 150))
    Picker("Select Emoji", selection: $selection) {
    ForEach(Emoji.allCases, id: \.self) {emoji in
    Text(emoji.rawValue)
    }
    }
    .pickerStyle(.segmented)
    }
    .padding()
    }
    }
    struct ContentView_Previews: PreviewProvider {
    static var previews: some View {
    ContentView()
    }
    }

    • @aatishmehta9878
      @aatishmehta9878 Год назад +2

      thankyou very much for your code i am new to swift and just saw the video do the same but still get the error but tried to run your code it workls perfectly well . @DR2005

    • @grantmataicross8825
      @grantmataicross8825 11 месяцев назад +1

      I wish he would change the title of the video to not say 2024 if the code doesn't even work in January of 24.. I had the same problem and am brand new to Xcode, and its taken me over an hour to think of looking in the comments for the solution.. Thanks for the help!

    • @dbloyd2
      @dbloyd2 4 месяца назад

      Thank you. I have been wanting to build an iOS app for 15 years. Today I pulled up this tutorial and getting an error. My Xcode is 1 version higher. I guess every version changes the code to force developers to have to rewrite their code every year.

    • @ProFoxPlayer
      @ProFoxPlayer 4 месяца назад

      It ran fine for me with latest version of Xcode

    • @axsh970
      @axsh970 3 месяца назад

      THANK YOU i was scratching so hard why wasnt it working for me, did chatgpt everything and I was like am i Blind?? LOL

  • @jasonluckey2214
    @jasonluckey2214 Год назад +48

    Thank you for your very well put together teaching style. Everything is explained in a way that makes sense to a novice like me. I appreciate both your patience and your knowledge. It is a pleasure learning from you.

    • @iOSAcademy
      @iOSAcademy  Год назад +1

      You're very welcome!

    • @baddiezone
      @baddiezone Год назад

      I agree , it was very clear and to the point, no extra context that wasn’t unneeded i enjoyed watching this ❤

  • @frankl7694
    @frankl7694 Год назад +5

    What happens if I have everything setup exactly the way shown in the video leading up until 7:40 and after the third emoji on line 11 it says 9 in bright red and has a bar with white text saying Consecutive declar... please help I'm so confused

    • @pearlroselllusterio-cz8le
      @pearlroselllusterio-cz8le Год назад +1

      encountered the same error

    • @mykolasenyk1
      @mykolasenyk1 Год назад

      Hey man! I've just been faced with the same issue. How did you solve it?

    • @frankl7694
      @frankl7694 Год назад

      @@mykolasenyk1 I actually gave up because I couldn't figure out how to sole it, let me know if you come across anything

    • @Hrammal15
      @Hrammal15 Год назад +3

      I fixed it by changing the emojis

    • @_1_112
      @_1_112 Год назад

      @@Hrammal15 thank you bro. it was resovled by doing so

  • @sabanaazul3898
    @sabanaazul3898 2 года назад +9

    it's insane the amount of videos you are sharing with us, thank u!!!

  • @rishangprashnani4386
    @rishangprashnani4386 Год назад +2

    I have built an app and want to test it on my iphone. Do I need apple developer program for that?

    • @riribud
      @riribud Год назад

      did you figure anything out?

    • @rishangprashnani4386
      @rishangprashnani4386 Год назад

      @@riribud no you dont require. google it. its easy

  • @merion297
    @merion297 10 месяцев назад +2

    😁 Entered that enum part. The same as yours. For you, there's no issues. For me, »Consecutive declarations on a line must be separated by ';'«
    This is a great beginning. 😂 Did Apple change the syntax in the past year?
    Thanks for the tutorial btw, greatly appreciated! 🙏

    • @NayarJoolfoo
      @NayarJoolfoo 10 месяцев назад +2

      same here :(

    • @Ymitzna
      @Ymitzna 9 месяцев назад +1

      Sameeeee

    • @lekaumamabolo816
      @lekaumamabolo816 8 месяцев назад

      For those that get here and need help,
      declare (create) your enum like this:
      enum Emoji: String, CaseIterable {
      case 👩🏾‍🚀;
      case 😀;
      case 👨🏾‍💻;
      case 🥰;
      }
      to get "rid" (fix) the error mentioned in the comment
      #April2024

    • @fooskies3152
      @fooskies3152 4 месяца назад

      Try this :)
      enum Emoji: String, CaseIterable {
      case salute = "🫡"
      case soccer = "⚽"
      case cityscape = "🏙"
      case balloon = "🎈"
      case cool = "😎"
      }

  • @glenn_r_frank_author
    @glenn_r_frank_author 9 месяцев назад

    Do you have another video that shows me how to export the app to run on my iphone or ipad? Do you HAVE to publish it to the apple app store to do this or is there a way to install it on a device without the app store?

    • @janice5083
      @janice5083 9 месяцев назад +1

      To run the app on your iPhone, you'll need a cable to connect your devices. I think you'll be able to run it for 14 days; after that, you'll either have to plug in your cables to install it again or join the Apple Developer Program, which costs approximately $99 per year.

    • @glenn_r_frank_author
      @glenn_r_frank_author 9 месяцев назад

      @@janice5083 Thanks.. so just the USB connection between the ipad or iphone and my laptop I guess? Yeah i just would like to see it actually running on the device before. I also thought the cost of the Apple Dev Program was more than that. Thanks.

  • @martygo
    @martygo 8 месяцев назад

    One word to rank this content: awesome 🤩 . Congrats.

  • @robertlewis6543
    @robertlewis6543 Год назад +23

    What's in the 'RickandMorty' folder? lol Great video!

    • @Jay-vg8xc
      @Jay-vg8xc Год назад +5

      Nudes obvs 😅😂

    • @jamo9008
      @jamo9008 Год назад +1

      Not stuff! I can tell you that!

  • @alexjiang1563
    @alexjiang1563 10 месяцев назад

    you can also hit the fn key to get emojis if you have it in settings

  • @veljkoradic4646
    @veljkoradic4646 Месяц назад

    Mate , Now I’m fully ready , I want more!

  • @Ryland-tu6pj
    @Ryland-tu6pj 5 месяцев назад +6

    vid idea: one and a half hour of swift explanation

  • @glenn_r_frank_author
    @glenn_r_frank_author 9 месяцев назад

    So, because the title text is a "title" is that why it shows at the top in spite of the fact that the emoji and picker are above it in the code? Is there any reason that the NavigationTitle could not be in the code before the emoji code ... just for programmer sanity of remembering what order things are going to display on screen? or does it have to be in this order?

  • @cihanciftci08
    @cihanciftci08 Год назад +1

    thanks this examples.. i tried but why i taking this error "Cannot infer contextual base in reference to member 'segmented' i use macOs Cataline.Xcode 12.4

  • @Motawa88
    @Motawa88 Год назад +2

    for some reason Xcode is super slow on my m1 MacBook Air. Even VS runs better lol. The canvas /preview can't even load

  • @ninjaasmoke
    @ninjaasmoke 6 месяцев назад

    Please make this an entire series

  • @slavioli
    @slavioli Год назад +39

    Thank you! That was so much fun. I just started coding and this was very easy to follow.

  • @eruseicode
    @eruseicode Год назад +1

    That was so fun!

  • @johnaew.1781
    @johnaew.1781 10 месяцев назад

    omg thankyouuuu!! but is there a way to install it onto an actual mobile device? or is the only option to try it out in the simulation mode?

  • @WoolleyWoolf
    @WoolleyWoolf 8 месяцев назад +1

    Very very articulate and good talker. No teleprompter but everything on the fly. Great job. Maybe slow down and go easy on the concepts/jargon/scary computer geeky nerdy terms for the newbies.

  • @codestarrunner
    @codestarrunner 9 месяцев назад +7

    The current version of Swift won't work with the code in this video, it seems. Here's what works for me:
    import SwiftUI
    enum Emoji: String {
    case angel = "😇"
    case wavingHand = "👋"
    case flag = "⛳"
    case car = "🚘"
    static var allCases: [Emoji] {
    return [.angel, .wavingHand, .flag, .car]
    }
    }
    struct ContentView: View {
    @State var selection: Emoji = .angel
    var body: some View {
    NavigationView {
    VStack {
    Text(selection.rawValue)
    .font(.system(size: 150))
    Picker("Select emoji", selection: $selection) {
    ForEach(Emoji.allCases, id: \.self) {
    emoji in Text(emoji.rawValue)
    }
    }
    .pickerStyle(.segmented)
    }
    .navigationTitle("Emoji Lovers!")
    .padding()
    }
    }
    }
    #Preview {
    ContentView()
    .modelContainer(for: Item.self, inMemory: true)
    }

  • @LebenWerden
    @LebenWerden 8 месяцев назад

    If I execute print, I want the print output currently in the console to be cleared, and the new print output to appear there. It's annoying to click on the trash can icon every time. I haven't found anything in the settings.

  • @alexisk5978
    @alexisk5978 Месяц назад

    THANK YOU!!!

  • @BRad-mu6qr
    @BRad-mu6qr Год назад +1

    Thank you for sharing. Is there an app for the or is it just for the computer

    • @iOSAcademy
      @iOSAcademy  Год назад +1

      The video shows how to build an actual app for it

    • @ytinfluenza5804
      @ytinfluenza5804 Год назад

      @@iOSAcademydo u have any app similar to this that can be made on Windows

    • @ytinfluenza5804
      @ytinfluenza5804 Год назад

      @@iOSAcademyalso after we make this app are we able to publish the app in App Store?

  • @faengelm
    @faengelm Год назад +1

    Well done. How do I make it run on my iPhone?

  • @OOAK-Ireland
    @OOAK-Ireland Год назад +6

    sorry but you are talking about all different sings such as dollar sign, the @ etc etc. what does it all do? this is just follow the leader, but you are not explaining why.

    • @ThePerfectBalls
      @ThePerfectBalls Год назад +1

      G-O-O-G-L-E

    • @CousinJimbob
      @CousinJimbob 2 месяца назад +1

      That’s redundant to reply “google” to someone not understanding a video they likely googled to find. Lol I think learning how to learn is important but that was a valid criticism of this video.

  • @KrzysztofBob
    @KrzysztofBob 6 месяцев назад +1

    Nothing like to hit a brick wall that quickly ... error: Value of type 'Emoji' has no member 'rawValue' ???

    • @GiorgiGvichiani-pw6ht
      @GiorgiGvichiani-pw6ht 4 месяца назад

      same

    • @Rajenp0
      @Rajenp0 3 месяца назад

      enum Emoji: String {...your emojis go here}
      You probably forgot to put 'String' in the declaration

  • @bihireboris3407
    @bihireboris3407 5 месяцев назад

    THO I like this, It Emphases on the output than what the views are, What is the NAvigationView, what space does it occupy on the screen, what are the multiple things can we do on those individual views?

  • @paidfadez
    @paidfadez 8 месяцев назад

    What computer are u using ?

  • @jessicapdance
    @jessicapdance Год назад

    Hello I have a question -- for Picker part of your code I received this error "Accessing State's value outside of being installed on a View. This will result in a constant Binding of the initial value and will not update." but couldn't find anything on Stack Overflow. How can I resolve this issue?

  • @SiennaCommare
    @SiennaCommare 5 месяцев назад

    How do you start a second page?

  • @jhavikash2474
    @jhavikash2474 8 месяцев назад

    It's very helpful for me Thanks brother
    😊

  • @miguelconstantino-guzman5272
    @miguelconstantino-guzman5272 Месяц назад

    Very helpful! Thank you so much! 😄

  • @KEEVVY
    @KEEVVY 21 день назад

    Hi do you have a video explaining how to monetize a app, I made my first game, I know I have to pay apple 99$/year just to upload it but now I found ads over app came from 3th party like google or unity, I also understand I will need to write a policy for the app if I use ads & even host it on a website, I don't really understand how the add will be integrated in app, I will need to modify my swift game code, how it's all this done, sounds more complicated than just making the app

  • @BrandonHall-rd2sp
    @BrandonHall-rd2sp Год назад +1

    Does this app work on mobile?

  • @HyperboreanJim861
    @HyperboreanJim861 Год назад

    Can I build the app from my android phone? I don't have a desktop or a laptop.

  • @RachelGatto
    @RachelGatto Год назад

    Do i have to have a mac? i dont see it in the microsoft store

    • @BwnnyRxbbit
      @BwnnyRxbbit 6 дней назад

      Yes or get a virtual Mac setup

  • @wuyanchu
    @wuyanchu Год назад +3

    brilliant tutorial, thx and god bless you and the world.. regards from hong kong ^_^

  • @luispagarcia
    @luispagarcia Год назад +3

    Really fun project! Thanks!

  • @TravelEverywhere25
    @TravelEverywhere25 Год назад +2

    Thanks for making this video , i really enjoyed making my first ios app

  • @zabaizabai2
    @zabaizabai2 2 года назад +2

    But how to get the app in the store?

    • @iOSAcademy
      @iOSAcademy  2 года назад +1

      I have a dedicated video on this

    • @PaulTurley81
      @PaulTurley81 2 года назад

      ruclips.net/video/bz_KJdXylh0/видео.html on this video

  • @Passion1111
    @Passion1111 9 месяцев назад

    Very good video thanks bruh

  • @moshudoduwade219
    @moshudoduwade219 Год назад +1

    I built the app how do I put the app on my iPhone?

    • @iOSAcademy
      @iOSAcademy  Год назад +1

      You can connect your phone to your computer & run to your iphone

  • @Victor-oy8bj
    @Victor-oy8bj Год назад +2

    how did you expand without moving mouse at 2:50??

  • @Meltdown_Gaming
    @Meltdown_Gaming 4 месяца назад

    I've been programming for years now, but I'm new to swift. I still got lost in this beginners tutorial. you never explained some things that you did, such as the "." you added at 7:14

  • @FederikoKorili
    @FederikoKorili Год назад

    Thank you !

  • @charlning7603
    @charlning7603 Год назад +2

    Thank you so much for posting this video! I found the feeling of being a software developer back!

  • @la.vibracion
    @la.vibracion Год назад

    incredible teacher

  • @AyoubErrbayeb
    @AyoubErrbayeb 10 месяцев назад

    cool video)

  • @АлексейВолович-н7к
    @АлексейВолович-н7к 8 месяцев назад +1

    thise emoji enum doesn't work

  • @PorchiaDallas
    @PorchiaDallas 7 месяцев назад

    This video is for those who are familiar with code. Great video if you want to follow the leader.

  • @BunFrFr
    @BunFrFr 4 месяца назад

    Anyway to do this without a Mac?

    • @BwnnyRxbbit
      @BwnnyRxbbit 6 дней назад

      just get a Mac. Windows sucks

  • @nancyforcey7454
    @nancyforcey7454 6 месяцев назад

    Thank you!!

  • @JeffWatters-w6f
    @JeffWatters-w6f Год назад

    I'm a C-programmer from way back. Barely recognized the code here. Nice work though. So I have the application, which is cool, but the goal is to get it on my phone. Where's that video?

  • @kuroshiromi
    @kuroshiromi 9 месяцев назад

    What if my computer doesnt support xcode?

  • @kwamenadadson
    @kwamenadadson Год назад

    Thanks buddy

  • @rudedog979
    @rudedog979 7 месяцев назад

    Many thanks for your channel and videos...although only a year old, the xcode I downloaded today has some slightly diff options. but overall, great beginner video, just what I needed.

  • @omotayojuliana6489
    @omotayojuliana6489 10 месяцев назад

    Please I want to learn a step by step process of creating an app this one is confusing me

  • @sainttiago012
    @sainttiago012 10 месяцев назад

    Thank you so much for this!

  • @edkfilms
    @edkfilms 10 месяцев назад

    Thanks for sharing this video

  • @Girlsgirl03
    @Girlsgirl03 Год назад

    I have the best ever app idea ever I need to make it

  • @victorriurean
    @victorriurean 2 года назад +1

    gl learning everyone

  • @robert06052
    @robert06052 Год назад

    How come there is no swift controller file?

    • @iOSAcademy
      @iOSAcademy  Год назад

      Bc this SwiftUI which is a different ui framework

    • @robert06052
      @robert06052 Год назад

      @@iOSAcademy Thanks for your response. How do I change the framework?

  • @blenxoid
    @blenxoid Год назад +3

    Can I download Xcode on windows?

  • @iceshadow625
    @iceshadow625 Год назад +1

    Wow Swift is a very bizarre language. I’ve worked with C++, Java, JavaScript, PHP, and SQL and parts of it look like it wants to combine JavaScript with PHP. But the no ; at the end of each line is really messing with me.

  • @zbz1536
    @zbz1536 4 месяца назад

    this is feeling a lot like React. it wasn't like this when I did iOS dev 7 years ago lol

  • @theplanechannel5522
    @theplanechannel5522 6 месяцев назад

    App name?

  • @brmixes_
    @brmixes_ Год назад

    bro can you do one for a voice recording app

  • @moshudoduwade219
    @moshudoduwade219 Год назад

    Many Thanks😎

  • @Slipee-me8bi
    @Slipee-me8bi Год назад

    Ty

  • @garshalotfi834
    @garshalotfi834 Год назад

    Awesome tutorial!Big thanks to author

  • @AkbarshahJumanazarov
    @AkbarshahJumanazarov Год назад

    Thank you for your effort, this video was helpful!

  • @2goboyz
    @2goboyz Год назад +1

    Wow I was the 700th like

  • @its0300
    @its0300 Год назад

    reminds me a lot of Jetpack Compose

  • @jayblack8691
    @jayblack8691 11 месяцев назад

    Doesn’t work on code Mac studio

    • @iOSAcademy
      @iOSAcademy  11 месяцев назад

      Should work. What doesnt work

    • @awesomerandomness3307
      @awesomerandomness3307 11 месяцев назад

      @@iOSAcademy Dang dude ur a GOAT, for even responding.

  • @andreaderrico9916
    @andreaderrico9916 Год назад +1

    may I ask, using XCode or however is called, can I change the language like from the default from html CSS and js, it's the first time I've tried to make an app and especially for iPhone I don't know how it works and I already have the "application" ready as a website but it was written using html, CSS and Js.
    Or maybe you know a converter where i can put my html code and it change in a XCode i dont know

  • @RobertFixit
    @RobertFixit 9 месяцев назад

    Let me see if I can make something based on this video alone. I will update.

  • @Eneergy
    @Eneergy 9 месяцев назад

    can the app creator know when we put our data or our photos or it is stored in some secret server please reply bro❤

  • @MissssMegan
    @MissssMegan Год назад

    But what if you do not know how to code?

    • @iOSAcademy
      @iOSAcademy  Год назад +1

      I've got tons of videos to teach you :)

  • @navneetmittal4809
    @navneetmittal4809 Год назад

    you made so easy to understand, Thank alot

  • @WoolleyWoolf
    @WoolleyWoolf 8 месяцев назад +8

    And after building such simple it effective apps, make sure to have unethical super high subscription pay walls for users - it’s a joke.

    • @nateblanch5045
      @nateblanch5045 3 месяца назад +1

      I mean Tbf devs deserve money for their work but yeah I agree. a lot of apps have ridiculous prices lol

    • @WoolleyWoolf
      @WoolleyWoolf 3 месяца назад

      @@nateblanch5045 id rather choose microsoft 365 annual subscription at $150 than an indie printer app for $150 annual lol. So dumb.

  • @WoolleyWoolf
    @WoolleyWoolf 8 месяцев назад

    Don’t worry about the jargon. It’s best to open the stuff up, do each 1 by 1 like a cooking recipe, then voila!
    Doing all in 1 go after watching the whole cooking video will be like 😮

  • @jamiem7740
    @jamiem7740 Год назад +1

    i just saw your video it almost seems easy enough for a kid do this, what i would like to do for myself is to build a app with contents for fantasy football

  • @edcastle9821
    @edcastle9821 Год назад

    I will have to watch it more than once...I got lost :(

  • @HyperAnimated
    @HyperAnimated Год назад +2

    Dec. 2023 - So you don't have to dig in the comment replies - anyone hitting the "Consecutive declarations on a line must be separated by ';'" error when entering emojis, just change the emojis. They apparently don't have to be exactly what the creator entered, after fixing the first three, my fourth was a ninja and the error cleared.

  • @vuxj5
    @vuxj5 4 месяца назад

    “For beginners”
    Me after 3 mins: you lost me

  • @sushantneopaney9157
    @sushantneopaney9157 3 месяца назад

    The first thing I thought of when I saw this was that you were a little girl and I was like oh my gosh I love you so much and I love you so much and I love you so much and I love you so much and I love you so much and I can’t wait to see you soon I love you so 12:20 12:27 12:28 12:28 12:28 12:28 12:28 12:29 12:29 12:29 12:29 12:29 12:29 12:29 and I’m going home now and I’m so happy I hope you’re doing good and I’m

  • @tarekozz
    @tarekozz 9 месяцев назад

    It feels so much pain I'm a LUA, HTML, CSS Developper but this thing oh brother it's going to be a pain to learn

  • @harsimarsingh8956
    @harsimarsingh8956 8 месяцев назад

    Rick and morty supremacy

  • @teo_d_david
    @teo_d_david 10 месяцев назад

    When i manage to buy my first mac, this will be my first app. Thank you so much! 🎉🥳

  • @DeclanLawrie
    @DeclanLawrie 3 месяца назад

    Wow

  • @MUSHIN_888
    @MUSHIN_888 10 месяцев назад

    im not a beginner programmer but this looks so damn complicated

    • @iOSAcademy
      @iOSAcademy  10 месяцев назад

      It gets easier with practice

  • @manishah92
    @manishah92 2 года назад

    ❤❤

  • @Rooster411
    @Rooster411 Год назад

    Have the alt Ę

  • @TheWretchedSpawn
    @TheWretchedSpawn 6 месяцев назад

    I was dying from brain failure and kidney cancer and this helped me get through esp after my cat ran away

  • @Adamska_01
    @Adamska_01 Год назад

    Is it just me or the syntax is awfully weird

  • @Stevify-yt
    @Stevify-yt 3 месяца назад

    Who uses Windows

  • @sparklemoss1027
    @sparklemoss1027 Год назад +94

    Not sure why you put beginner in it lol. 🎉

    • @manzg1
      @manzg1 Год назад

      Maybe u dumb lol 🎉

    • @AuraeRecords
      @AuraeRecords Год назад +2

      I am so lost

    • @ggunlistedarchive969
      @ggunlistedarchive969 Год назад +11

      because it is

    • @Jo4sh12
      @Jo4sh12 Год назад +19

      I could not imagine a simpler app…

    • @UncensoredCowboy
      @UncensoredCowboy 9 месяцев назад +9

      It’s a beginner app, but not a beginner course. You would need someone that walks you through the very basics of coding and how coding is formatted so you understand why and what is being done.

  • @LindsayIna-r2t
    @LindsayIna-r2t 2 месяца назад

    Robinson Michael Miller Joseph Jones Susan