ibdesignable Questions
3
Solved
I have a subclass of UIView called MyView that I am creating.
In it there is a UILabel (this is added in code not in InterfaceBuilder for reasons).
I then have a property on MyView called color.
...
Roark asked 22/1, 2015 at 12:4
1
Is there a way to use NSArray IBInspectable in order to define multiple values in Storyboard custom view?
I know that NSArray doesn't have any information about the type of object that will be stor...
Intentional asked 17/4, 2015 at 21:39
3
Solved
I'm having some difficulty using IB_DESIGNABLE in a pod.
I created a custom view which I marked as IB_DESIGNABLE and made a sample project that uses it. No problems so far.
The issue happens when...
Singlestick asked 25/10, 2014 at 21:53
1
Solved
I have custom IBDesignable classes in swift that do some things that cause crashes in Interface Builder. Is there a flag I can check to see if I'm running in interface builder or not? Ideally it wo...
Ashmead asked 10/6, 2015 at 0:15
1
Solved
I've implemented a custom control in a OS X application that works fine. When the control is drawn it uses code from a non system Framework. The control is written in swift, the framework is in Obj...
Volney asked 1/5, 2015 at 15:46
1
Solved
I'm attempting to create an IBDesignable class which can have a transparent background when rendered in Interface Builder. So far, I've gotten opaque black backgrounds. I've set up a simple demonst...
Lax asked 2/1, 2015 at 17:20
© 2022 - 2024 — McMap. All rights reserved.