@StewartLynch@iosdev.space
@StewartLynch@iosdev.space avatar

StewartLynch

@StewartLynch@iosdev.space

Focussed on iOS development and helping others improve their coding skills.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

StewartLynch, to random
@StewartLynch@iosdev.space avatar

I’m ready. Are you? No having fun with other devs in Cupertino for me. I’m serious now LOL

StewartLynch, to random
@StewartLynch@iosdev.space avatar

On the eve of , I thought I would share a short video on what I have done since WWDC 23. As many of you might be adopting later versions of iOS in your projects, you might find some of my content useful. I published over 60 videos last year.

https://youtu.be/i0G4ALkSKnw

StewartLynch, to random
@StewartLynch@iosdev.space avatar

Argh…. I screwed up. I messed up on code signing on the installer for the previous version of my Channel Listing App so the upgrader does not work. I sent an email to all who purchased with a direct link to the latest version.
If you haven’t got it yet, get it here.
stewartlynch.gumroad.com/l/obsjz
V1.05 includes video descriptions (might not come through until the next feed update on Sunday), the search bar no longer scrolls out of view and I have added a Find menu with keyboard shortcuts.

StewartLynch, to random
@StewartLynch@iosdev.space avatar

I have to say, Swift ArgumentParser is fantastic. Along with another CSV package, I was able to create a Command Line tool that parses my PayPal report into a very nice CSV file for each currency that I can import into my Accounting software and reconcile my accounts. Very slick and ligtning fast. If you are intersted in creating a Command line tool, check out this video.
https://youtu.be/pQt71tLmiac

StewartLynch, (edited ) to SwiftUI
@StewartLynch@iosdev.space avatar

The series on building a full app is complete.
In this video we create functions to encode and decode our list and as JSON stored in app Documents Directory.
https://youtu.be/bW52ZSOGWek
Full Series: https://youtube.com/playlist?list=PLBn01m5Vbs4B7bGUeaWJLi9mGqxYVJaAG&si=zBkpcG6PGOYx_c05

StewartLynch, to random
@StewartLynch@iosdev.space avatar

If you have been around as long as I have or even a few years less, and you are an Apple fanboy, like I am, you will really enjoy this book. A fascinating read. https://books.by/john-buck

StewartLynch, to SwiftUI
@StewartLynch@iosdev.space avatar

There is no time like the present to grab a deal, and what a deal this is. Simply the best written resources for #SwiftUI out there. You will not regret it. I own every one of them and use them regularly. I only endorse products I use. https://www.bigmountainstudio.com/a/77jt8

StewartLynch, to random
@StewartLynch@iosdev.space avatar
StewartLynch, to SwiftUI
@StewartLynch@iosdev.space avatar

This is the 6th video in a 7 part series on building a #SwiftUI app using #WeatherKit.
In this video I am going to show you how you can use the CoreLocation and MapKit frameworks to search for and add cities by name. Final persistence video on Wednesday.
https://youtu.be/puelrPxXj-8

StewartLynch, to random
@StewartLynch@iosdev.space avatar

One more reminder to drivers to always check your rear view mirrors before turning. My son was heading quickly down a hill on his road bike and got to the intersection just as someone was turning right. He hit the car and flew over the hood. He is at hospital now getting X-rays and ultrasound. Fortunatly, he seems OK, but it could have been a lot worse.

twostraws, to random
@twostraws@mastodon.social avatar

Tomorrow @mikaelacaron and I record the next @swiftovercoffee episode and we want your views for our open ballot! We're celebrating Swift turning 10, so tell us: how did it impact your life? Did it get you jobs? Did it help you go indie? Did it give you lots of fun? Tell us! 👇

StewartLynch,
@StewartLynch@iosdev.space avatar

@twostraws @mikaelacaron @swiftovercoffee Swift gave me a new lease on life. I had just been made redundant, was 63 yrs old so what was I going to do with my life? Swift came to the rescue and then 5 years later SwiftUI gave it a boost. I am forever greatful for this and for the community as a whole.

SuzGupta, to random
@SuzGupta@mastodon.cloud avatar

Hey all, I am stuck on Day 77 of and would love some help. I'm trying to implement this based on @StewartLynch 's excellent PhotoAlbum or Camera playlist and was almost done until bam! I ran into a wall with Xcode telling me on line 34 of my FormView that Static method 'buildExpression' requires that 'ToolbarItem<(), Button<Text>>' conform to 'View'. Code is here: https://github.com/SuzGupta/FrensList. Would love advice / a pairing session. TIA!

StewartLynch,
@StewartLynch@iosdev.space avatar

