Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Scrollinglabels #8

Merged
merged 2 commits into from over 1 year ago

2 participants

Patrick Rene Hopf
Patrick

Better support for long titles.

Belongs to #7 #issue7

Rene Hopf rene-dev merged commit 32bef38 into from
Rene Hopf rene-dev closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
6  28C3.xcodeproj/project.pbxproj
@@ -70,6 +70,7 @@
70 70
 		B4E54C1F149631A4008F1D87 /* 28c3_eventdetail@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = B4E54C1D149631A4008F1D87 /* 28c3_eventdetail@2x.png */; };
71 71
 		B4E54C22149639BB008F1D87 /* 28c3_sectionheader.png in Resources */ = {isa = PBXBuildFile; fileRef = B4E54C20149639BB008F1D87 /* 28c3_sectionheader.png */; };
72 72
 		B4E54C23149639BB008F1D87 /* 28c3_sectionheader@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = B4E54C21149639BB008F1D87 /* 28c3_sectionheader@2x.png */; };
  73
+		CD0FA39414AE0C1000E8FA53 /* AutoScrollLabel.m in Sources */ = {isa = PBXBuildFile; fileRef = CD0FA39314AE0C1000E8FA53 /* AutoScrollLabel.m */; };
73 74
 /* End PBXBuildFile section */
74 75
 
75 76
 /* Begin PBXFileReference section */
@@ -149,6 +150,8 @@
149 150
 		B4E54C1D149631A4008F1D87 /* 28c3_eventdetail@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "28c3_eventdetail@2x.png"; sourceTree = "<group>"; };
150 151
 		B4E54C20149639BB008F1D87 /* 28c3_sectionheader.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = 28c3_sectionheader.png; sourceTree = "<group>"; };
151 152
 		B4E54C21149639BB008F1D87 /* 28c3_sectionheader@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "28c3_sectionheader@2x.png"; sourceTree = "<group>"; };
  153
+		CD0FA39214AE0C1000E8FA53 /* AutoScrollLabel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AutoScrollLabel.h; sourceTree = "<group>"; };
  154
+		CD0FA39314AE0C1000E8FA53 /* AutoScrollLabel.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AutoScrollLabel.m; sourceTree = "<group>"; };
152 155
 /* End PBXFileReference section */
153 156
 
154 157
 /* Begin PBXFrameworksBuildPhase section */
@@ -170,6 +173,8 @@
170 173
 		080E96DDFE201D6D7F000001 /* Classes */ = {
171 174
 			isa = PBXGroup;
172 175
 			children = (
  176
+				CD0FA39214AE0C1000E8FA53 /* AutoScrollLabel.h */,
  177
+				CD0FA39314AE0C1000E8FA53 /* AutoScrollLabel.m */,
173 178
 				B486F33D12AF8AB500DB0527 /* WebView.h */,
174 179
 				B486F33E12AF8AB500DB0527 /* WebView.m */,
175 180
 				B4DD354412AF11DC003C8FF2 /* Event.h */,
@@ -411,6 +416,7 @@
411 416
 				B407DDD312B136CF00B9E906 /* HelpView.m in Sources */,
412 417
 				B49F61A41495212400F6E711 /* FavoritesViewController.m in Sources */,
413 418
 				B49F61A91495318100F6E711 /* StreamsViewController.m in Sources */,
  419
+				CD0FA39414AE0C1000E8FA53 /* AutoScrollLabel.m in Sources */,
414 420
 			);
415 421
 			runOnlyForDeploymentPostprocessing = 0;
416 422
 		};
42  Classes/AutoScrollLabel.h
... ...
@@ -0,0 +1,42 @@
  1
+//
  2
+//  AutoScrollLabel.h
  3
+//  AutoScrollLabel
  4
+//
  5
+//  Created by Brian Stormont on 10/21/09.
  6
+//  Copyright 2009 Stormy Productions. All rights reserved.
  7
+//
  8
+//  Permission is granted to use this code free of charge for any project.
  9
+//
  10
+
  11
+#import <UIKit/UIKit.h>
  12
+
  13
+#define NUM_LABELS 2
  14
+
  15
