iphone - Customization of UITableViewCell not doing anything -


i'm having issue can't figure out. have uitableview custom uitableviewcell. i've set should , that's fine. have uiimageview in uitableviewcell. i'm trying customize objects inside uitableview uiimageview without using storyboard. added uiimageview using storyboard , connected iboutlet custom uitableviewcell class file.

i'm starting of simple customization like:

override func awakefromnib() {     super.awakefromnib()      profilepictureimageview.frame = cgrect(x: 5, y: 5, width: 70, height: 70)      println("pic dimensions: x:\(profilepictureimageview.frame.origin.x) y:\(profilepictureimageview.frame.origin.y) w:\(profilepictureimageview.frame.size.width) h:\(profilepictureimageview.frame.size.height)")  } 

the weird thing println statement showing i've changed dimensions of uiimageview expected, problem having not being reflected in ui. weird thing is other sort of customization in awakefromnib() such rounding uiimageview, works. repositioning , changing dimensions doesn't seem work, don't it. way using xcode 6.1 + swift

try change profilepictureimageview's frame in layoutsubviews.


Comments

Popular posts from this blog

ruby on rails - RuntimeError: Circular dependency detected while autoloading constant - ActiveAdmin.register Role -

c++ - OpenMP unpredictable overhead -

javascript - Wordpress slider, not displayed 100% width -