I have noticed by experimentation that if I have a layout constraint on a view 
that sets its height at (say) 36, I can later change the view's frame in code 
to set its height at (say) 50. The view's height does visibly change, but 
logging proves that the layout constraint does not change.

(1) How can this be? The view would appear to be violating its own layout 
constraint.

(2) More important: Is this a bad situation? In other words, once I've decided 
to use layout constraints at all, must I then use them for everything and avoid 
frame/bounds? Can something bad happen later because of this conflict?

Thx - m.

--
matt neuburg, phd = [email protected], http://www.apeth.net/matt/
pantes anthropoi tou eidenai oregontai phusei
Programming iOS 5! http://shop.oreilly.com/product/0636920023562.do
RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
TidBITS, Mac news and reviews since 1990, http://www.tidbits.com


_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to