+enum AutoScrollDirection {
  16
+	AUTOSCROLL_SCROLL_RIGHT,
  17
+	AUTOSCROLL_SCROLL_LEFT,
  18
+};
  19
+
  20
+@interface AutoScrollLabel : UIScrollView <UIScrollViewDelegate>{
  21
+	UILabel *label[NUM_LABELS];
  22
+	enum AutoScrollDirection scrollDirection;
  23
+	float scrollSpeed;
  24
+	NSTimeInterval pauseInterval;
  25
+	int bufferSpaceBetweenLabels;
  26
+	bool isScrolling;
  27
+}
  28
+@property(nonatomic) enum AutoScrollDirection scrollDirection;
  29
+@property(nonatomic) float scrollSpeed;
  30
+@property(nonatomic) NSTimeInterval pauseInterval;
  31
+@property(nonatomic) int bufferSpaceBetweenLabels;
  32
+// normal UILabel properties
  33
+@property(nonatomic,retain) UIColor *textColor;
  34
+@property(nonatomic, retain) UIFont *font;
  35
+
  36
+- (void) readjustLabels;
  37
+- (void) setText: (NSString *) text;
  38
+- (NSString *) text;
  39
+- (void) scroll;
  40
+
  41
+
  42
+@end
251  Classes/AutoScrollLabel.m
... ...
@@ -0,0 +1,251 @@
  1
+//
  2
+//  AutoScrollLabel.m
  3
+//  AutoScrollLabel
  4
+//
  5
+//  Created by Brian Stormont on 10/21/09.
  6
+//  Copyright 2009 Stormy Productions. 
  7
+//
  8
+//  Permission is granted to use this code free of charge for any project.
  9
+//
  10
+
  11
+#import "AutoScrollLabel.h"
  12
+
  13
+#define LABEL_BUFFER_SPACE 20   // pixel buffer space between scrolling label
  14
+#define DEFAULT_PIXELS_PER_SECOND 30
  15
+#define DEFAULT_PAUSE_TIME 0.5f
  16
+
  17
+@implementation AutoScrollLabel
  18
+@synthesize pauseInterval;
  19
+@synthesize bufferSpaceBetweenLabels;
  20
+
  21
+- (void) commonInit
  22
+{
  23
+	for (int i=0; i< NUM_LABELS; ++i){
  24
+		label[i] = [[UILabel alloc] init];
  25
+		label[i].textColor = [UIColor whiteColor];
  26
+		label[i].backgroundColor = [UIColor clearColor];
  27
+		[self addSubview:label[i]];
  28
+	}
  29
+	
  30
+	scrollDirection = AUTOSCROLL_SCROLL_LEFT;
  31
+	scrollSpeed = DEFAULT_PIXELS_PER_SECOND;
  32
+	pauseInterval = DEFAULT_PAUSE_TIME;
  33
+	bufferSpaceBetweenLabels = LABEL_BUFFER_SPACE;
  34
+	self.showsVerticalScrollIndicator = NO;
  35
+	self.showsHorizontalScrollIndicator = NO;
  36
+	self.userInteractionEnabled = NO;
  37
+}
  38
+
  39
+-(id) init
  40
+{
  41
+	if (self = [super init]){
  42
+        // Initialization code
  43
+		[self commonInit];
  44
+	}
  45
+	
  46
+	return self;
  47
+}
  48
+
  49
+- (id)initWithCoder:(NSCoder *)aDecoder
  50
+{
  51
+    if (self = [super initWithCoder:aDecoder]) {
  52
+        // Initialization code
  53
+		[self commonInit];
  54
+    }
  55
+    return self;
  56
+	
  57
+}
  58
+
  59
+
  60
+- (id)initWithFrame:(CGRect)frame {
  61
+    if (self = [super initWithFrame:frame]) {
  62
+        // Initialization code
  63
+		[self commonInit];
  64
+    }
  65
+    return self;
  66
+}
  67
+
  68
+
  69
+#if 0
  70
+- (void)animationDidStop:(NSString *)animationID finished:(NSNumber *)finished context:(void *)context
  71
