Part 2: Creating a Foundation-based CLI for Ubuntu
In Part 1: Cross Compiling Foundation I provided a step by step tutorial on how to compile the Cocotron Foundation framework for Ubuntu Linux using Xcode 4.
This post is intended to complete the tutorial by explaining how a simple command line tool can be created which will run [...]
Entries Tagged as 'Tutorials'
Cocotron and Xcode4: How to Run Objective-C Apps on Linux (Part 2)
June 7th, 2011 · 3 Comments · Objective-C, Tutorials
Tags:Cocotron·Linux·Objective-C·OS X
Cocotron and Xcode4: How to Run Objective-C Apps on Linux
May 1st, 2011 · 11 Comments · Objective-C, Tutorials
Part 1: Cross Compiling Foundation
Everyone who knows me knows I’m an advocate of Objective-C, the Foundation framework, and Cocoa. Luckily, in recent years Objective-C has gained wide-spread popularity by virtue of the iPhone/iPad hype. However, there has always been a lack of integration with operating systems not originating from Apple. There are numerous reasons one [...]
Tags:Cocotron·Linux·Objective-C·OS X
Embedding Python in a Cocoa Application
November 4th, 2008 · 1 Comment · Tutorials
I stumbled upon Ragestorm.net’s great tutorial on Python embedding when I was trying to embed Python in a Cocoa application and redirect standard output / standard error to an NSTextView. Ragestorm’s tutorial is not particularly about Cocoa / Objective-C, but does though solve the problem. Stdout / stderr is simply redirected using a fragment of [...]
Tags:Cocoa·Objective-C·OS X·Python·Xcode
Creating XCode Projects for SWIG Python-bindings
October 24th, 2008 · 4 Comments · Tutorials
SWIG makes the creation of bindings for C/C++ libraries easy for various high-level exits (Java, Perl, PHP, Python, etc.). However, in the case of Python on OS X, when the actual SWIG wrapper is finished the difficulties begin: one needs to create an adequate dynamic library for the Python runtime — and like with everything [...]




