• 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
PB playing a practical joke on me!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PB playing a practical joke on me!


  • Subject: PB playing a practical joke on me!
  • From: Andrea Perego <email@hidden>
  • Date: Fri, 12 Apr 2002 12:39:09 +0200

Hi!

This post is about a problem that occurred to me this morning. Expert Cocoa developers will find it rather obvious, but I believe that it might help some newbie, so please forgive for the waste of bandwidth.

In my last session of development, I was experiencing some unexpected behavior by a class of my project: it started with a failure to receive a new notification I had just introduced; then, in my efforts to understand the reason, I got "evidence" that my class (subclass of NSWindowController) didn't even receive as delegate the standard "windowDidBecome...." notifications from its window. At least, some NSLog calls within these methods produced no output.
A check of the nib in IB revealed no mistakes... Ok, I'll not bother you longer:
just cleaning the project and recompiling it from scratch did the trick.
The rationale lies in the fact that I'm developing the same project both at work and at home, using a zip as data shuttle. For some reason file modification dates got confused and that single file in my project was not re-compiled after my editing.

The lesson I learned (and I confess, it's not the first one on this subject!):
whenever something weird happen, first clean your project and then start your ferreting campaign!

best regards
Andrea Perego
University of Florence - Phys. Dept.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: PB playing a practical joke on me!
      • From: Jens Bauer <email@hidden>
  • Prev by Date: Re: ever felt like a complete BOZO??
  • Next by Date: Java Cocoa - App doesnt work outside of PB
  • Previous by thread: NSTextView --> styled TextEdit, how?
  • Next by thread: Re: PB playing a practical joke on me!
  • Index(es):
    • Date
    • Thread