You're using open-source Apple code (Darwin) and aiming for Cocoa API compatibility. How are you handling the legal side? Apple's APIs and frameworks are proprietary. Are you reimplementing them from scratch, or using something like GNUstep?