Hello,
I'm again, trying to do some slow progress on the task of writting a
cocoa application in pascal. We have objc runtime headers translated,
but there are no examples explaining how to use them. In the past I
posted to Apple mailling lists without sucess, so maybe someone could
help me
On 06 Jan 2008, at 11:39, Felipe Monteiro de Carvalho wrote:
I read the corresponding assembler code, but it's *very* confusing.
The order in which CALL's are made is:
// NSAutoreleasePool* pool = [[NSAutoreleasePool alloc] init];
callL_objc_getClass$stub
call
thanks, ok, I think I'm almost getting it to work.
I translated enougth headers to call NSApplicationLoad and
NSRunAlertPanel, but I got stuck at the @string syntax. I tryed to
just define PNSString as a generic pointer and pass a PChar to it, but
it doesn't work, the application crashes with
On 06 Jan 2008, at 19:03, Felipe Monteiro de Carvalho wrote:
I translated enougth headers to call NSApplicationLoad and
NSRunAlertPanel, but I got stuck at the @string syntax. I tryed to
just define PNSString as a generic pointer and pass a PChar to it, but
it doesn't work, the application
Without this supportyou must create the NSString at run time from a
regular constant string. Regarding when you need an autorelease pool
and when not (and how to create it), see e.g.
http://www.otierney.net/objective-c.html#autorelease
Ok, pretty excelent so far =) I can already show the
Hi everybody--
I figured I would introduce myself, having just signed on to the list
here. Some of you may already know me and my work. I've been a Pascal
fanatic since I discovered the language in 1978 and wrote heavily about
it for many years. I wrote COMPLETE TURBO PASCAL in 1985 and kept
Op Sun, 6 Jan 2008, schreef Jeff Duntemann:
Hi everybody--
I figured I would introduce myself, having just signed on to the list here.
Some of you may already know me and my work. I've been a Pascal fanatic since
I discovered the language in 1978 and wrote heavily about it for many years.
Op zondag 06-01-2008 om 16:26 uur [tijdzone -0700], schreef Jeff
Duntemann:
I figured I would introduce myself, having just signed on to the list
here. Some of you may already know me and my work.
Well, I'm happy to say welcome to you here. After all, you're the one
who learned Pascal to