Tuesday, 10 September 2013

When I set a property in code does it matter if the storyboard option is enabled or disabled?

When I set a property in code does it matter if the storyboard option is
enabled or disabled?

Consider UITableView's refreshing option.
If I have code in place to set up and display a refresher, should I keep
it enabled or disabled in storyboard (With the little check-boxes)? I
figure it is not usually critical, but I would imagine that there are
certain things that can cause bugs when overlooked, like if setting the
refresher as 'off' in storyboard also changed some scrolling properties
that were not covered in code (even though it doesn't-).
I am presuming that written code takes priority over storyboard options,
and any storyboard settings are configured at compile time.
Is something that I need to be concerned with?

No comments:

Post a Comment