+{
  72
+	[NSThread sleepForTimeInterval:pauseInterval];
  73
+
  74
+	isScrolling = NO;
  75
+	
  76
+	if ([finished intValue] == 1 && label[0].frame.size.width > self.frame.size.width){
  77
+		[self scroll];
  78
+	}	
  79
+}
  80
+#else
  81
+- (void)animationDidStop:(NSString *)animationID finished:(NSNumber *)finished context:(void *)context
  82
+{
  83
+	isScrolling = NO;
  84
+
  85
+	if ([finished intValue] == 1 && label[0].frame.size.width > self.frame.size.width){
  86
+		[NSTimer scheduledTimerWithTimeInterval:pauseInterval target:self selector:@selector(scroll) userInfo:nil repeats:NO];
  87
+	}
  88
+} 
  89
+#endif
  90
+
  91
+
  92
+- (void) scroll
  93
+{
  94
+	// Prevent multiple calls
  95
+	if (isScrolling){
  96
+//		return;
  97
+	}
  98
+	isScrolling = YES;
  99
+	
  100
+	if (scrollDirection == AUTOSCROLL_SCROLL_LEFT){
  101
+		self.contentOffset = CGPointMake(0,0);
  102
+	}else{
  103
+		self.contentOffset = CGPointMake(label[0].frame.size.width+LABEL_BUFFER_SPACE,0);
  104
+	}
  105
+	
  106
+	[UIView beginAnimations:@"scroll" context:nil];
  107
+    [UIView setAnimationDelegate:self];
  108
+	[UIView setAnimationCurve:UIViewAnimationCurveLinear];
  109
+	[UIView setAnimationDidStopSelector:@selector(animationDidStop:finished:context:)];
  110
+	[UIView setAnimationDuration:label[0].frame.size.width/(float)scrollSpeed];
  111
+	
  112
+	if (scrollDirection == AUTOSCROLL_SCROLL_LEFT){
  113
+		self.contentOffset = CGPointMake(label[0].frame.size.width+LABEL_BUFFER_SPACE,0);
  114
+	}else{
  115
+		self.contentOffset = CGPointMake(0,0);
  116
+	}		
  117
+	
  118
+	[UIView commitAnimations];
  119
+}
  120
+
  121
+
  122
+- (void) readjustLabels
  123
+{
  124
+	float offset = 0.0f;
  125
+	
  126
+	for (int i = 0; i < NUM_LABELS; ++i){
  127
+		[label[i] sizeToFit];
  128
+		
  129
+		// Recenter label vertically within the scroll view
  130
+		CGPoint center;
  131
+		center = label[i].center;
  132
+		center.y = self.center.y - self.frame.origin.y;
  133
+		label[i].center = center;
  134
+		
  135
+		CGRect frame;
  136
+		frame = label[i].frame;
  137
+		frame.origin.x = offset;
  138
+		label[i].frame = frame;
  139
+		
  140
+		offset += label[i].frame.size.width + LABEL_BUFFER_SPACE;
  141
+	}
  142
+	
  143
+	CGSize size;
  144
+	size.width = label[0].frame.size.width + self.frame.size.width + LABEL_BUFFER_SPACE;
  145
+	size.height = self.frame.size.height;
  146
+	self.contentSize = size;
  147
+
  148
+	[self setContentOffset:CGPointMake(0,0) animated:NO];
  149
+	
  150
+	// If the label is bigger than the space allocated, then it should scroll
  151
+	if (label[0].frame.size.width > self.frame.size.width){
  152
+		for (int i = 1; i < NUM_LABELS; ++i){
  153
+			label[i].hidden = NO;
  154
+		}
  155
+		[self scroll];
  156
+	}else{
  157
+		// Hide the other labels out of view
  158
+		for (int i = 1; i < NUM_LABELS; ++i){
  159
+			label[i].hidden = YES;
  160
+		}
  161
+		// Center this label
  162
+		CGPoint center;
  163
+		center = label[0].center;
  164
+		center.x = self.center.x - self.frame.origin.x;
  165
+		label[0].center = center;
  166
+	}
  167
+
  168
+}
  169
+
  170
+
  171
