Swift News - WWDC '24, MVVM Dead?, App Sound Design, 1 Star Reviews, Indie Dev & More

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 มิ.ย. 2024
  • Swift News is a monthly show where I showcase the latest news, blog posts, videos and more from the world of iOS development and Swift.
    App Masters TH-cam Channel:
    / @appmasters
    All Links are kept here -Swift News GitHub Repo:
    github.com/SAllen0400/swift-news
    My new SwiftUI Course (HealthKit, Swift Charts & Git/GitHub):
    seanallen.teachable.com/p/por...
    In this episode I cover:
    - WWDC 2024 Dates
    - Apple Developer TH-cam Channel
    - App Masters TH-cam Channel
    - MVVM Replacement
    - Sound of Software
    - Lickability Design Breakdown - Journal App
    - 1 Star App Reviews - Get Rid of Them
    - Are You a Trader?
    - Indie App Purpose
    - And more!
    My iOS Dev Courses:
    seanallen.teachable.com/
    My Source Code:
    seanallen.teachable.com/p/sou...
    X (Twitter):
    Sean Allen - / seanallen_dev
    Hired.com:
    hired.com/x/1n01g
    Book and learning recommendations that help out the channel if you decide to purchase (Affiliate Links):
    Mark Moeyken’s SwiftUI Books:
    www.bigmountainstudio.com/a/f...
    Paul Hudson's Hacking With Swift:
    gumroad.com/a/762098803
    RocketSim - Enhance Your Xcode Simulator:
    gumroad.com/a/51797971/ftvbh
    Objc.io Books (Thinking in SwiftUI & Advanced Swift):
    gumroad.com/a/656585843
    Timestamps:
    0:00 - Announcement
    0:27 - WWDC 2024
    1:02 - Apple Developer TH-cam
    1:31 - App Masters
    2:59 - MVVM Dead?
    7:15 - Sound of Software
    10:21 - Lickability App Design Breakdown
    11:53 - 1 Star Reviews - Get Rid of Them
    12:36 - Are You a Trader?
    14:04 - Indie App Purpose
    15:54 - Masters Vision Pro
    #swift #softwaredeveloper #iosdeveloper
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @vinidotco
    @vinidotco หลายเดือนก่อน +25

    I'm simple person, see a new Swift News video and gave a thumbs up
    thanks Sean

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

      I appreciate that!

  • @srzurka
    @srzurka หลายเดือนก่อน +3

    Thank you Sean. That was very informative. I always appreciate when you unpack the reasons behind your perspective.

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

      Glad it was helpful!

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

    With SwiftData, because model objects are observable, it's natural to make one object for everything. This works well, I think, even though it goes against historical practice.

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

      Ok, the obvious negative showed up when I needed to use the models in a widget. Including the view code with the model brings *way* too much stuff from the app into the widget. My new approach is to put minimalist models in a common framework that can be linked to both the app and widget. Then each target adds extensions for the views in that target. My initial experiments were positive with this approach. Is there a better way?

  • @FloWritesCode
    @FloWritesCode หลายเดือนก่อน +3

    Great episode, Sean! Thanks for sharing the idea of avoiding MVVM as well. I think all the recent Observation, SwiftData & SwiftUI releases made this simple architecture even better.

  • @filip_hood
    @filip_hood หลายเดือนก่อน +1

    Great vid Sean! Thanks for all the info! I'm trying to focus more on actually "doing things" instead of spending my time on social media, so this sum up of what people are talking about and what's new is just great. Keep it up! :)

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

      Same here 🙌🏼

  • @pkhkp
    @pkhkp หลายเดือนก่อน +14

    Yeah, coupling your view with logic and services, what could go wrong ? It goes against having small views that have no responsibility other that displaying stuff. Seems very, very wrong, even occasionally. I'm refactoring this kind of stuff almost daily.

    • @gregorymoore2877
      @gregorymoore2877 หลายเดือนก่อน +4

      You mean you can't make your views smaller by moving code into them that should have been in the view model? 🤯

  • @mikelCold
    @mikelCold 22 วันที่ผ่านมา +1

    I called this on the first release of SwftUI and the people over at stackoverflow went nuts with MVVM. Good to see that I always knew MVVM was going to be bad.

  • @user-ic8rm2zf7v
    @user-ic8rm2zf7v หลายเดือนก่อน +1

    Thanks Sean for all the content

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

      No problem!

  • @AJ-vy3ei
    @AJ-vy3ei หลายเดือนก่อน +1

    Love the episode, thanks for your work

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

      Glad you enjoy it!

  • @vamsi3877
    @vamsi3877 หลายเดือนก่อน +1

    Thanks Sean 👏

  • @captainmichaelj2321
    @captainmichaelj2321 หลายเดือนก่อน +1

    Thanks for this, I love this content, I am hoping you can continue this if your time permits.

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

      Since it's only once per month, I will definitely continue Swift News. At least through the end of 2024, then we'll reassess. But so far it's been very well received.

  • @kslazinski
    @kslazinski หลายเดือนก่อน +1

    I was mentioned! 🤩 Thanks, Sean! 😀

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

      Thanks for sharing that tip!

  • @JohnGers
    @JohnGers หลายเดือนก่อน +4

    You mentioned you don’t know what to call this architecture, from a quick glance it seems similar to a Flux pattern but with the functions that would be in your store instead being called from the view. Which might be a little dangerous because you’re coupling your views to the frameworks/components the store needs to perform what it needs but that’s a fairly easy problem to solve with proper dependency inversion. Apple likes to use this Flux style pattern in a lot of their examples too and it’s going to be even more enabled with the Observation framework. Pretty much any architecture that has a unidirectional style data flow seems to work really nicely in SwiftUI at least in my experience.

  • @victorioborge
    @victorioborge หลายเดือนก่อน +1

    Great video as always! Swift News is my favorite source of news.
    Which software do you use to create the 'laser pointer' while you talk?

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

      Not sure what you're referring to. I'm just recording my screen with Safari open and highlighting parts of text with my mouse.

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

      @@seanallen I just realized that the video I mentioned is from App Master not you, I got confused, sorry! lol

  • @5richmedia5
    @5richmedia5 หลายเดือนก่อน

    I've tried to build iphone apps in xcode, but every time I launch it on my imac it takes minutes for xcode to launch and load, I get frustrated, is there any way to speed up xcode? My imac is from 2019.

  • @silver10188
    @silver10188 หลายเดือนก่อน +1

    awesome thank you

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

      You're welcome!

  • @mortezafaraji479
    @mortezafaraji479 หลายเดือนก่อน +1

    Babe Wake up!!! Swift News just dropped!!!

  • @WestCoastAce27
    @WestCoastAce27 หลายเดือนก่อน +1

    Great info as always; esp how to dispute (and hopefully eliminate) 1 stars. But it would be nice if Apple put a little AI into the review process. A 1 word ‘junk’ review gives a dev nothing to go on. Should be an easy coding exercise to verify that a review has some content/context and isn’t just from a rival.
    PS - congrats to all WWDC attendees. Have fun; be safe.

  • @ChadGaul
    @ChadGaul หลายเดือนก่อน +3

    “Bibbity boops and bops” 😆 Ah good stuff, Sean.

    • @seanallen
      @seanallen  หลายเดือนก่อน +2

      That’s the official term.

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

    Quick questions because i did do some MVVM with SwiftUI and combine and it did seem pretty natural especially when using @published variables.
    1. How do you inject the SwiftUI environment variables into a unitest?(not well versed in SwiftUI environment variables).
    2. doesn't the fact that the business logic sits inside the SwiftUI file hinder unitests?
    Im not saying MVVM is the optimal in any situation, but the architecture you described in the video seems to have a lot of issues when a developer will want to test it.

  • @gregorymoore2877
    @gregorymoore2877 หลายเดือนก่อน +1

    I was thinking of writing an article. The title I have is "When To Add Sound To Your App." "Never" is as far as I've gotten.

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

    This Vision pro concept for sport is amazing as hell

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

      Agreed!

  • @victorriurean
    @victorriurean หลายเดือนก่อน +1

    🔥

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

    I think TCA is quickly becoming the next big way to architect SwiftUI apps. Have you looked into that? Did a quick search on your channel for it but couldn't find anything.

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

      I've researched it a little, but haven't built anything with it. I don't know enough to have an opinion on it.

  • @randomjjj4034
    @randomjjj4034 หลายเดือนก่อน +1

    ❤‍🔥❤‍🔥

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

    Ugh the EU getting their nose everywhere on ppl’s business is just getting out of hand. Each and everyday i convince myself more and more that Brexit wasn’t such a terrible idea after all

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

      It's annoying, that's for sure.

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

    Between the EU trader qualifications and the privacy nutrition labels, feels like it's overly hard/er just to publish an app with some ads to make some money.

  • @Tyheir
    @Tyheir หลายเดือนก่อน +1

    You should react to some of the videos shitting on the Vision Pro and giving your thoughts on it.

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

      That's not really my style, but I do believe Apple Vision Pro will be a success in the long run. I see huge potential, but it's certainly not there just yet.

    • @Tyheir
      @Tyheir หลายเดือนก่อน +1

      @@seanallen that’s fair

  • @indiekiduk
    @indiekiduk หลายเดือนก่อน +1

    I think the mvvm crowd didnt learn or refused to learn structs or View structs. I noticed in your vid you were calling an environment struct an object!

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

      I'm not great at using the text book language for things. It's something I can be better at. I hear it all the time in my videos when I call something a variable, but I defined it as a "let". Like... c'mon. You know what I mean.

  • @kironet
    @kironet หลายเดือนก่อน +3

    MV is cool and so, but how the hell do you write tests for it? Most apps are not as simple as shown in the video. I have VMs with hundreds of lines of code since the project is not small, if I move it all to inside the view it'll become a nightmare to navigate...
    Don't tell me "tests are worthless" as the dude who created that "famous" discussion...

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

      Then stay with MVVM 🤷. The point of the discussion that isn't to say "MVVM is bad, never use it". I say it in the video, there's no one right architecture for all situations and each has their pros/cons.

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

      @@seanallen I'm staying with MVVM but all these articles/videos(not you) saying how MV is amazing, never actually show a real world example. They always show the most basic code snippet. Most of them avoid talking about tests or straight up say tests are worthless.
      Maybe you could make video comparing these two arch. without using the most basic code snippets(even just simple call with pagination logic would suffice, I think)

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

    is Swiftui is still New...when become mainstream ...

  • @noorlancer
    @noorlancer หลายเดือนก่อน +1

    The sponsor of your video isn't making money from apps. His revenue is being generated from selling products from his youtube channel

    • @seanallen
      @seanallen  หลายเดือนก่อน +1

      I'd love to hear more details. I've been following him for years and his TH-cam channel just recently started to grow. Of course, I don't have insight into their business but I can't imagine the TH-cam channel was super impactful before the last year or two.
      Regardless, the channel has great information. I stand by that from personal experience.

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

    Vanilla 😌

  • @smotch7533
    @smotch7533 หลายเดือนก่อน +2

    4:15 I would not recommend this if you ever want to test your app.

    • @seanallen
      @seanallen  หลายเดือนก่อน +1

      I don't have real world experience with it yet, but he says testing is the most common question he gets and addresses it at the bottom of the article.

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

    I AM SO DEMOTIVATED :(

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

      Why?

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

    I'll stick with MVVM, its easy to understand, it separates and keeps everything neat and easy. You automatically know whats wrong and where it went wrong. Whatever this guy is suggesting will be a nightmare! I get that he's geeky to come up with that, but always remember to keep it simple!

  • @JonatanEdOrtiz
    @JonatanEdOrtiz หลายเดือนก่อน +5

    I imagine this is terrible for unit testing.

    • @seanallen
      @seanallen  หลายเดือนก่อน +2

      I haven't used it in a real app yet, but he addresses testing at the bottom of his article.

    • @JonatanEdOrtiz
      @JonatanEdOrtiz หลายเดือนก่อน +1

      ​@@seanallen I'll take a look.

    • @pkhkp
      @pkhkp หลายเดือนก่อน +5

      "Since your views are just expressions of a state, the best tests are snapshot tests."
      Crazy this kind of stuff is taken seriously in 2024. We never learn do we. It's not about testing views, it's about testing the logic that changes the state of your view, the stuff that he removed from the VM and put in the view.

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

      You don't need objects just for testing you can test funcs

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

      @@pkhkpu don't need tests in 2024 just hit run it works then upload to appstore jobdone. If u get bug reports just ignore them for now

  • @iLoveAppl3947
    @iLoveAppl3947 หลายเดือนก่อน +2

    MV with SwiftUI for small projects... if you want MVVM then you are better off going with UIKit unless you wanna fight the framework, spend hours and days for workarounds then spend weeks trying to solve the bugs and unwanted behaviours you get from the workarounds and this is all because you have decided to go against a framework... the average joe needs to learn that you shouldn't default to a strict architecture for every single project but hey try teaching this to ignorant people

    • @pkhkp
      @pkhkp หลายเดือนก่อน +1

      We use MVVM and SwiftUI for a critical segment of our application, there are no big warkarounds and bugs are easy to catch and fix. What do you mean practically by "fighting the framework" or "workarounds" ? What does a published UI state in the MV not solve ?

  • @JasonMitchellAZ
    @JasonMitchellAZ หลายเดือนก่อน +1

    Swift News, new course from Sean, WWDC right around the corner, and the MLS immersive demo (was super cool)… this is great!
    (Also, I created a small PR for Swift News, if you’re interested in the fixes.)

    • @seanallen
      @seanallen  หลายเดือนก่อน +1

      Fun times! Thanks for doing that. Approved & merged!

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

    Why do you start speaking right after 0.00000000000001 seconds after the start of the video? I would prefer 0.5 or 1 or 2 seconds of silence before speaking.

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

      Got it

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

      @@seanallen Thank you for considering.

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

      😂😂😂😂

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

      @@trustmub1 Could you please explain your use of emojis? I am not sure if I understand it correctly. I made a suggestion and said "thank you", when seanallen replied. Of course he is free to ignore my suggestion. But I am sincerely annoyed by the mentioned point.

    • @trustmub1
      @trustmub1 หลายเดือนก่อน +1

      @@malschauen6267 the emojis where valid at the time, I realised how I had the same thought and realised there is always someone out there who will beat you to comment.

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

    Use the environment and keep your views really small. Wait when you told to add analytics, localization, location, networking, side scrolling carousels, error states, loading states, alerts, core data and more. Then try to keep your view really really small. 😂😂😂

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

      All this architectures of view only that Azam and others plough on twitter works really great with screens containing list with emoji fruits. 😅

  • @ro342
    @ro342 หลายเดือนก่อน +1

    MVVM dead AF!

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

    ok