drawRect before awakeFromNib
It it supposed to do drawRect before awakeFromNib, im using a custom window class, so that might affect it. I can resolve the problem by doing setNeedsDisplay at the end of awakeFromNib, but Id rather not have too.
Sir, e^iπ + 1 = 0, hence God exists; reply!
Your original question is unintelligible
Haha, So it is.
Sorry!!
Ok, Ive got an NSView, and the -(void)drawRect:(NSRect)frame method is being called before - (void)awakeFromNib, Im wondering if this is what is supposed to happen and if there is a way to change the order.
Sorry!!
Ok, Ive got an NSView, and the -(void)drawRect:(NSRect)frame method is being called before - (void)awakeFromNib, Im wondering if this is what is supposed to happen and if there is a way to change the order.
Sir, e^iπ + 1 = 0, hence God exists; reply!
That shouldn't happen.
Thats what I thought!
You see the NSView is inside a custom window class, I thought maybe thats the problem but I dont know....
You see the NSView is inside a custom window class, I thought maybe thats the problem but I dont know....
Sir, e^iπ + 1 = 0, hence God exists; reply!
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| drawRect not being called | IckyThump | 4 | 5,258 |
Aug 13, 2009 06:48 AM Last Post: IckyThump |
|
| drawRect in NSOpenGLView help | fakeOne | 3 | 3,684 |
Sep 3, 2006 09:04 AM Last Post: Xenos |
|
| drawRect: is not executed after setNeedsDisplay:YES | Moridin | 7 | 6,606 |
Oct 19, 2005 12:42 AM Last Post: Moridin |
|
| drawRect without resetting the NSView | jspoon | 4 | 3,404 |
Apr 1, 2005 09:38 AM Last Post: jspoon |
|

