E erdinc27 macrumors regular Original poster Jul 29, 2016 #1 i wonder if it is possible to add a custom controller to Xcode Object Library ? Lets say i created a label with underline and i want to add it to Object Library and change its properties like a normal iOS controller. Can it be done ?
i wonder if it is possible to add a custom controller to Xcode Object Library ? Lets say i created a label with underline and i want to add it to Object Library and change its properties like a normal iOS controller. Can it be done ?
jgaz macrumors member Jul 29, 2016 #2 You can add custom view to interface builder and be able to access its properties with @IBDesignable & @IBInspectable Here is some good info on how it works: https://developer.apple.com/library...hapters/CreatingaLiveViewofaCustomObject.html http://nshipster.com/ibinspectable-ibdesignable/ Reactions: albebaubles
You can add custom view to interface builder and be able to access its properties with @IBDesignable & @IBInspectable Here is some good info on how it works: https://developer.apple.com/library...hapters/CreatingaLiveViewofaCustomObject.html http://nshipster.com/ibinspectable-ibdesignable/