File tree Expand file tree Collapse file tree 3 files changed +19
-4
lines changed Expand file tree Collapse file tree 3 files changed +19
-4
lines changed Original file line number Diff line number Diff line change 140
140
isa = PBXProject;
141
141
attributes = {
142
142
CLASSPREFIX = UYL;
143
- LastUpgradeCheck = 0500 ;
143
+ LastUpgradeCheck = 0510 ;
144
144
ORGANIZATIONNAME = "Keith Harrison";
145
145
};
146
146
buildConfigurationList = 5363F6CD18AADBF6001CBD3A /* Build configuration list for PBXProject "Huckleberry" */;
213
213
isa = XCBuildConfiguration;
214
214
buildSettings = {
215
215
ALWAYS_SEARCH_USER_PATHS = NO;
216
- ARCHS = "$(ARCHS_STANDARD_INCLUDING_64_BIT)";
217
216
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
218
217
CLANG_CXX_LIBRARY = "libc++";
219
218
CLANG_ENABLE_MODULES = YES;
252
251
isa = XCBuildConfiguration;
253
252
buildSettings = {
254
253
ALWAYS_SEARCH_USER_PATHS = NO;
255
- ARCHS = "$(ARCHS_STANDARD_INCLUDING_64_BIT)";
256
254
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
257
255
CLANG_CXX_LIBRARY = "libc++";
258
256
CLANG_ENABLE_MODULES = YES;
Original file line number Diff line number Diff line change 35
35
36
36
@implementation UYLTextCell
37
37
38
+ - (id )debugQuickLookObject
39
+ {
40
+ // NSString *result = [NSString stringWithFormat:@"%@: %@",self.numberLabel.text,self.lineLabel.text];
41
+
42
+ NSAttributedString *cr = [[NSAttributedString alloc ] initWithString: @" \n " ];
43
+ NSMutableAttributedString *result = [[NSMutableAttributedString alloc ] initWithAttributedString: self .numberLabel.attributedText];
44
+ [result appendAttributedString: cr];
45
+ [result appendAttributedString: self .lineLabel.attributedText];
46
+ return result;
47
+ }
38
48
39
49
@end
Original file line number Diff line number Diff line change 1
1
=======================================================================
2
2
Huckleberry - Auto layout table view cells with varying row heights
3
+ Version 1.1 12 March 2014 Added Quick Look Debug
3
4
Version 1.0 14 February 2014 Initial version.
4
5
=======================================================================
5
6
@@ -11,4 +12,10 @@ of Huckleberry Finn as found on Project Gutenberg. This gives nearly
11
12
2000 rows of data.
12
13
13
14
For further details see the following blog post:
14
- http://useyourloaf.com/blog/2014/02/14/table-view-cells-with-varying-row-heights.html
15
+ http://useyourloaf.com/blog/2014/02/14/table-view-cells-with-varying-row-heights.html
16
+
17
+ The custom table view class (UYLTextCell) includes an implementation
18
+ of debugQuickLookObject to support Quick Look view of the cell in the
19
+ Xcode debugger (requires Xcode 5.1). See the following post for details:
20
+
21
+ http://useyourloaf.com/blog/2014/03/12/xcode-debugger-quick-look.html
You can’t perform that action at this time.
0 commit comments