We've expanded our news coverage and improved our search! Visit
oreilly.com for the latest or search for all things across O'Reilly!
Article:
 |
|
Adding Spit and Polish to Your Cocoa App
|
| Subject: |
|
NSLog experiments #2 |
| Date: |
|
2002-06-29 08:36:54 |
| From: |
|
psheldon
|
Response to: NSLog experiments #1
|
|
I found myView = [[self window] contentview] did not track the size of the image on changing the zoom. As I said before, it seemed to track on dragging the corner .
I put a breakpoint in drawRect just at the entrance . Thread1 showed a history of greyed calls that weren't in my source . One of these object calls associated with lower right corner dragging was something like resize titled window . I couldn't put breakpoints at this call to see if it was called on the faulty zoom.
I still can't fathom what in Michele's code makes the zoom go wierd though I still think it is related to the image size tracking the window size , but it is necessary for me to go in the dark so I can appreciate when the light comes in the column.
|