“Auto Layout still required after executing -layoutSubviews” with UITableViewCell subclass

I encountered the same problem while manually adding constraints in code. In code, I was doing the following: { [self setTranslatesAutoresizingMaskIntoConstraints:YES]; [self addSubview:someView]; [self addSubview:someOtherView]; [self addConstraint:…]; } Hypothesis From what I can tell, the issue is that when you disable translatesAutoresizingMaskIntoConstraints, UITableViewCell starts to use Auto Layout and naturally fails because the underlying implementation … Read more

Change templates in Xcode

You wouldn’t change the existing templates. In other words, don’t modify anything under the /Developer hierarchy (or wherever you installed your developer tools). Instead, clone the templates you want to have customized variants of. Then change their names and the information in them. Finally, put them in the appropriate location in your account’s Library/Application Support … Read more