• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Class won't allocate
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Class won't allocate
      • From: "Michael Ash" <email@hidden>
    • Re: Class won't allocate
      • From: j o a r <email@hidden>
  • Prev by Date: Re: Embedding a database
  • Next by Date: performance drop when calling applescript during performdrag
  • Previous by thread: RE: Embedding a database
  • Next by thread: Re: Class won't allocate
  • Index(es):
    • Date
    • Thread