Class won't allocate
Class won't allocate
- Subject: Class won't allocate
- From: email@hidden
- Date: Sun, 11 Jun 2006 10:50:47 +0200 (CEST)
- Importance: Normal
Hello all,
a strange thing is happening in my Cocoa project :
This project builds fine but the initialization part fails
at runtime.
The debugger reveals that
the program first goes wrong
when it reaches the following line :
primesRecord=[PrimesRecord alloc];
Before this line is executed the pointer ``primesRecord" is nil,
which is normal. But afterwards it is *still* nil, and I've no idea
why.
(the following line is [primesRecord init]; originally the line
was ``primesRecord=[[PrimesRecord alloc] init];", but
I split it in two to see what was wrong).
The superclass of PrimesRecord is NSObject. Does anyone see what's
going on here ?
Ewan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden