Conversation
IB_DESIGNABLE basic support with placeholder text viewable in storyboard.
Label, Text Color and Text Shadow Color can be customised using the storyboard. Default Label Text is "AutoScrollLabel"
Label, Text Color and Text Shadow Color can be customised using the storyboard. Default Label Text is "AutoScrollLabel"
|
Thanks for updating it |
|
@vincentneo can you please solve the merge conflict? It looks like a really cool addition! @cbess would you merge it once the conflicts have been solved? |
|
@ |
|
Pressed the wrong thing sorry! @Panajev sure, when I am free! |
Probably won't work
|
@Panajev Tried, but I do not know how to resolve. Really bad at Git stuff so yeah. Would be great if you could help! |
|
I can merge it once you resolve the code review comments. |
|
@cbess sure. I'll try |
Now I have added Fade Length & Shadow Offset to have IBInspectable support as well.
|
Well, conflicts are sometimes scarier than they look... sometimes worse hehe
…
|
| label.autoresizingMask = self.autoresizingMask; | ||
|
|
||
| // Placeholder text for IB_DESIGNABLE in Storyboards | ||
| label.text = @"AutoScrollLabel"; |
There was a problem hiding this comment.
Do you think it would be best to move this to prepareForInterfaceBuilder so that we don't unnecessarily exec this logic during runtime?
There was a problem hiding this comment.
Hmm, maybe it would be better. It would definitely look better too.
|
|
||
| @end | ||
|
|
||
| IB_DESIGNABLE |
There was a problem hiding this comment.
Please place a space above this line to make it easier to distinguish the separation of the blocks.
There was a problem hiding this comment.
Ok. I'll do it tomorrow. (It's eleven here)
| self.fadeLength = kDefaultFadeLength; | ||
| } | ||
|
|
||
|
|
There was a problem hiding this comment.
Please remove this space as it doesn't appear to add any value
|
I have tried |
|
@cbess is there any problems now? |
|
@vincentneo thanks for these changes. I'm reviewing it now to merge it. Sorry, for the very long delay :| |
IB_DESIGNABLE basic support with placeholder text viewable in storyboard.