문제

I have build a C++ library for iOS, and now I want to write an illustration program to show how to use this library. A very simple one might be a command line program. However, I cannot find any command line application option with XCode 4.6. Any ideas?

도움이 되었습니까?

해결책

There isn't a project template for "command-line application for iOS", only for Mac OS X (see the new project dialog: select OS X -> Application -> Command Line Tool).

You can however create a very minimal iOS app - the Single View iOS project template might be a good starting point. You could demonstrate use of your library in this simple app by hooking up a few buttons and/or text entry fields to the library.

다른 팁

You will use a UITextView, and create your own virtual CLI. So in your program, Shen you get to this step animate in that view and open the keyboard.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top