objective c - iOS app as a staged play -
this may not unique question, don't know how phrase because google skills insufficient.
i writing app framework , spending lot of time writing system store positions , other properties of uiview elements on screen.
what want know whether exists, since though system works well, concerned memory usage large number of elements.
basically, subclassed uicontrol , added "state" property stores position, alpha, colorscheme data , forms of transforms apply state in interface. akin actors positioned on stage. when scene change happens (a button pressed, or something) actors (uiviews) know , how stored data.
this means single button press , nsnotification, can broadcast simple integer identifies state in, , necessary properties animated accordingly.
am wasting time? exist. not appear included in tools apple provides.
Comments
Post a Comment