Is the generated code compatible with IBDesignable or IBInspectable designation? Yes — please, check out the example project and EXClockView object.