Style changes and refactoring.

This commit is contained in:
Aditya Nrusimha
2012-10-12 15:52:33 -07:00
parent a54d25b54a
commit cfa9f1b0e7
6 changed files with 162 additions and 257 deletions
@@ -50,7 +50,7 @@
// The attributed string in this case is set by setAttributedString:
// which is configured by the table view delegate. The frame needs to
// be set before it can be drawn, we do that in drawRect: below.
self.textRenderers = [NSArray arrayWithObjects:_textRenderer, nil];
self.textRenderers = @[_textRenderer];
// Add in a standard Cocoa text field. We have to enclose this within
// a TUIViewNSViewContainer, and we MUST adjust only the frame of that