MonoTouch - missing header files when editing xib [duplicate]

时间秒杀一切 提交于 2019-12-12 16:17:00

问题


I am on Mac OSX Lion 10.7.0 with Xcode 4.2 for IOS 5 and Xamarin's MonoTouch.

("Cross platform mobile development tools that allow you to use C# and .NET to create apps for iOS and Android") and on VMWare 8.0.0 on Ubuntu 11.10.

I am testing MonoTouch and when I follow this tutorial then at one step, I have to do my xib file with xcode Interface Builder I have no header files. Whereas these AppDelegate.h and HelloWorld_iPhoneController.h are needed.

Do I have to write these ? or there is no any problems ?

Thanks and sorry for my English, I am French.


回答1:


If you followed all the steps then MonoDevelop should have created the xib file.

When you open a Xib in Xcode from MD, Xcode opens...

You just have to double-click on the xib file (in MonoDevelop's solution pane) to open Xcode.

You can then continue the tutorial from the Xcode's Interface Builder.

p.s. you can contact support@xamarin.com and ask your question in french.




回答2:


Thanks, that was ok but in Xcode I haven' t header files even if I can do what I want in Xcode. I conclude that I have to do the header files Delegate.h and HelloWorld_iPhoneController.h by myself. Thanks



来源:https://stackoverflow.com/questions/7839333/monotouch-missing-header-files-when-editing-xib

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!