discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Objective-C Beginner's Guide


From: Richard Frith-Macdonald
Subject: Re: Objective-C Beginner's Guide
Date: Mon, 1 Jun 2020 10:13:15 +0100


> On 31 May 2020, at 20:52, Patrick Cardona via Discussion list for the GNUstep 
> programming environment <discuss-gnustep@gnu.org> wrote:
> 
> Hi All experienced Objective-C Dev
> 
> I begun this Beginner Guide about Objective C :
> 
> http://gnustep.made-it.com/BG-objc/
> 
> But my beginning is not glorious...
> 
> pi@raspberrypi:~/CoursObjectiveC $ ls
> hello  hello.m
> pi@raspberrypi:~/CoursObjectiveC $ gcc -lobjc hello.m -o hello
> hello.m: In function ‘main’:
> hello.m:39:2: warning: ‘Greeter’ may not respond to ‘+new’
>  myGreeter=[Greeter new];
>  ^~~~~~~~~
> hello.m:39:2: warning: (Messages without a matching method signature
> hello.m:39:2: warning: will be assumed to return ‘id’ and accept
> hello.m:39:2: warning: ‘...’ as arguments.)
> hello.m:43:2: warning: no ‘-free’ method found
>  [myGreeter free];
>  ^
> pi@raspberrypi:~/CoursObjectiveC $ ./hello
> Erreur de segmentation
> 
> Is this Beginner's Guide up to date ?


It's old, but probably still OK.
You could also try the guide that comes with GNUstep-base; you should already 
have it on your system, but can also find it online at 
http://www.gnustep.org/resources/documentation/Developer/Base/ProgrammingManual/manual_1.html




reply via email to

[Prev in Thread] Current Thread [Next in Thread]