Yow. After doing almost pure Swift for the last year and having to go back to some Objective-C work, having switch statements limited to Integer is horrifying.
I need to hurry up and finish my Swift rewrite of this project.
Yow. After doing almost pure Swift for the last year and having to go back to some Objective-C work, having switch statements limited to Integer is horrifying.
I need to hurry up and finish my Swift rewrite of this project.
It's interesting just how close Objective-C 1.0/1.1 was to JavaScript. A lot of the gritty code just copy-paste and works, as long as you remember to turn [foo message:bar] into foo.message(bar) and change ls.count to ls.length (which tripped me a few times). The object model's different, but you'll never notice in normal work.
Once the whip-me-beat-me C++ freaks started littering Obj-C with a bunch of type-shit, it got harder.
#objectivec #objc #javascript
Update: Added a Readme marking the code as public domain, and describing how it works while I still remember it. #appkit #objectiveC #macOS #NSView #programming #transition
OK, I don't know what I did differently, but I now have sample code that performs a CATransition or a CIFilter-based transition when adding/removing NSViews from their parent.
Not quite sure why it didn't work before.
https://github.com/uliwitness/TransitionTestApp/
(Sorry, it's Objective-C because I needed to integrate with C++ in the *real* app this code went into, but shouldn't be too hard to Swiftify)
Hearing that people are successfully using this new diagnostic to track down longstanding Weird Multithreading Bugs®, so seems like a good time to mention it again: https://mastodon.sdf.org/@mikeash/114655617095364169
One Open-source Project Daily
Background Music, a macOS audio utility: automatically pause your music, set individual apps' volumes and record system audio.
https://github.com/kyleneideck/BackgroundMusic
#1ospd #opensource #audio #audioutility #cpp #macos #objectivec
Hot Reloading SwiftUI Apps https://lobste.rs/s/tz55w7 #mac #objectivec #swift
https://danielchasehooper.com/posts/hot-reloading-swiftui/
What's your approach to handling NSCopying in modern Swift development?
Examine the challenges of using NSCopying in Swift, particularly around class copying and the designated initializer pattern, with solutions for handling subclass copying issues.
🔗: https://www.nutrient.io/blog/nscopying-in-a-swift-world/ by Douglas Hill
Liebe Folglinge,
ich suche nach einem neuen Job als #iOS und/oder #macOS Entwickler. Ich spreche #ObjectiveC, #Swift (auch Server-Side) und #SwiftUI und nutze die ganzen Tools drumherum (#Xcode, #Git, #GitHub, #GitHubActions, #ShellScripting etc.). Ich bringe 30 Jahre Berufserfahrung als Software-Entwickler mit, davon knapp 20 im #Apple Ökosystem.
Am Idealsten waere eine #Festanstellung zu 100% remote. Sollte es im Raum #Bregenz oder #Dornbirn etwas geben, dann auch gerne vor Ort.
Ich danke euch fuers Teilen. 🙏🏻
LinkedIn: https://www.linkedin.com/in/phranck/
Xing: https://www.xing.com/profile/Frank_Gregor063742/
From Kotlin to Native and back: accessing native macOS API in Compose Multiplatform
Thursday, September 25, 2025 15:45 GMT+02:00, Jetpack Junction
https://www.marcogomiero.com/posts/2025/compose-desktop-macos-api-jni/
#jni #objectivec #macosdev #kotlindev #droidcon #dcbln25 #fahrplan @droidcon @marcogom
I just watched a video about #NeXTComputer and #ObjectiveC, which was completely new to me at that moment. Then I wanted to like a comment below it, only to realize at that moment that it was my own comment that I had posted 7 months earlier. 🤦🏻
*LINK CORRECTO*
#SolucionarioDelProgramador #GNU_linux : Parámetros línea de Comandos en #C #Cpp #ObjectiveC
#programming #programacion #cmdline
https://ibolcode.net/roor/2025-09-parametros-linea-de-comandos--c--cpp-y-objective-c
Not sure the front of the joke but the punchline is "troll-free bridging" #objectivec #objc #programminghumor
Apple just announced Live Translation for AirPods.
So, if I talk to someone in Objective-C, can the AirPods translate it to Swift? 😅
(The iOS developer dream 😂)
gershwin-desktop: OS X-like Desktop Environment available exclusively in GhostBSD as a community flavor https://lobste.rs/s/adcfj0 #freebsd #objectivec #release
https://github.com/gershwin-desktop/gershwin-desktop
It's been roughly 5 years since my last honest lines of new #ObjectiveC code.
And while in my current context I'm living and breathing #Rust, and is the right tool for the job and generally speaking joyous, it did not give the same dosis of daily joy I had in the heyday of Objective-C and Cocoa/UIKit.
Interestingly, this also meant that a significant portion of my spare and hobby time shifted away from computing and towards musical instruments.So it might still be a net win for me.
Here's the new powerup asset demo. I still need to fix a tiny bug with scoreboard occlusion though.
#objectivec #spritekit #indiegame #indiedev #game #iOS #gamedesign
The new power up items are looking great when scaled correctly! Just need to add couple more types of asteroids and the game will be ready for TestFlight. Ping me if you'd like an early preview.
#objectivec #spritekit #indiegame #iOS #gamedesign
Here's the new powerup asset demo. I still need to fix a tiny bug with scoreboard occlusion though.
#objectivec #spritekit #indiegame #indiedev #game #iOS #gamedesign