Take control of your SAP testing with UiPath Test Suite
Swipe 2011 - iOS Gems
1. iOS Gems
Some jewels for your glory box
Kevin O’Neill
Delivery Manager – Mobile
REA Group
twitter: @kevinoneill
This is not a con dential session — please stream, blog, tweet and take pictures :)
47. - (void)layoutSubviews;
• Does nothing by default
• Used to position subviews
• Called when the layout is dirty
• Don’t call it manually– I’ve seen to
many times
• Don’t resize self – I’ve seen to many
times
48. - (CGSize)sizeThatFits:
(CGSize)size;
• Returns current size by default
• Return ‘best’ size to fit given size
• Doesn’t resize the view
• Don’t resize the view – I’ve seen to
many times
• Don’t layout view – I’ve seen to many
times