Or perhaps open-source the core library while leaving the Mac specific code under proprietary copyright.