|
From: | Daniel Boyd |
Subject: | Re: Objective-C Beginner's Guide |
Date: | Sun, 31 May 2020 15:32:42 -0500 |
I think this is a better intro guide: As for why your code isn’t compiling, tough to say without seeing hello.m, but couple thoughts: did you include #import <Object.h> And in your interface declaration, did you include the “ : Object” at the end: e.g. @interface Greeter : Object I haven’t used Object.h (I use Foundation.h as in the example I included). GNUStep objects are typically instantiated with [[obj alloc] init] rather than [obj new] Sent from my iPhone On May 31, 2020, at 2:53 PM, Patrick Cardona via Discussion list for the GNUstep programming environment <discuss-gnustep@gnu.org> wrote:
|
[Prev in Thread] | Current Thread | [Next in Thread] |