ios - Can't make User Defined Runtime Attributes work -


i able use "user defined runtime attributes " xcode storyboard build nice pop through container view. unfortunately, can't make works , can't figure out why !

i found many topics (eg: is possible set uiview border properties interface builder?) deal doesn't work me... !

here attribute inspector of containerview embed uiview (i tried implement containerview uiview no success).

enter image description here

i added extension transform uicolor cgcolor expected :

extension calayer { var borderuicolor: uicolor {     set {         self.bordercolor = newvalue.cgcolor     }      {         return uicolor(cgcolor: self.bordercolor!)     } } 

}

does think missing ?

thank in advance ;)

instead of layer.bordercolor, use layer.borderuicolor in user defined runtime attributes. double click key name , add ui.


Comments

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

javascript - IE9 error '$'is not defined -