title: Linking both UIKit and AppKit
body: <p>I am trying to create a base object which can used on both the iPhone and OS X as a datasource. I would therefore have a header file with statements such as:</p>
  
  <pre><code>#ifdef TARGET_OS_IPHONE
  #import &lt;UIKit/UITableView.h&gt;
  
  @interface DataObject : NSObject&lt;UITableViewDataSource&gt;
  #endif
  
  #ifdef TARGET_OS_MAC
  #import &lt;AppKit/NSTableView.h&gt;
  
  @interface DataObject : NSObject&lt;NSTableViewDataSource&gt;
  
  #endif
  </code></pre>
  
  <p>My current Xcode project is using a standard Apple iPhone template. My issue is when I select "Link Binary With Libraries" under the "Build Phases" tab I am only seeing iPhone related frameworks.</p>
  
  <p>Of course I can select other and then browse, but I have no idea where AppKit.Framework lives. Can anyone point out where I can find this framework or how I can have a project link to both UIKit and AppKit</p>