> IMessageKit requires Full Disk Access to read your chat history and perform automation tasks.
> System Settings → Privacy & Security → Full Disk Access
This basically neuters it for any wide product use. Fine for personal projects, but this is never going to fly for anything more than power user tools.
No, no one has ever known anything, and every day people are born knowing even less. This is a strangely aggressive way to share this interesting information, especially for MacOS programming, a platform requiring such byzantine arcane knowledge I'm amazed people write anything for it at all. At least for Win32 people wrote books you could buy and not blog posts.
Anyway, thank you for the introduction to the very cool SwiftScripting project [0], extracting programmable interfaces directly from app bundles. It's just like COM, right? nice to see MacOS catching up (/ragebait)
Also, FYI the interesting part about the post is getting the extracted code in type-safe Swift code. Getting the extracted code for ObjC is trivial and any seasoned macOS developer should already know how to do it.
> IMessageKit requires Full Disk Access to read your chat history and perform automation tasks. > System Settings → Privacy & Security → Full Disk Access
This basically neuters it for any wide product use. Fine for personal projects, but this is never going to fly for anything more than power user tools.
I have no interest in the original application[1] that this underpins but I am very interested in an imessage API ...
Unfortunately this runs only on a MacOS system which is hard to provision as long-running datacenter infra ...
[1] https://news.ycombinator.com/item?id=46571661
Also https://github.com/steipete/imsg/
Oh no. Raw AppleScript in a Swift program. Don’t people know stuff anymore? I’m especially disappointed since it’s coming from Steipete…
Anyways, that’s how you do AppleScript in Swift (it’s even type-safe!) [1]
Usage example. [2]
[1] https://github.com/Frizlab/apple-music-to-slack/blob/90964bb...
[2] https://github.com/Frizlab/apple-music-to-slack/blob/90964bb...
> Don't people know stuff anymore?
No, no one has ever known anything, and every day people are born knowing even less. This is a strangely aggressive way to share this interesting information, especially for MacOS programming, a platform requiring such byzantine arcane knowledge I'm amazed people write anything for it at all. At least for Win32 people wrote books you could buy and not blog posts.
Anyway, thank you for the introduction to the very cool SwiftScripting project [0], extracting programmable interfaces directly from app bundles. It's just like COM, right? nice to see MacOS catching up (/ragebait)
[0] https://majestysoftware.wordpress.com/2015/03/31/swift-scrip...
AppleScript: First appeared 1993.
COM: First appeared 1993.
Yup. Catching up.
I understand the rage, but get your facts right.
Also, FYI the interesting part about the post is getting the extracted code in type-safe Swift code. Getting the extracted code for ObjC is trivial and any seasoned macOS developer should already know how to do it.
> iMessage-kit is an iMessage SDK for macOS
Does it come with zeroclick exploits ? /s