hi. i have a window with a custom view in it. I add another view in code and then i add a couple of constraints to centre the new view in its superview. so far so good.
if i DON'T call [self setTranslatesAutoresizingMaskIntoConstraints:NO]; on my subview, it appears, but the superview (and wit it the window) is reduced in size to the size of the subview, and i can't make the window bigger using the mouse. if I DO call [self setTranslatesAutoresizingMaskIntoConstraints:NO]; on the subview, the window and its view behave normally, but the subview doesn't appear, its drawrect method is not called, nothing. so what am i doing wrong?
signature.asc
Description: Message signed with OpenPGP using GPGMail
_______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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 arch...@mail-archive.com