they released a program called mac app, which was a template of a pascal program that already came with an event loop built into it with prototypes for setting up menus and things like that, so all you had to do was hook your logic into it.