+- (void) setText: (NSString *) text
  172
+{
  173
+	// If the text is identical, don't reset it, otherwise it causes scrolling jitter
  174
+	if ([text isEqualToString:label[0].text]){
  175
+		// But if it isn't scrolling, make it scroll
  176
+		// If the label is bigger than the space allocated, then it should scroll
  177
+		if (label[0].frame.size.width > self.frame.size.width){
  178
+			[self scroll];
  179
+		}
  180
+		return;
  181
+	}
  182
+	
  183
+	for (int i=0; i<NUM_LABELS; ++i){
  184
+		label[i].text = text;
  185
+	}
  186
+	[self readjustLabels];
  187
+}	
  188
+- (NSString *) text
  189
+{
  190
+	return label[0].text;
  191
+}
  192
+
  193
+
  194
+- (void) setTextColor:(UIColor *)color
  195
+{
  196
+	for (int i=0; i<NUM_LABELS; ++i){
  197
+		label[i].textColor = color;
  198
+	}
  199
+}
  200
+
  201
+- (UIColor *) textColor
  202
+{
  203
+	return label[0].textColor;
  204
+}
  205
+
  206
+
  207
+- (void) setFont:(UIFont *)font
  208
+{
  209
+	for (int i=0; i<NUM_LABELS; ++i){
  210
+		label[i].font = font;
  211
+	}
  212
+	[self readjustLabels];
  213
+}
  214
+
  215
+- (UIFont *) font
  216
+{
  217
+	return label[0].font;
  218
+}
  219
+
  220
+
  221
+- (void) setScrollSpeed: (float)speed
  222
+{
  223
+	scrollSpeed = speed;
  224
+	[self readjustLabels];
  225
+}
  226
+
  227
+- (float) scrollSpeed
  228
+{
  229
+	return scrollSpeed;
  230
+}
  231
+
  232
+- (void) setScrollDirection: (enum AutoScrollDirection)direction
  233
+{
  234
+	scrollDirection = direction;
  235
+	[self readjustLabels];
  236
+}
  237
+
  238
+- (enum AutoScrollDirection) scrollDirection
  239
+{
  240
+	return scrollDirection;
  241
+}
  242
+
  243
+- (void)dealloc {
  244
+	for (int i=0; i<NUM_LABELS; ++i){
  245
+		[label[i] release];
  246
+	}
  247
+    [super dealloc];
  248
+}
  249
+
  250
+
  251
+@end
3  Classes/EventDetailView.h
@@ -8,6 +8,7 @@
8 8
 
9 9
 #import <UIKit/UIKit.h>
10 10
 #import "WebView.h"
  11
+#import "AutoScrollLabel.h"
11 12
 
12 13
 @class Event, WebView, ReminderView;
13 14
 
@@ -31,10 +32,12 @@
31 32
     IBOutlet UILabel *trackLabel;
32 33
     IBOutlet UIScrollView *scrollView;
33 34
     IBOutlet UIImageView *image;
  35
+    IBOutlet AutoScrollLabel *asTitleLabel;
34 36
 }
35 37
 
36 38
 @property (nonatomic, retain) Event *aEvent;
37 39
 @property (nonatomic) BOOL fromFavorites;
  40
+@property (nonatomic, retain) IBOutlet AutoScrollLabel *asTitleLabel;
38 41
 
39 42
 -(IBAction)actionButtonPressed:(id)sender;
40 43
 - (BOOL) date:(NSDate*)date isBetweenDate:(NSDate*)beginDate andDate:(NSDate*)endDate;
14  Classes/EventDetailView.m
@@ -13,7 +13,7 @@
13 13
 
14 14
 @implementation EventDetailView
15 15
 
16  
-@synthesize aEvent,fromFavorites;
  16
+@synthesize aEvent,fromFavorites, asTitleLabel;
17 17
 
18 18
 #pragma mark -
19 19
 #pragma mark View lifecycle
@@ -31,8 +31,6 @@ - (void)viewDidLoad {
31 31
     self.view.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"28c3_background"]];
32 32
 }
33 33
 
