Martin Johannesson (@memfrag) header
Martin Johannesson (@memfrag) profile picture

Software developer. Mostly iOS apps these days.

Stockholm, Sweden
Joined January 2009
Photo by Martin Johannesson (@memfrag)Photo by Martin Johannesson (@memfrag)Photo by Martin Johannesson (@memfrag)Photo by Martin Johannesson (@memfrag)Photo by Martin Johannesson (@memfrag)Photo by Martin Johannesson (@memfrag)Photo by Martin Johannesson (@memfrag)Photo by Martin Johannesson (@memfrag)Photo by Martin Johannesson (@memfrag)Photo by Martin Johannesson (@memfrag)
Made a tool to convert FBX files with multiple animation takes to USD for RealityKit/visionOS since Apple's usdzconvert is deprecated and only supported one take at that. The script also converts FBX materials to MaterialX shader nodes. Here it is: github.com/apparata/fbx2usd
1
1
76
I made a macOS app for generating PrivacyInfo.xcprivacy privacy manifest files. It's less annoying (imho) than using the plist editor in Xcode. You run it with Mint, because it's a cli tool, but with a UI. It's a bit unconventional that way, I guess... 🙂 github.com/apparata/mkprivac…
6
42
2
298
36,801
I patched Apple’s usdzconvert tool to allow you to select what animation clip from an FBX file to use during conversion to USD instead of it always using the first animation in the file. Essentially just sets the current animation to an index that is not zero before conversion.
282
I finally finished that Swift state machine generator UI app for macOS that I started working on in 2021 or whenever it was. I just had to wait for SwiftUI to progress and for me to have some free time. 🙂 The primary target audience for this app is me. apps.apple.com/us/app/automa…
6
9
1
80
10,941
So, I’ve been gone from twitter for a few months. I didn’t miss anything, did I? Anyway, we released an update of our hobby app ’been’. apps.apple.com/us/app/been/i…
1
5
Today was a big day. I successfully, for the first time in my 26 years of bash shell scripting, used 'sed' without reading any documentation first to figure out how to use the damn thing.
1
2
I couldn't figure out how to change the text color of an iPad sidebar Label in SwiftUI without it also affecting the icon and/or break the selection highlighting behavior, so I made a label style that nests two labels in a label. Kind of nuts. Is there a better way? 😬
Called myself on FaceTime 5 times today. Not because I'm interesting to talk to but because I started implementing SharePlay support in my app. Reminds me of working on the Rebtel VoIP app. I called myself over and over again for months. The SharePlay APIs are very nice anyhow 🙂
Isn't the Inject property wrapper dependency injection method that is all the rage right now _actually_ the service locator pattern disguised in a trenchcoat and shades? There are subtle differences between dependency injection and dependency lookup that sometimes matter.
See if you can spot where covid started in this lifetime chart of downloads for my travel related app. 🙂
1
I was thinking that I had watched so many WWDC21 sessions that I'd run out soon, but there's still 115 left that I haven't seen. It's amazing how many sessions there are. I'm saving the HLS sessions for last, because they're my favorites. Just kidding, I won't watch them.
I feel like people that write movies where someone uploads their consciousness to the cloud don't ponder the difference between pass-by-reference and pass-by-value enough.
2
Is college needed to become a software engineer? No. However, college pushed me to do stuff I wouldn't have dared attempt otherwise. I've never had impostor syndrome, because college made it very clear what I am good at and what I am bad at. That alone made it worth it to me.
1
2
With that being said, I thought half of the classes I took were useless and a waste of my time, but that's a different topic. 🙂
1
Clearly, past me and current me have the same dumb sense of humor, because I forgot I wrote this #if and when I stumbled upon it today, it made me laugh.
1
1
8
I hope the Apple event will be about how they have added dark mode to the App Store Connect website. That's something I could get excited about.
1
I'm doing some web front-end stuff, which I don't exactly do very often anymore. Apparently, javascript modules are a thing in browsers these days. Very nice! I could use a bundler, but I want to go old school ...but with modules.
1
Downloaded Maya LT for macOS from the Autodesk store. Once again I was reminded how horrible it is to have to use different stores with clunky UX to download software. The kind of dystopian future Epic wants for iOS. I don't want the friction. I just want to use the software.
1
2
"Shouldn't we switch to daylight savings time soon?" I thought to myself. Turns out we already did and I missed it. I wonder how many hours of the day would have to go missing for me to notice.
1
3
The reason I am confident that SwiftUI will ultimately succeed is that I absolutely despise going back to writing UIKit view and layout code after a weekend of SwiftUI coding. It feels like such tedious drudgework in comparison. 🙂
1
5