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

c# SetCompatibleTextRenderingDefault must be called before the first -

c++ - Fill runtime data at compile time with templates -

C#.NET Oracle.ManagedDataAccess ConfigSchema.xsd -