Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

    I use UIView+Positioning, which exposes x, y, width,    
    height, right, bottom, centerX, and centerY as both 
    setters and getters.
IB/code aside, this is convenient. All of those properties are read-only by default, and that's always seemed counterintuitive to me (though I'm sure there's some purpose I'm missing).


Those are struct members, not properties.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: