I'm developing an app for Mac OS X to display lyric of the song iTunes is playing. I've done some searches and found only the way using AppleScript to realize it. Is there an API for Objective-C that I can use to fetch information about the song from iTunes? I want to know how Bowtie, CoverSutra and Last.fm did it.
See the answer to my question:
Use the Scripting Bridge to ask iTunes. iTunes is even the example that the docs use.
It can be a bit tricky in the beginning, but as always with Cocoa: it's easy after you've done it once.