iPhone - At user event create objects in the view

Posted by insaneshow on Stack Overflow See other posts from Stack Overflow or by insaneshow
Published on 2010-08-01T15:07:56Z Indexed on 2010/12/23 4:54 UTC
Read the original article Hit count: 143

Filed under:

Hello,

I am new to iPhone programming, so I think part of the problem is that I don't know what I really want to google to find my answer. I am looking for a method that allows a user to draw a line on the screen. There is no guarantee that it will be straight, it can be curved or whatever. I was thinking that I could create some small square image, and then as they draw, place them into a NSset. But I am not really sure how to communicate each new object up to the view. Up to this point, I've just been messing around with objects I put on the view and then assign movement to those, this is my first jump into on-the-fly object creation.

It might be that I just need to jump into a class/object type or even a tutorial, any guidance would be great.

Thanks!

© Stack Overflow or respective owner

Related posts about iphone