Re: drawRect not getting called problem solved

2011-07-28 Thread Preston Sumner
On Jul 28, 2011, at 6:31 PM, Tom Jeffries wrote: > I appreciate all the comments on the problem I had with drawRect not > getting called. I finally extracted the code that was not working and > put it in a new program, and it worked perfectly. I'm still not sure > whether there was a problem in

Re: drawRect not getting called problem solved

2011-07-28 Thread Graham Cox
On 29/07/2011, at 10:31 AM, Tom Jeffries wrote: > I do think > it's important to keep in mind the difference between code and data, > and some of the suggestions I got seemed to show some lack of clarity > in that area. Confusing the two may work in certain specific > environments, but it reflect

Re: drawRect not getting called problem solved

2011-07-28 Thread Jens Alfke
On Jul 28, 2011, at 5:31 PM, Tom Jeffries wrote: > I do think > it's important to keep in mind the difference between code and data, > and some of the suggestions I got seemed to show some lack of clarity > in that area. Confusing the two may work in certain specific > environments, but it reflec

drawRect not getting called problem solved

2011-07-28 Thread Tom Jeffries
I appreciate all the comments on the problem I had with drawRect not getting called. I finally extracted the code that was not working and put it in a new program, and it worked perfectly. I'm still not sure whether there was a problem in my code or if I unearthed a problem in Cocoa, but I'm now