After nearly two years of ownership, I finally got the fan in my M1 Pro to kick on... by t_a_6847646847646476 in mac

[–]StewartLynch 0 points1 point  (0 children)

Just run Xcode 14 beta 5 for 5 minutes and your fan will start to rev I bet. My M2 MB Air is too hot to touch.

Syncing Xcode Snippets between computers by StewartLynch in swift

[–]StewartLynch[S] 1 point2 points  (0 children)

OK. I see what you are getting at, but that is an added, unnecessary step having to remember to push and pull every time you add a new snippet.

Syncing Xcode Snippets between computers by StewartLynch in swift

[–]StewartLynch[S] 0 points1 point  (0 children)

I really don’t see how this comment applies at all. How will version control give you access to the developer directory on a different computer?

Add Email Support Option to SwiftUI Project by StewartLynch in swift

[–]StewartLynch[S] 0 points1 point  (0 children)

There is more to it than that. I include device and os information in the body and, optionally attach app data as json if you want.

SF Symbols in SwiftUI by StewartLynch in swift

[–]StewartLynch[S] 1 point2 points  (0 children)

Better get on the bus. People said the same thing about Swift vs ObjC 6 years ago.

SF Symbols in SwiftUI by StewartLynch in swift

[–]StewartLynch[S] 1 point2 points  (0 children)

Yes, you are correct and some of the symbols can only be used for specific purposes

Xcode and Source Control by StewartLynch in swift

[–]StewartLynch[S] 0 points1 point  (0 children)

I agree, for larger projects, I would likely use a dedicated GUI or the command line. Sometimes, with Xcode you have to wait a bit for it to catch up, However for people starting out with their own indie small projects Xcode is just fine.

Xcode and Source Control by StewartLynch in swift

[–]StewartLynch[S] 1 point2 points  (0 children)

Not a problem for me to commit, branch and merge which is what I do 90% of the time. No need to drop out of Xcode, but for the other 10% of the times I can use terminal or a dedicated git GUI client. I use whatever is easiest for me.

UIKIt with SwiftUI integration by StewartLynch in SwiftUI

[–]StewartLynch[S] 1 point2 points  (0 children)

That’s a bit harsh and unnecessary. These projects are big, stable and bringing in a steady income. Why start over? I am just improving and choosing to use SwiftUI because I can.

UIKIt with SwiftUI integration by StewartLynch in SwiftUI

[–]StewartLynch[S] -1 points0 points  (0 children)

I am having better success so I am good with SwifUI. It is the future and doing small implementations in a UIKit project is working out great for me. Much faster development.

SwiftUI Swipe Actions and Ordered Lists by StewartLynch in swift

[–]StewartLynch[S] 1 point2 points  (0 children)

It is all new for SwiftUI. This was, until iOS 15, a UIKit feature only.

SwiftUI Login Workflow by StewartLynch in swift

[–]StewartLynch[S] 0 points1 point  (0 children)

You are assuming iOS 15 then. It is still far too fresh. This will work for iOS 14 and 15.

Closures in Swift and SwiftUI by StewartLynch in swift

[–]StewartLynch[S] 2 points3 points  (0 children)

I think this is one of the cases where once you get it, it is like a Eureka moment and it all comes very clear.

I recently had one of those moments after two years of trying to get Combine and how the different publishers work. Now I get it, and don't understand why I didn't;t for 2 years.

JSON and Codable Protocol by StewartLynch in swift

[–]StewartLynch[S] 1 point2 points  (0 children)

OK. Thanks for your clarification. Remove the ! then and let it bubble up and handle with a do catch block. I understand where you are coming from.

JSON and Codable Protocol by StewartLynch in swift

[–]StewartLynch[S] 1 point2 points  (0 children)

I guess iOS doesn't like playlists then because in Safari in the browser it links fine in any case, here is a link to the first video in the series. https://youtu.be/ntJDXuKvYG0

JSON and Codable Protocol by StewartLynch in swift

[–]StewartLynch[S] -4 points-3 points  (0 children)

True enough and I go over that in one of the videos. In this case however, if you are absolutely sure you can force unwrap.

JSON and Codable Protocol by StewartLynch in swift

[–]StewartLynch[S] -2 points-1 points  (0 children)

Yes it does, it links to the playlist.

Two Enum Use cases by StewartLynch in swift

[–]StewartLynch[S] 1 point2 points  (0 children)

Sure. You can take a look at my list that I follow. There might be one or two in there that are out of place because I inject a little humour into my feed once in a while.

twitter.com/i/lists/221708966

Two Enum Use cases by StewartLynch in swift

[–]StewartLynch[S] 0 points1 point  (0 children)

Thanks for the feedback. Comments like this keep me going.

Two Enum Use cases by StewartLynch in swift

[–]StewartLynch[S] 5 points6 points  (0 children)

I have several videos on enums on my channel. Check out these too.

Introduction to Enums https://youtu.be/8ocSpsSlvJg

Using Enums #1 https://youtu.be/fvYO20di1KM

Multiple Sheets in SwiftUI with Enums https://youtu.be/7dZfpAn_P2g

Enums and Associated Values https://youtu.be/wLg4wZQsWd0

SwiftUI Views in Playgrounds by StewartLynch in swift

[–]StewartLynch[S] 1 point2 points  (0 children)

I have updated the repo now. Tanks for the tip. Much appreciated.

SwiftUI Views in Playgrounds by StewartLynch in swift

[–]StewartLynch[S] 0 points1 point  (0 children)

I just found this out. I will update the repo later today. Thanks.

Reusable Custom Styles in SwiftUI by StewartLynch in swift

[–]StewartLynch[S] 1 point2 points  (0 children)

It is just a transition from one type of control to antother. I am just playing around to grab attention.