Objective-C: drawing a custom class to a custom view
i have a custom class that i want to have "draw" itself to a custom view
by doing something like this
(in my custom view- drawRect method
[myObject draw];
i've tried using [self lockFocus] (in the view) then calling
[myObject draw]
and putting the object drawing specific code in that
but it doesn't want to work
let me know if you need more info to help me
ss2cire
by doing something like this
(in my custom view- drawRect method
[myObject draw];
i've tried using [self lockFocus] (in the view) then calling
[myObject draw]
and putting the object drawing specific code in that
but it doesn't want to work
let me know if you need more info to help me
ss2cire
Never mind i got it to work with the help of crackbunny 
ss2cire

ss2cire
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| Drawing into a custom view from another object? | hypnotx | 10 | 3,796 |
Jun 15, 2007 05:36 PM Last Post: hypnotx |
|
| Custom Primatives... faster? | KiroNeem | 26 | 6,633 |
Jan 8, 2006 12:52 PM Last Post: akb825 |
|
| Trouble With Class in Custom Framework | Nick | 8 | 3,253 |
Nov 26, 2005 01:11 PM Last Post: Nick |
|
| A Custom Window for a Game | Jordan | 2 | 3,086 |
Nov 9, 2005 11:31 AM Last Post: Jordan |
|
| How to write a custom memory manager | Malarkey | 3 | 3,340 |
Oct 27, 2005 09:52 AM Last Post: aqua_scummm |
|

