Dev downunder, martial artist, granddad, amateur designer/animator, author, coarse carpenter, lefty Green, very occasional scuba diver & snow skier.
Refusing to age gracefully.
I can make out the types of workouts when I choose them, without my glasses, partly because of icons. This one is unreadable
I can make out the types of workouts when I choose them, without my glasses, partly because of icons. This one is unreadable
I mention these issues because the ARC one in particular surprises many.
Also some stuff in SwiftUI works better with structs, eg FileDocument
I mention these issues because the ARC one in particular surprises many.
Also some stuff in SwiftUI works better with structs, eg FileDocument
Structs containing reference types is a red flag if they are passed a lot (ARC).
Structs as @State in SwiftUI act more like ref types and a @Binding to such is effectively a ref type.
Look for mutating func in structs as @State - semantics more like C++ const objects = changeable.
Structs containing reference types is a red flag if they are passed a lot (ARC).
Structs as @State in SwiftUI act more like ref types and a @Binding to such is effectively a ref type.
Look for mutating func in structs as @State - semantics more like C++ const objects = changeable.
Ported Touchgram from C++ using Cocos2D-x to Swift and SpriteKit back in 2018.
Have now written about 60 kLoC Swift after 25 years of C++, including some very grungy CAD code.
Will still do C++ for $$ but not gonna choose it first!
Ported Touchgram from C++ using Cocos2D-x to Swift and SpriteKit back in 2018.
Have now written about 60 kLoC Swift after 25 years of C++, including some very grungy CAD code.
Will still do C++ for $$ but not gonna choose it first!
Also means I could run it on my 27” Intel iMac “design machine “.
Also means I could run it on my 27” Intel iMac “design machine “.
I made Purrticles as a Multiplatform SwiftUI app partly to avoid any complications from Catalyst, especially as am doing things like rendering
I made Purrticles as a Multiplatform SwiftUI app partly to avoid any complications from Catalyst, especially as am doing things like rendering
github.com/AndyDentFree... is some of the public stuff I did in similar manner but focused on evolving polymorphic hierarchies, like game encoding.
Done lots of complex format & movie enc/decoding over the years
github.com/AndyDentFree... is some of the public stuff I did in similar manner but focused on evolving polymorphic hierarchies, like game encoding.
Done lots of complex format & movie enc/decoding over the years
If you're just creating a protocol for type checking, consider a way to register a closure to invoke on hitting instances.
Breakpoints can only take you so far for repeatable debugging.
Log points in code help regression testing.
If you're just creating a protocol for type checking, consider a way to register a closure to invoke on hitting instances.
Breakpoints can only take you so far for repeatable debugging.
Log points in code help regression testing.
okaydev.co/terms-and-co...
okaydev.co/terms-and-co...
I call these things out because:
1. sometimes, it really is a biz (or junior lawyer) trying to get away with it
2. creatives, especially, should pay attention to what we sign &
3. "we don't mean it like that" terms count if someone gets acquired & suddenly are enforced.
I call these things out because:
1. sometimes, it really is a biz (or junior lawyer) trying to get away with it
2. creatives, especially, should pay attention to what we sign &
3. "we don't mean it like that" terms count if someone gets acquired & suddenly are enforced.
I'm still stewing about this.
1D = menubar app?
Would 0D be a voice-only interface where you use result builders, or is that cheating to call it "SwiftUI"?
I'm still stewing about this.
1D = menubar app?
Would 0D be a voice-only interface where you use result builders, or is that cheating to call it "SwiftUI"?
There are 57 `#if os(` occurences across the 4387 lines of Swift code in my Views.
There are 57 `#if os(` occurences across the 4387 lines of Swift code in my Views.
Say 90% of the budget is a couple of US stars but all shot in Toronto?
What is being “tariffed”?
Say 90% of the budget is a couple of US stars but all shot in Toronto?
What is being “tariffed”?