Quantcast
Channel: Xamarin.Mac — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 1429

ViewController.h disappeared

$
0
0

I was following the Hello Mac tutorial, and it all went well. A couple of hiccups as it's expected from someone that has never worked with Xamarin before.

I kept on reading about Mac APIs, common patterns and so on. A few days later a came back to continue on my fake app, and I needed to add some UI elements. Now, the first thing I noticed is that now, double-clicking the storyboard file in Xamarin did not call Xcode anymore. Now I have to right click the file -> Open with -> Xcode. Weird enough but ok.

But then in Xcode, I couldn't find, in the Assistant, the .h file to add my elements. I went to Finder, and indeed, ViewController.h file wasn't there anymore. As a dummy app, I never used git, so I don't know what happened, when, why...

I'd like to know:
1. What happened?
2.How can I generate a ViewController.h from the apparently healthy storyboard, ViewController.cs etc.


Viewing all articles
Browse latest Browse all 1429

Latest Images

Trending Articles



Latest Images