Questions tagged [gnustep]

a free implementation of Cocoa (formerly NeXT's OpenStep) Objective-C libraries (called frameworks), widget toolkit, and application development tools. It is part of the GNU Project.

198 questions
0
votes
1 answer

why after executing "[pool drain]", it never return back to caller?

here is my code template: int main(int argc, char *argv[]) { // create an autorelease pool NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; // make sure the application singleton has been instantiated NSApplication *…
hao haochao
  • 91
  • 1
  • 8
0
votes
2 answers

why must i inherit NSobject instead of NSapplication to implement delegate method on GNUSTEP?

I've seen several Obj-C tutorials. The delegate classes all inherit from NSObject. For example, the applicationDidFinishLaunching delegate method, in some tutorials, it inherited from NSObject but NSApplication to implement it. The reason I don't…
hao haochao
  • 91
  • 1
  • 8
0
votes
1 answer

GNUStep setup error

I am a beginner in objective-C and trying to setup GNUStep in Windows 7. I have followed the direction in this site: http://www.gnustep.org/experience/Windows.html to download GNUstep MSYS System 0.30.0,GNUstep Core 0.30.0 ,GNUstep Devel,and GNUstep…
Josh Vo
  • 159
  • 8
0
votes
1 answer

gnustep runloop

Does anyone tell is GNUstep NSRunLoop extension functions: (void) addEvent: (void*)data type: (RunLoopEventType)type watcher: (id)watcher forMode: (NSString*)mode; this method is work?, and how to setup the argument data? I set a pipe to…
codeplay
  • 620
  • 1
  • 6
  • 19
0
votes
2 answers

gnustep for netbsd

I'd like to ask if gnustep's toolchain is appropriate for netbsd development where one'd normally use plain C. I'm interested in the benefits of Obj-C only with basic APIs like NSObject's reference counting and dynamic stuff. My question is…
rostamn739
  • 323
  • 3
  • 8
0
votes
1 answer

error while compiling Objective c in GNUStep in ubuntu

showing this error while trying to compile my program. error: #error The current setting for native-objc-exceptions does not match that of gnustep-base ... please correct this.
0
votes
1 answer

Unable to find Foundation Header Files on Ubuntu

I have a Ubuntu server with Slicehost (now RackSpace) and am trying to get GNUstep installed so that I can compile Objective-c code. After installing the world via apt-get and going through numerious blogs to try and get my source compiled, it now…
JARC
  • 5,288
  • 8
  • 38
  • 43
0
votes
1 answer

How to write a Window Server?

how can i write a windowserver for gnustep? i'm reading the source of gnustep some days but don't get how this works. Can someone please explain how it works from NSApplicationMain() to a graphical user interface? What is needed to implement a very…
thomasguenzel
  • 670
  • 7
  • 25
0
votes
1 answer

Objective-C on GNUStep: Accessing ivars of the parent class

I'm pretty new to Objective-C. Most of my experience is in Java. I have a base class: @interface Bug : NSObject { @private World* world; NSString* name; NSString* layer; long x; long y; BOOL…
Vivin Paliath
  • 94,126
  • 40
  • 223
  • 295
0
votes
1 answer

Is this an acceptable idiom for NSThread in Objective-C?

I have a small agent-based modeling-framework that I'm writing as part of a project. The different agents all run in their own threads and a supervisor class controls their lifecycles. So the supervisor class can cancel these threads. I know that…
Vivin Paliath
  • 94,126
  • 40
  • 223
  • 295
0
votes
2 answers

Running objective c in windows

I installed GNUstep and minGW. My code seems to compile without errors, when I try to run it I get: gnustep-base-1_24.dll is missing I'm using Windows GNUStep. Note: I added the GNUstep/system/Tools directory to my PATH
Jason
  • 367
  • 6
  • 18
0
votes
4 answers

Objective-C: Mixed methods of incrementing - i++ vs i+=1

I was browsing a GNUstep project on github and came across this little loop... for(; i < 9; i+=1) { for(;j < 9; j+=1) { /* Inner loop code - snipped */ } } Most, but not all incremental operations were done using '+=1' in the source…
Fergus In London
  • 1,203
  • 8
  • 19
0
votes
1 answer

objective c profiler for gnustep

Is there a profiler for Objective-C run on the linux. I'm using the GNUstep environment. I searched on the website of GNUstep, there's nothing about profiler.
guoxx
  • 348
  • 1
  • 9
0
votes
1 answer

fatal error on NSArray.h

I have ubuntu machine and compiling objective-c using GNUStep. I wrote the following code: #import #import #import int main ( int argc, char ** argv) { int ar[100] = {0}; int i; …
Whoami
  • 13,930
  • 19
  • 84
  • 140
0
votes
2 answers

GNUStep make problems

I have installed the GNUStep gnustep-msys-system-0.29.0-setup.exe and gnustep-core-0.29.1-setup.exe on my WinXp Machine I am able to compile problems. The documentation says that gnustep-core comes with the make utility but I am unable to locate it…
Anand Sunderraman
  • 7,900
  • 31
  • 90
  • 150
1 2 3
13
14