Josh Asbury
@theoriginalbit
Followers
149
Following
2K
Media
54
Statuses
2K
Specialist Lead iOS Engineer (contributor Tech Lead) at Concentrix Catalyst // @GeelongCats // ❤️ waterfalls, beaches, sci-fi, and tech
Melbourne, Australia
Joined March 2010
In Xcode 14.0 Beta 2 Combine has received a super welcome update! They've added primary associated types to Publisher so now we can write "some Publisher<Output, Error>" instead of erasing to AnyPublisher! Learn more about primary associated types here: https://t.co/j4PxAAWHAB
13
89
466
@swiftbysundell FYI you have the same issue in your post. You use a SettingsConvertible protocol when you should just add buildExpression to your result builder to convert the single setting into a settings group. It ends up much cleaner and one less type with extensions in code
0
0
0
⚠️ Don't skip UIKit! If you are looking for an iOS developer job, I have one advice for you: • Don't skip UIKit! I know UIKit is hard to learn, but almost all apps are developed with UIKit. P.S. With UIKit you will have more control. #iosdev
18
23
204
New idea: "Extreme whiteboarding". Send your applicants to the beach and have them attempt writing algorithms in the wet sand with a stick before the sea wipes it out. If that doesn't prove your applicants can code under pressure, I don't know what will.
10
15
93
The iOS community is so amazing, sharing and helping each other improve. Couldn't keep it down to the usual 5 tips! Issue #9 includes gems from @theoriginalbit @JordanMorgan10 @ZiadeMarcus @swiftandtips @basthomas @smileyborg @guillaumealgis ✨ https://t.co/23CHVx6YKL
1
5
30
I have just published a significant update to my PreviewView library. 🎉 PreviewView leverages Xcode’s SwiftUI preview canvas to allow rapid prototyping of UIKit views and view controllers! Check out the full release notes on GitHub
github.com
A rewrite from the ground up, your UIKit previews are now defined from a SwiftUI-inspired DSL. Replicating a complex in-app design has never been easier, whether the screen you're previewing sh...
2
10
46
Thanks to some questions from @dimsumthinking, and a good tip from @theoriginalbit I've just updated my post on Singletons vs shared objects to have better information about thread safety
donnywals.com
A common pattern on iOS, and in Swift, is to define an instance of an object that you can access from any place in your app. Common examples are , , and . These objects can all be considered shared…
1
4
20
1
6
12
In addition to publishing a new Codable post, I made a couple of improvements to an existing post based on feedback from @theoriginalbit. The decoding logic in this post is much nicer now:
donnywals.com
Decoding data, like JSON, is often relatively straightforward. For a lot of use cases, you won’t need to know or understand a lot more than what I explain in this post. However, sometimes you need to…
0
3
19
My series of blog posts on Codable is shaping up nicely. First post is done, and I have about 8 planned right now. They’ll all tie in to each other so I’ll probably hold off on publishing until they’re all done to avoid broken/missing links in posts 🤔
3
1
39
I asked for help manually installing an outdated library for my app, and @theoriginalbit literally forks the repo, updates it, and makes it available on SPM. I'm speechless, lol. What a legend.
0
1
3
Tip for Decoding JSON in Swift: You can write a custom init for your decodable enums to make them work with associated values 🙌🏼 Gist/Playground: https://t.co/JAR9QlJMf2
12
44
255
Google's iOS apps release cycle before & after Apple asks to disclose privacy labels. Thie pattern is probably just a coincidence. We all know "transparency forms the bedrock of [their] commitment to users"...
37
1K
3K
Practical Core Data version 1.1 is now available 🙌🏼I've improved some explanations, fixed some errors and added two whole new sections to the book! If you've bought the book, download the free update in your Gumroad library. If not, grab the book here:
practicalcoredata.com
Practical Core Data teaches you how you can use the latest Core Data features in modern applications that are written in either SwiftUI or UIKit. The book is fully up to date for iOS 15.
1
7
42
🚨PSA🚨 If you're still on Catalina and you're planning to download the new Xcode 12.5 beta, don't. It's that time in the cycle where Xcode requires the latest macOS so you'll need to upgrade to Big Sur first.
10
25
92