I have a UIView subclass, which I want to set for a UIView in my storyboard. I cant. it works in code

Originator:Pich.Dominik
Number:rdar://16784743 Date Originated:30.4.2014
Status:Open Resolved:No
Product:Developer Tools Product Version:5.1.1
Classification:Serious Reproducible:Always
 
Summary:
I have a UIView subclass, which I want to set for a UIView in my storyboard. I cant. it works in code

The Important things:

1. it is a cross-platform project: There is an osx target AND an ios target
2. the view itself is for both platforms and if use an #if based on platform

Steps to Reproduce:
open attached project which is an unmodified cocoa app & a ios utility app
open the osx xib > see how it works > the view's class is Test
open the ios storyboard > try to set test as the view's class >> BEEP

Expected Results:
I can set the view in the storyboard

Actual Results:
BEEP -- and I cant set it in the storyboard. only in code

Version:
5.1.1

Notes:


Configuration:


Attachments:
'test.zip' was successfully uploaded.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!