@SuzGupta You have two errors in yourToolbar.

  1. You cannot assign a UIImage to a data property so remove (or comment out now so that your line numbers match what I will tell you next) line 46. The previous line is correct whree you assgin the image’s jpeg data property to the fren.data. I use a compressionQuality here of 0.8 to reduce the size of the data object that is going to be stored in SwiftData. (1/2)
StewartLynch,
@StewartLynch@iosdev.space avatar
  1. On Line 57, you make the same error, you are trying to assign data to an image property and in fact, that image property is a computed property so you couldn’t do that even if you wanted to. The correct assignment is to the newFren.data property and not newFren.image.

If you me to walk you through this, fee free to FaceTime me. (2/2)

StewartLynch, (edited ) to SwiftUI
@StewartLynch@iosdev.space avatar

This is the 5th video in a 7 Part series on building a full weather app using .
In this video we will be adding the final forecast type and that is a 10 day daily forecast.

https://youtu.be/33AdLX2GU2c
Full Playlist is: https://youtube.com/playlist?list=PLBn01m5Vbs4B7bGUeaWJLi9mGqxYVJaAG&si=X5K-oWJpCoXiNGFG

dvrzan, to random
@dvrzan@iosdev.space avatar

I was recently a guest at a @kodecodev podcast where I spoke with @SuzGupta and @podcastdru about using SwiftUI and UIKit when developing your apps. They are amazing hosts and I had a great time! 😊

You can listen or watch our conversation here: https://www.kodeco.com/45116545-kodeco-podcast-uikit-to-swiftui-v2-s2-e9

StewartLynch,
@StewartLynch@iosdev.space avatar

@dvrzan @kodecodev @podcastdru Next on my listening queue

StewartLynch, (edited ) to random
@StewartLynch@iosdev.space avatar

Another one of those comments that I’m just not sure how to take. Do I take this as a compliment or should I be offended? Lol. Do I really sound like that?

StewartLynch, to SwiftUI
@StewartLynch@iosdev.space avatar

I have come across something with the Observation framework that is confusing me so if there are any #SwiftUI Observation framework experts out there that can explain this to me, I would be forever grateful. Why I don’t have to define the object as a State object?

video/mp4

StewartLynch,
@StewartLynch@iosdev.space avatar

@jonduenas Yes, it was the latter, and I have since discovered that SwiftUI automatically tracks any observable properties that a view’s body reads directly so no need to mark it as a State property.

StewartLynch,
@StewartLynch@iosdev.space avatar

@toddthomas Excellent Todd. Clear as a bell now for me. Thanks for taking the time to create that example. I understand now.

StewartLynch,
@StewartLynch@iosdev.space avatar

@toddthomas That was the part that confused me.

StewartLynch,
@StewartLynch@iosdev.space avatar

@Mecid Yup. I get that, but if the parent does not change there is no need for @State and that is different from ObservableObjext and what I was missing.

StewartLynch, to SwiftUI
@StewartLynch@iosdev.space avatar

I am moving up my release schedule for my 7 part series. Here are the latest two in the series.
Make your app shine with dynamic backgrounds hourly forecast and an updated UI.

Video 3: https://youtu.be/oCJRZJ_Kb4s
Video 4: https://youtu.be/jgmkbRGgKxM

StewartLynch, to random
@StewartLynch@iosdev.space avatar

I’ve updated my Channel Listing app.
This update, besides showing thumbnails of yet to be published videos, also includes an auto updater so no need to download and replace the app after this.
Please update to version 1.04 now if you already have the app.

https://stewartlynch.gumroad.com/l/obsjz

StewartLynch, to random
@StewartLynch@iosdev.space avatar

I need some advice regarding Audio Hijack from @RogueAmoeba
It it too good at what it does. When I use to record directly in to Audacity, I would mark flubs by snapping my fingers or using a clicker so I could find the clip during edits. Now with Audio Hijack it filters those clicks out and I can’t find the error without listening to the entire clip. How do you mark a clip for editing while recording?

teissler, to SwiftUI
@teissler@hachyderm.io avatar

WWDC24 is right around the corner. Before the excitement and rush of what's to come, I want to share some navigation fun facts and tips. None of this is new, having been discussed previously in sessions, etc. From talking with developers, these are parts of the system that are often overlooked, or forgotten about This is all running on macOS Sonoma 14.4, Xcode 15.3

StewartLynch,
@StewartLynch@iosdev.space avatar

@teissler Your series on Navigation is priceless. Will you consider publishing them all in a blog post or something once done. Right now, I am saving links to all of the posts.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • mdbf
  • ngwrru68w68
  • InstantRegret
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • tacticalgear
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • DreamBathrooms
  • provamag3
  • ethstaker
  • GTA5RPClips
  • modclub
  • tester
  • Leos
  • osvaldo12
  • cisconetworking
  • everett
  • cubers
  • normalnudes
  • anitta
  • megavids
  • lostlight
  • All magazines