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. 