• 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
Re: credits.rtf problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: credits.rtf problem


  • Subject: Re: credits.rtf problem
  • From: Stefan Wolfrum <email@hidden>
  • Date: Sun, 21 Jan 2007 22:10:03 +0100 (MET)

Hi Robert,

that's a nice idea. Because I'm a very beginner I just learned how to add
a breakpoint on a method I didn't write myself. :-)
Unfortunately, -[NSCFDictionary setObject:forKey:] is call an enourmous
amount of times so that I had to click VERY often on the Continue button
of the debugger.
So I obviously need a nice condition for that breakpoint -- but I can't think
of one. I'd love to add a condition like "after all your initial framework stuff
like key-value-binding etc. is done" but one can only add C expressions.


Any hint here? I could set a (global?) variable in the method that opens
the About dialog -- but I don't even know what method that is because
I didn't write it because it's already there when you create a new Cocoa
Application...

Eager to learn,
Stefan.

Am 21.01.2007 um 19:43 schrieb Robert Cerny:

Hi Stefan,
add a breakpoint to -[NSCFDictionary setObject:forKey:] and invoke the dialog.


HTH
Robert

On 21.1.2007, at 12:24, Stefan Wolfrum wrote:

Hi Robert,

thanks for your kind hint. :-)
I was unprecise. The file actually IS named "Credits.rtf", that is with a capital C.
I tried it the other way now, too (with a small c), but to no avail either.


Clueless,
Stefan.

Am 21.01.2007 um 08:46 schrieb Robert Cerny:


On 21.1.2007, at 0:33, Stefan Wolfrum wrote:

Hello folks,

I have a problem with this credits.rtf functionality...
I created such a file and added it to my Ressources folder
into my project (two localized versions, "English" and "de"
for German).

But when I now run my app and invoke the About dialog
it doesn't appear.
Instead, I get this in the Log:

2007-01-21 00:31:55.252 Complex[8277] *** -[NSCFDictionary setObject:forKey:]: attempt to insert nil value

What am I doing wrong?

Is it a problem with the .rtf file? Did I forget a necessary step
to make the mechanism work?

Thanks a lot to all of you!
Stefan.

Stefan,
the file's name should be Credits.rtf. Does it make any difference?

Robert
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: credits.rtf problem
      • From: Chris Suter <email@hidden>
References: 
 >credits.rtf problem (From: Stefan Wolfrum <email@hidden>)
 >Re: credits.rtf problem (From: Robert Cerny <email@hidden>)

  • Prev by Date: Re: credits.rtf problem
  • Next by Date: Re: credits.rtf problem
  • Previous by thread: Re: credits.rtf problem
  • Next by thread: Re: credits.rtf problem
  • Index(es):
    • Date
    • Thread