News for hackers. Stuff that matters.

insidegui

Re:iOS 12 uses Lua code downloaded from Apple's servers on Monday August 06, 2018 @04:05PM (#17701244)
It's also worth noting that the bundle that includes the Lua code is signed and its signature gets verified by the OS before running.
Re:Swift Evolution for iOS on Wednesday April 26, 2017 @09:18AM (#14202675)
Very well done! I'm using it to keep track of the proposals
Hahahahaha true!
I don't know which part you're most interested in, but in a nutshell: the events are fetched from the same API as the Apple TV Events app (found that using a proxy), the Chromecast streaming uses Bonjour to find Chromecast devices on the network and the CASTV2 protocol over TCP to send commands to them.
The Chromecast protocol specification (CASTV2) itself is sort of open. To implement it on macOS I did a little bit of reverse engineering and used a description of the protocol I found here: https://github.com/thibauts/node-castv2