1. Create a project that has an Aqua UI with the XCode tools and write the
Controller with Objectcsharp, that is, the GUI uses Aqua and we write the
rest of the code in C#. This tutorial will show how to create a GUI using
the XCode tools and do the binding to the "core" of the app done in C#.
2. Create a non-GUI project in C# that accesses Cocoa libs, I'm thinking of
using the AddressBook framework to show how to access it from C#... this way
we will so how to do the bridges between Coca to (->) C#, which is what we
should do when developing the Cococa bindings for .Net.
Both projects are very simple but will show the bridges between the
languages, once I have done them and made sure they work I'll write a step
by step guide of how to repreduce them.
Any thoughts??? Does anyone think I should try to do more complicated
things.?Both examples try to show how to use objectcsharp which is the basis
to develope the Cocoa# project.
Please let me know, I think I'll be able to post both examples in a day or
two, everything depens on how anoying is the family during the holidays ;) ,
Manuel
----- Original Message ----
-
From: "Leauki" <ajb...@gmail.com>
To: "cocoa-sharp-dev" <cocoa-s...@googlegroups.com>
Sent: Monday, December 31, 2007 12:18 PM
Subject: Re: Simple Tutorial
Keep those first few examples simple and then move to more advanced :).
Br,
Jouni
PD: Leauki, the book has a labrador.. we probably have the same one... it is
a good init bopok and i really like the examples which I will ty to adapt to
use objecticsharp
I have written the app that is going to be used as guide for the very
first tutorial,, the app consists in a "virtual library" that allows
to organize a book collection. The core of the app is done with C#
using ADO.Net with SQLite while the GUI uses Cocoa. I think is a good
example of how to use ObjectiveCSharp... I have started writing the
tutorial and I'm half way through, I'll post here the complete thing
hopefully tonight.
On 29/12/2007, at 21:56, Leauki wrote:
Copyrights.... yes I know, they are a pain in the ass, but I do not
want anyone saying I copied the examples and get into trouble.
The code in the book tried to explain the use of Cocoa but in this
first tutorial I wanted to show how to do the bridges between ObjectC
and C#.
The storage is done using SQLite 3 which comes with the basic
installation of Mac OS X... any way the C# code that stores the book
info is 500 lines long, is very simple, if not it can always be
changed :)