Xcode + ChatGPT, @MainActor Gotcha, SwiftUI Container Views, SwiftUI Custom Modifiers & More

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

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

  • @rafaelplinio6527
    @rafaelplinio6527 Месяц назад +6

    I studied a lot last year only with SwiftUI because I was unemployed. I got a job 5 months ago (UIKit) and kind of forgot things in SwiftUI. From what I noticed this year, SwiftUI keeps changing A LOT compared to what it was last year. Now that I am employed I have way less time to study (exhaustion) and feel like I am missing and forgeting more and more SwiftUI. Gonna have to study all over again in the future.

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

      That's not the case... You dont need to study all over again. Just recreate your existing/current UIKit app in SwiftUI and you will be good to go. Learning while doing things is the best way to learn.

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

      yes, there is a problem in Apple ecosystem about pace of "innovation" (more like constant over-reengineering). Sean always seems enthusiastic about it, but honestly Its exhausting.. after 10 years or more in the software industry, i cant tell this pace is unsustainable (or, as chatGPT put it: "Apple priority is to sell hardware, not developers sanity", lmao).
      Im switching to React Native, just too tired for this hamster wheel

    • @w0mblemania
      @w0mblemania Месяц назад +1

      I find that I have to study and "rediscover" stuff all the time.
      There's so much to take in, and not everything sticks.
      Every single new project, I come across some problem and I'll Stack Overflow it... only to find that my questions, and worryingly, my *answers* are there...
      The older I get, the more I realize that there's a gulf between "study/knowledge" and actual *work*.

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

    3:19 I use a container `AStack` (Adaptive) that changes a `HStack` to `Vstack` and using `ViewThatFits` when a View will not fit horizontally eg dynamic text get to big. Like the fact that I only have to change one letter to change a `HStack`

  • @twizzlestix9309
    @twizzlestix9309 Месяц назад +1

    I’ve started using cursor and have found Claude to be much more effective than ChatGPT. Whenever I switch in cursor to gpt I just end up with broken code and errors. I was under the impression Apple was going to implement this type of workflow into Xcode with swift assist. They seem way behind the ball in making developing with ai easier.

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

    Alex Sidebar and Claude is the best time saver for Xcode that I know of. Saving me so much time.

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

    Lots of goodies here. Happy Thanksgiving! Hope you’re enjoying time with the family.

  • @petersuvara
    @petersuvara Месяц назад +5

    I've used ChatGPT with Swift. I don't believe the've trained 4 and 4o with Swift 6. Also, it doesn't work well if you try to give it more than a bite size item to work with. But other than that, it's great for boiler plate.
    Also, some advice, don't use it to compare data set. It will fail, I tried getting ChatGPT to compare two large JSON sets, and it failed completely and I lost half a day trying to find bugs this way.

    • @seanallen
      @seanallen  Месяц назад +2

      I've used o1-preview with Swift 6 and it's been helpful. But yes, absolutely agree... small bites are the way to go.

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

      @@seanallen Agreed -- o1 is the way to go, but I keep getting cut off. 🔒🕔😆

    • @noprivacyverner
      @noprivacyverner Месяц назад +1

      its the worst crap like taking to a drunk man just repeating it self

  • @KevinFrench-m3s
    @KevinFrench-m3s 28 дней назад

    I still haven't found genAI very helpful for Swift but for Python, where I have much less experience, I have found it very helpful.

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

    Just a note on that $3000 MRR, and assuming that's actually net revenue, not just sales...
    If he's spending $30 a day on ads, that means his average MRR is actually only $2160.
    That's a $26,000 pa business, pre-taxes, expenses.
    Now, you could argue that he's "buying exposure" with a 28% ad budget, but you'd *really* want to drill down on the economics of that approach...
    FWIW, I did this approach many years ago. I found that we bought purchasers, but not really exposure. Once the ads stopped, the new customers stopped.

  • @keejay98195
    @keejay98195 Месяц назад +1

    i’ve found claude to be much more reliable for swift code, opinion on this vs chatgpt? i don’t wanna buy both pro versions but that inbuilt version looks like a great QoL upgrade

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

      I've never used Claude, so i can't say.

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

      @ with claude the main difference i felt that it had much more context so you could input all your services, viewmodels, models etc. so it had much more information to work with and be way more precise. maybe you could test it out for a future video if you’re interested :)

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

    thanks Sean 🙏🏽

  • @wordsOnThings
    @wordsOnThings Месяц назад +3

    Am I missing something? The github repo doesn't have this episode's links..

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

      Nope, I forgot to update it. It's now updated :). Thanks for the reminder.

  • @vamsi3877
    @vamsi3877 Месяц назад +1

    Thanks Sean 👏

  • @dexterdotcode
    @dexterdotcode Месяц назад +1

    Chat gpt just said to me that @retroactive is a wrong code and it doesn't exist 🤣🤣🤣

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

    Swift may not got to the MSC anymore

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

  • @chadgoodyear7905
    @chadgoodyear7905 Месяц назад +3

    Like if you like the Sketch icon that was the first simple transparent one.

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

    Like if you like the Sketch icon they ended up with.

  • @SHOLINGER
    @SHOLINGER Месяц назад +1

    don't know why ,
    i think i got used to watching your videos with face
    And all of a sudden it kind of feels totally
    different .
    😅 LOL

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

      Yeah, feels weird for me too. I mentioned it in the beginning, I have family staying in my normal filming room for the holidays. So I had to make do.

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

      @@seanallen Yep ,
      work is work
      and
      Happy holiday

  • @codeSwiftUI
    @codeSwiftUI Месяц назад +1

    First ! ❤