locked
Xamarin Sudio Xcode integration RRS feed

  • Question

  • User203375 posted

    Hello to all! I have noticed that storyboard takes to long to open in Xamarin Studio so I am editing my storyboard in Xcode. My problem is that I do not know how to add Names in my objects (eg a label) in order to use them in the c# files. Is this possible? If yes, how?

    Thanks a lot!

    Friday, July 15, 2016 12:19 PM

Answers

  • User37696 posted

    @Dt_tof,

    You'll have to create an Outlet or Action in Xcode first. Then, when you switch back to Xamarin Studio, it will generate a property for this in the controller class. Here is a guide on doing that: https://developer.xamarin.com/guides/mac/applicationfundamentals/working-with-xibs/#ExposingUIElementsto_Code

    Note* It's in the Mac section, however, the process is the same.

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Friday, July 15, 2016 4:00 PM