#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2013
    Posts
    1
    Rep Power
    0

    Reset To .xib posistions?


    Hey,

    is there any way of getting code to reset SPECIFIC UIImages back to the position their in on the xib file?

    e.g:
    if(object2.frame.origin.y > 100) {

    (code here to reset object2 to its position in the xib file)

    }
  2. #2
  3. Contributing User
    Devshed Demi-God (4500 - 4999 posts)

    Join Date
    Aug 2011
    Posts
    4,935
    Rep Power
    481
    If what you desire can be expressed with an algorithm using reasonable limited resources, then yes.

    fseek could help. If an xib file has a specific format and you want to reorder it you might need to rewrite the entire file. In which case fseek might not help.
    [code]Code tags[/code] are essential for python code and Makefiles!

IMN logo majestic logo threadwatch logo seochat tools logo