Re: Setting view class
Re: Setting view class
- Subject: Re: Setting view class
- From: Ken Tozier <email@hidden>
- Date: Fri, 28 Dec 2012 14:43:34 -0500
Thanks. That did the trick
On Dec 27, 2012, at 11:53 PM, Alex Zavatone <email@hidden> wrote:
> There is one of these now but you have to press command option 0 to display the panel where the popup is in the storyboard.
>
> You might want to select the view controller and then select the class for the VC from the popup and create an IBOutlet property to be the view, then drag a link from the view in the storyboard to the property definition in code unless your class does it all in code. IMHO, doing it all in code is much better then using the storyboard.
>
> I find the storyboard implementation and tie in with the code section to be real hit and miss and not intuitive at all. You have to learn how it works first, then follow that method and not deviate. Playing with it is a sure method to screw things up and you won't know what is screwed up since Xcode won't tell you. It's strange.
>
> Try a small sample case first and get that to work. Good luck.
>
> On Dec 27, 2012, at 9:32 PM, Ken Tozier wrote:
>
>> Hi
>>
>> I haven't used Xcode since about 2009 and am having trouble finding out how to convert some of my old custom view classes. I have a custom class that draws classical models of gas molecules and can't find any way inside Xcode to set the class of a custom view to my "gas" class. In the "old" days, it was as simple as selecting the view in interface builder and selecting the class from a popup list. How is this sort of thing done nowadays?
>>
>> Thanks for any help
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Xcode-users mailing list (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden