I i.yalovecky macrumors member Original poster Mar 29, 2010 #1 I started to create app that tests my geometrical function, so i make all calculation in Controller and need to draw some lines into view and i really don't want to subclass it. How can i do it? thanks.
I started to create app that tests my geometrical function, so i make all calculation in Controller and need to draw some lines into view and i really don't want to subclass it. How can i do it? thanks.
PhoneyDeveloper macrumors 68040 Mar 29, 2010 #2 The right way to do this is to subclass UIView and draw in its drawRect method. If you really don't want to do that for some reason you could draw into an image and use an image view to display the image.
The right way to do this is to subclass UIView and draw in its drawRect method. If you really don't want to do that for some reason you could draw into an image and use an image view to display the image.
B b0yax macrumors newbie Jul 13, 2010 #3 same problem Hi, I'm also stucked with the same problem you've had... https://forums.macrumors.com/threads/966371/ can you give me some pointers pls... Thanks
same problem Hi, I'm also stucked with the same problem you've had... https://forums.macrumors.com/threads/966371/ can you give me some pointers pls... Thanks