Example usage of @IBDesignable and @IBInspectable
If the interface preview crashes, the cause of the crash will be logged here:
~/Library/Logs/DiagnosticReports/
The log filename will look like this:
IBDesignablesAgentCocoaTouch_2014-11-13-152919-1_hostname.crash