Open EricxStone opened 12 years ago
I'm working on a drawing method that uses less memory. I should have that pushed out next week.
Could you please tell me what method did you use? As my project is quite urgent... Thanks
This should be fixed in the latest update. Try it now.
Hi, even I got the memory warning when I tried to draw multiple lines and app is crashing
I cannot perform erase and undo operations with latest code.. can you please suggest me how to implement erase and undo with latest code?
thanks, Rahman
Have you looked into using CATiledLayer? I have a ~3000x3000 SmoothLineView which used to allocate 100Mb+ during drawing and 40Mb+ after drawing finished. I have switched the layer of the view to CATiledLayer and now the memory footprint is 6Mb for same sized view.
When I try to run this app in iPad (1st gen), it will receive memory warning if I draw a lot of lines. After a few more lines are drawn, the app will crash.