34  
-
35  
-
36 34
 - (void)viewWillAppear:(BOOL)animated {
37 35
     [super viewWillAppear:animated];
38 36
 	
@@ -41,7 +39,15 @@ - (void)viewWillAppear:(BOOL)animated {
41 39
 	abstractText.font = [UIFont fontWithName:@"Courier" size:15];
42 40
 	abstractText.textColor = [UIColor whiteColor];
43 41
 	
44  
-	titleLabel.text = aEvent.title;
  42
+	if (aEvent.title.length > 22) {
  43
+        titleLabel.text = nil;
  44
+        asTitleLabel.text = aEvent.title;
  45
+        asTitleLabel.textColor = [UIColor colorWithRed:0.577 green:0.409 blue:0.065 alpha:1.000];
  46
+    } else {
  47
+        asTitleLabel.text = nil;
  48
+        titleLabel.text =  aEvent.title;
  49
+    }
  50
+    
45 51
 	subtitleLabel.text = aEvent.subtitle;
46 52
     speakerLabel.text = aEvent.speaker;
47 53
 	abstractText.text = ([aEvent.abstract length] > [aEvent.description length]) ? aEvent.abstract : aEvent.description;
49  Classes/EventDetailView.xib
@@ -112,7 +112,7 @@
112 112
 								<string key="NSFrame">{{6, 35}, {307, 12}}</string>
113 113
 								<reference key="NSSuperview" ref="924580380"/>
114 114
 								<reference key="NSWindow"/>
115  
-								<reference key="NSNextKeyView" ref="8227820"/>
  115
+								<reference key="NSNextKeyView" ref="258852661"/>
116 116
 								<reference key="IBUIBackgroundColor" ref="178125527"/>
117 117
 								<bool key="IBUIOpaque">NO</bool>
118 118
 								<bool key="IBUIClipsSubviews">YES</bool>
@@ -339,6 +339,18 @@
339 339
 								<reference key="IBUIFontDescription" ref="671686972"/>
340 340
 								<reference key="IBUIFont" ref="89451196"/>
341 341
 							</object>
  342
+							<object class="IBUIScrollView" id="258852661">
  343
+								<reference key="NSNextResponder" ref="924580380"/>
  344
+								<int key="NSvFlags">268</int>
  345
+								<string key="NSFrame">{{6.5, 5.5}, {307, 37}}</string>
  346
+								<reference key="NSSuperview" ref="924580380"/>
  347
+								<reference key="NSWindow"/>
  348
+								<reference key="NSNextKeyView" ref="8227820"/>
  349
+								<string key="NSReuseIdentifierKey">_NS:190</string>
  350
+								<bool key="IBUIClipsSubviews">YES</bool>
  351
+								<bool key="IBUIMultipleTouchEnabled">YES</bool>
  352
+								<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
  353
+							</object>
342 354
 						</object>
343 355
 						<string key="NSFrameSize">{320, 367}</string>
344 356
 						<reference key="NSSuperview" ref="654992904"/>
@@ -479,6 +491,14 @@
479 491
 				</object>
480 492
 				<object class="IBConnectionRecord">
481 493
 					<object class="IBCocoaTouchOutletConnection" key="connection">
  494
+						<string key="label">asTitleLabel</string>
  495
+						<reference key="source" ref="372490531"/>
  496
+						<reference key="destination" ref="258852661"/>
  497
+					</object>
  498
+					<int key="connectionID">44</int>
  499
+				</object>
  500
+				<object class="IBConnectionRecord">
  501
+					<object class="IBCocoaTouchOutletConnection" key="connection">
482 502
 						<string key="label">delegate</string>
483 503
 						<reference key="source" ref="924580380"/>
484 504
 						<reference key="destination" ref="372490531"/>
@@ -533,6 +553,7 @@
533 553
 							<reference ref="739414957"/>
534 554
 							<reference ref="633337555"/>
535 555
 							<reference ref="8227820"/>
  556
+							<reference ref="258852661"/>
536 557
 						</object>
537 558
 						<reference key="parent" ref="654992904"/>
538 559
 					</object>
@@ -591,6 +612,11 @@
591 612
 						<reference key="object" ref="8227820"/>
592 613
 						<reference key="parent" ref="924580380"/>
593 614
 					</object>
  615
+					<object class="IBObjectRecord">
  616
+						<int key="objectID">43</int>
  617
+						<reference key="object" ref="258852661"/>
  618
+						<reference key="parent" ref="924580380"/>
  619
+					</object>
594 620
 				</object>
595 621
 			</object>
596 622
 			<object class="NSMutableDictionary" key="flattenedProperties">
@@ -612,6 +638,8 @@
612 638
 					<string>34.IBPluginDependency</string>
613 639
 					<string>38.IBPluginDependency</string>
614 640
 					<string>41.IBPluginDependency</string>
  641
+					<string>43.CustomClassName</string>
  642
+					<string>43.IBPluginDependency</string>
615 643
 					<string>8.IBPluginDependency</string>
616 644
 					<string>9.IBPluginDependency</string>
617 645
 				</object>
@@ -632,6 +660,8 @@
632 660
 					<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
633 661
 					<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
634 662
 					<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
  663
+					<string>AutoScrollLabel</string>
  664
+					<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
635 665
 					<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
636 666
 					<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
637 667
 				</object>
@@ -648,12 +678,20 @@
648 678
 				<reference key="dict.values" ref="0"/>
649 679
 			</object>
650 680
 			<nil key="sourceID"/>
651  
-			<int key="maxID">42</int>
  681
+			<int key="maxID">44</int>
652 682
 		</object>
653 683
 		<object class="IBClassDescriber" key="IBDocument.Classes">
654 684
 			<object class="NSMutableArray" key="referencedPartialClassDescriptions">
655 685
 				<bool key="EncodedWithXMLCoder">YES</bool>
656 686
 				<object class="IBPartialClassDescription">
  687
+					<string key="className">AutoScrollLabel</string>
  688
+					<string key="superclassName">UIScrollView</string>
  689
+					<object class="IBClassDescriptionSource" key="sourceIdentifier">
  690
+						<string key="majorKey">IBProjectSource</string>
  691
+						<string key="minorKey">./Classes/AutoScrollLabel.h</string>
  692
+					</object>
  693
+				</object>
  694
+				<object class="IBPartialClassDescription">
657 695
 					<string key="className">EventDetailView</string>
658 696
 					<string key="superclassName">UIViewController</string>
659 697
 					<object class="NSMutableDictionary" key="actions">
@@ -672,6 +710,7 @@
672 710
 						<object class="NSArray" key="dict.sortedKeys">
673 711
 							<bool key="EncodedWithXMLCoder">YES</bool>
674 712
 							<string>abstractText</string>
  713
+							<string>asTitleLabel</string>
675 714
 							<string>durationLabel</string>
676 715
 							<string>idLabel</string>
677 716
 							<string>image</string>
@@ -687,6 +726,7 @@
687 726
 						<object class="NSMutableArray" key="dict.values">
688 727
 							<bool key="EncodedWithXMLCoder">YES</bool>
689 728
 							<string>UITextView</string>
  729
+							<string>AutoScrollLabel</string>
690 730
 							<string>UILabel</string>
691 731
 							<string>UILabel</string>
692 732
 							<string>UIImageView</string>
@@ -705,6 +745,7 @@
705 745
 						<object class="NSArray" key="dict.sortedKeys">
706 746
 							<bool key="EncodedWithXMLCoder">YES</bool>
707 747
 							<string>abstractText</string>
  748
+							<string>asTitleLabel</string>
708 749
 							<string>durationLabel</string>
709 750
 							<string>idLabel</string>
710 751
 							<string>image</string>
@@ -724,6 +765,10 @@
724 765
 								<string key="candidateClassName">UITextView</string>
725 766
 							</object>
726 767
 							<object class="IBToOneOutletInfo">
  768
+								<string key="name">asTitleLabel</string>
  769
+								<string key="candidateClassName">AutoScrollLabel</string>
  770
+							</object>
  771
+							<object class="IBToOneOutletInfo">
727 772
 								<string key="name">durationLabel</string>
728 773
 								<string key="candidateClassName">UILabel</string>
729 774
 							</object>
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.