-
Notifications
You must be signed in to change notification settings - Fork 780
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Variation on IBEnum? #594
Labels
Comments
@phimage Sorry, I didn't see your issue before, add another |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just want to discuss about a potential feature.
Unfortunately I think we cannot do "Trait Variation" for "User Defined Runtime Attributes"
So when we define something, it is for all ipads and iphones
I make a little PoC using
NSDataAsset
, that can be variatedA data asset named mask
Inside I put just some text file with the wanted value of a maskType
Then in
MaskType
I add a code to parse NSDataAssetAnd finally I use it on my view in storyboard like this
dataAsset(mask)
on iphone a circle
on ipad an ellipse
The text was updated successfully, but these errors were encountered: