Mathieu Suen's blog

Simplifying the objc binding

Tagged:  •  

The previous post I have show you an example on how to create a simple windows using the objective-c binding.

Still it was working it was not so flexible. If you fetch the latest commit from github you will have enhancement quoted below:

  1. Direct access to ObjC class
  2. Unary method pragma for method override
  3. Super send
  4. Transparent String and Array
  5. Bug fix

Note the the binding can run on OSX and use gnustep for other platform. See my previous post for installation details

First Cocoa application using smalltalk

Tagged:  •  

Recently I have done some work on the gst-objective-c-binding.
Now most of the basic feature is here. Of course a lot of polishing still need to be done.

The binding now support sending message from objective-c to smalltalk and from smalltalk to objective-c.
You can also sublcass some objective-c class like NSView.

In this post I will show you how to get the bridge working and create you first Cocoa app.

Getting gst-objc

(If you have a better name idea feel free to give me suggestions.)

You can fetch the source from github:

$ git clone git://

How to use MiniDebugger

Tagged:  •  

First you need to load MiniDebugger in your image.

gst -K examples/ -S

You may have to sudo it.

su -c 'gst -K examples/ -S'

This will save the image with MiniDebugger loaded.
Next time you encounter a exception the MiniDebugger will prompt.

Syndicate content

User login