iOS 9 UITableView separators insets (significant left margin)

Okay, I have found out the solution. The only thing required for that is to set on the presenting instance of UITableView that flag cellLayoutMarginsFollowReadableWidth myTableView.cellLayoutMarginsFollowReadableWidth = NO; I wanted to find some reference in the documentation but it looks like it is not ready yet, only mentioned on diff page. As the flag was … Read more

Multiline label in UIStackView

The correct answer is here: https://stackoverflow.com/a/43110590/566360 Embed the UILabel inside a UIView (Editor -> Embed In -> View) Use constraints to fit the UILabel to the UIView (for example, trailing space, top space, and leading space to superview constraints) The UIStackView will stretch out the UIView to fit properly, and the UIView will constrain the … Read more

Changed +load method order in Xcode 7

TL,DR: It’s xctest’s fault, not objc’s. This is because of how the xctest executable (the one that actually runs the unit tests, located at $XCODE_DIR/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Xcode/Agents/xctest loads its bundle. Pre-Xcode 7, it loaded all referenced test bundles before running any tests. This can be seen (for those that care), by disassembling the binary for Xcode 6.4, … Read more

Xcode 7 compile error : “Command failed due to signal: Segmentation fault: 11”

Omg, this is a terrific bug of Xcode. Just read this. http://blog.bellebethcooper.com/xcode-bug.html It made me smile. The change was deceptively small, but here’s what it was (inside my API client class, where I actually get the JSON data from the API): I changed this: `let json = try? NSJSONSerialization.JSONObjectWithData(data, options: [])` to this: `let json … Read more