Generally, you would add a new Target to the iOS project.
Then you can share code that is common to both targets, and have other code files that are target-specific.
In shared code files, it is possible to mark code as applying only to a specific platform.
Topic:
UI Frameworks
SubTopic:
AppKit
Tags: