<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Cocoa on jason grey</title><link>https://jason-grey.com/tags/cocoa/</link><description>Recent content in Cocoa on jason grey</description><generator>Hugo</generator><language>en</language><lastBuildDate>Tue, 01 Apr 2008 00:00:00 +0000</lastBuildDate><atom:link href="https://jason-grey.com/tags/cocoa/index.xml" rel="self" type="application/rss+xml"/><item><title>Learn objective-c/Cocoa (Mac OSX) development on the PC…</title><link>https://jason-grey.com/posts/2008/objective-c-on-windows/</link><pubDate>Tue, 01 Apr 2008 00:00:00 +0000</pubDate><guid>https://jason-grey.com/posts/2008/objective-c-on-windows/</guid><description>&lt;p&gt;So, I got interested in developing an application for the iPhone, but I don’t have a decent Mac to develop on. I found that the iPhone development is based on a subset of the Mac Cocoa framework. OSX came from NeXTStep. Cocoa is mostly NeXTStep libraries… hummm… how can I learn Objective-C/Cocoa on a PC… let me think…&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Download and install &lt;a href="http://www.gnustep.org/experience/Windows.html" class="external-link" target="_blank" rel="noopener"&gt;GNUStep System and Core&lt;/a&gt; for windows.&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.gnustep.org/resources/ObjCFun.html" class="external-link" target="_blank" rel="noopener"&gt;Learn&lt;/a&gt; &amp;amp; write some objective-c code using some of the NS libraries&lt;/li&gt;
&lt;li&gt;Compile using gcc (comes with GNUStep). I use ant, my build file is attached - fiddle with it to work in your environment&lt;/li&gt;
&lt;li&gt;You may also have to have CygWin installed. I’m not actually sure which pieces are making this all work yet, so give that a try (install the base package, plus gcc, gdb, and whatever else you like)&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Currently, I’ve got this all working, and I’m using the Foundation library in the attached example. Going to try getting some UI stuff to work next.&lt;/p&gt;</description></item></channel></rss>