From 4511c5cca2b3e3e04037cc67bab189c39f91470a Mon Sep 17 00:00:00 2001 From: Charles Powell Date: Wed, 8 Oct 2014 20:35:09 -0700 Subject: [PATCH] Convert one demo label to an IB-set string. --- .../Classes/MarqueeLabelDemoViewController.m | 2 +- MarqueeLabelDemo/MarqueeLabel.storyboard | 16 +++++----------- 2 files changed, 6 insertions(+), 12 deletions(-) diff --git a/MarqueeLabelDemo/Classes/MarqueeLabelDemoViewController.m b/MarqueeLabelDemo/Classes/MarqueeLabelDemoViewController.m index 6945b02e..f4e7eecf 100644 --- a/MarqueeLabelDemo/Classes/MarqueeLabelDemoViewController.m +++ b/MarqueeLabelDemo/Classes/MarqueeLabelDemoViewController.m @@ -43,8 +43,8 @@ - (void)viewDidLoad { self.demoLabel1.animationCurve = UIViewAnimationOptionCurveEaseInOut; self.demoLabel1.fadeLength = 10.0f; self.demoLabel1.continuousMarqueeExtraBuffer = 10.0f; - self.demoLabel1.text = @"This is a test of MarqueeLabel - the text is long enough that it needs to scroll to see the whole thing."; self.demoLabel1.tag = 101; + // Text string for this label is set via Interface Builder! // Reverse Continuous Type, with attributed string diff --git a/MarqueeLabelDemo/MarqueeLabel.storyboard b/MarqueeLabelDemo/MarqueeLabel.storyboard index 1f36dfdc..3150944d 100644 --- a/MarqueeLabelDemo/MarqueeLabel.storyboard +++ b/MarqueeLabelDemo/MarqueeLabel.storyboard @@ -1,8 +1,8 @@ - + - + @@ -32,7 +32,7 @@ -