Closed TimOliver closed 4 years ago
isEmpty
hasNoSections
nil
items
CodeViewController
addNewSegment
addSegment
new
UISegmentedControl
isEmpty
tohasNoSections
for better clarity.nil
.items
is nil.CodeViewController
to unit tests to capture fixed crashes.addNewSegment
toaddSegment
asnew
isn't necessary.UISegmentedControl
more.