Big thanks to @orta for all the effort put into CocoaPods over the years and the well thought out approach to phasing it out. It has been a tool of great value for the Objective-C and Swift community! #cocoapods #swiftlang #objectivec

D'ailleurs pour l’acquisition d'image depuis les scanners 2D sous #Windows, on passe par l'API WIA native de ce système... Et j'en avais fait un article à l'époque :

https://blog.flozz.fr/2024/04/17/python-scanner-un-document-sous-windows-avec-lapi-wia/

Pour #macOS par contre j'ai jamais réussi à utiliser l'API native (ICC pour Image Capture Core) depuis #Python... J'ai dû bricoler avec du #Swift et de l' #ObjectiveC... 😅

Python : Scanner un document sous Windows avec l'API WIA

Pour les besoins d'un projet sur lequel je travaille actuellement, je dois accéder à des scanners pour numériser des documents depuis un script Python sur différentes plateformes (principalement Windows et macOS). Aujourd'hui je vais donc vous parler de la numérisation de document sous Windows via l'API WIA (Windows Image …

FLOZzʼ Blog
GitHub - g-cqd/class-dump: Generate Objective-C headers from Mach-O files.

Generate Objective-C headers from Mach-O files. Contribute to g-cqd/class-dump development by creating an account on GitHub.

GitHub

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.

#SwiftLang #ObjectiveC

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)

#appkit #objectiveC #macOS #NSView #programming #transition

GitHub - uliwitness/TransitionTestApp: Trying to figure out how to make NSView transitions work again.

Trying to figure out how to make NSView transitions work again. - uliwitness/TransitionTestApp

GitHub

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

#objc #objectivec

mikeash (@mikeash@mastodon.sdf.org)

If your app crashes on 0x400000000000bad0 when running on the new stuff, it means you have an ObjC strong variable/property being concurrently mutated. https://developer.apple.com/documentation/xcode-release-notes/xcode-26-release-notes#Objective-C-Runtime

Mastodon @ SDF
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
GitHub - kyleneideck/BackgroundMusic: Background Music, a macOS audio utility: automatically pause your music, set individual apps' volumes and record system audio.

Background Music, a macOS audio utility: automatically pause your music, set individual apps' volumes and record system audio. - kyleneideck/BackgroundMusic

GitHub