Dereck McDuff

1 Followers
12 Following
43 Posts
Interests include but are not limited to:
- Tech
- UX
- Programming
- DnD
- Improv
- Photography/Cinematography
- Bike-packing
WebsiteDereck.ca
A while ago I was reworking some C code into Swift and came to a better understanding of how #Swift's pointer types work. I made this flow chart to help describe how to use the types involved (with the exception of OpaquePointer, which is its own thing):

We'll be covering…

✅ Querying
✅ Adding, deleting, and editing
✅ Searching and sorting
✅ Programmatic navigation
✅ Relationships
✅ Previewing in Xcode
✅ iCloud syncing

…and more, all while building a complete app! If you can, please donate here: https://www.justgiving.com/page/swiftui-birthday-2023

Livestreaming SwiftUI for charity

Help Paul Hudson raise money to support Julian House

JustGiving
🎁 Christmas has come early: I've published a complete transcript for yesterday's "Build your first app with SwiftUI and SwiftData" livestream, plus the completed project is now on GitHub. Enjoy! https://www.hackingwithswift.com/articles/263/build-your-first-app-with-swiftui-and-swiftdata
Build your first app with SwiftUI and SwiftData

Learn about queries, models, containers, and more, all while building a real app.

Hacking with Swift
💥 Boom! My 8-part SwiftData starter tutorial is now on YouTube, walking you through the fundamentals of your first SwiftData app with SwiftUI. Models, queries, sorting, filtering, relationships, and more – start here: https://youtu.be/FEKCAzPAtpg
Introduction – SwiftData Starter Project 1/8

YouTube
Here's a little sneak peek for what would have been Apollo for iPad. You have stackable panes allowing you to easily view and move through multiple things at once (or go full screen!), Gallery Mode, and sections are moved to the side, with support for opening new tabs
ICYMI: Xcode 15b3 is out, and – hurray! – has removed the 10-view limit in SwiftUI. You can now add as many child views as you want without using Group 🎉
@macstories I think it's important to qualify this: nobody on Instagram actually needed to "join" Threads. The users came baked in. This isn't to diminish the apps initial success but the circumstances are much different than, say, Mastodon where people had to create brand new accounts.

For Apollo's thank you/memorial page I wanted a fun parody of Sarah McLachlan's "I Will Remember You" to play in the background, and the incredible Zoe Wynns put together an amazing song, with the superb @_chuckyc doing the visuals

I love how this turned out haha

https://www.youtube.com/watch?v=KOFChFxsJ3I

Goodbye Apollo

YouTube

@caseyliss For anyone watching along at home:

1. Edit Scheme
2. Sidebar > Test
3. Lower left of detail pane > [ + ] button
4. HOVER OVER the new Test Plan > [ -> ] Arrow Button
5. Get a lot of annoying “document in memory need to save” UI garbage
6. Test Scheme Action > Scroll down > Keep Scrolling > Was that it? > Yes > Too far > Scroll back
7. Code Coverage > On

Well, looks like Reddit pulled the plug a little early. Apollo started crashing, but I just manually revoked my token and it looks like it fixes the crashing, but no more Reddit access haha. Those folks are fun to the very end! 😛