I just started programming in cocoa and I'm trying to make a very simple game in which the user has to press a moving button
but I can't find anyway to change the position of a button.
So i wonder, is there a way? and if there is, what it is?
now i just have one more question:
i notice that this cocoa thing is really event driven. how can i do something continously.
in my case: how can i make the origin.x and origin.y change automaticly all the time, whitout something like a button press? i already tried to look for a timers object or something but could find one.