I have just installed Mono 2.10.1_3, MonoDevelop 2.4.2, and MonoTouch 4.0.3. In the order outlined on the website. Now I am trying to walk through some of the tutorials for developing on the iPhone using MonoTouch. However, I am stuck right at the start on the HelloWorld tutorial:
http://monotouch.net/Tutorials/MonoDevelop_HelloWorld
When creating a new solution and selecting C# then iPhone and iPad:
iPhone Window-based Project
iPhone OpenGL Project
iPhone Navigation-based Project
iPhone Utility Project
MonoTouch Library Project
Empty MonoTouch Project
iPad Window-based Project
Universal Window-based Project
There is no iPhone MonoTouch Project displayed in this list as shown in the Tutorial. So I guess my question is this: should there be an option for iPhone MonoTouch Project in the list or is this a newer version and this project template has been replaced by one of the options shown above? If so, which one?
iPhone Window-based Project is your friend
(it shows an small C# indicating the usage of MonoTouch)
Related
I'm trying to make a universal app for iPhone and iPad using MGSplitViewController.
I'm going to start with a window based template (empty) but not sure how to integrate MGSplitView. The reference project is not good for me becouse it's only for iPad.
Does anyone know where to start? Any Tutorial?
Thanks.
I have an Xcode project (Objective-C). I'm thinking to use the Corona SDK for further development. Is it possible to attach the Corona project to an Xcode project just like it is with cocos2d?
Unfortunately no. Corona is a completely self-contained system and cannot be integrated with external code modules.
If we make our Dashcode application open in Xcode then are we making a native app....
Dashcode is an IDE, a tool or set of tools for developing Mac Widgets, web based iPxxx applications and Webkit based Web applications. In Dashcode JavaScript, CSS and HTML are used to develop these applications.
XCode is an IDE for developing native Mac applications and iPxxx applications usually but not exclusively with Objective-c and an interface builder for the graphical elements.
A Dashcode project is in reality a set of file in a folder, but the Mac Finder makes it look like a bundle. If you right click the project and click on open project you will just see all the files in the project.
Opening the Dashcode project in XCode doesn't do anything, i just tried it, but even if you did XCode will not perform an magical transformation and turn JS/CSS/HTML into Objective-C and therefore it will not turn it into what i think you mean by native app. To do that you will need to learn Objexctive-C cocoa and the XCode programming tools and interface.
In answer to oyur added comment not it will not change any code.
If I am not mistaken a little more input towards this may be nice. If you use PhoneGap in Xcode then you can make your web app a native app with very little effort. I found that porting my skills from mobile web development to Xcode was something I didn't have the time to put out upfront so to get my app out there right away, PhoneGap was my answer.
I hope this helps, but do know that it is not going to be as efficient of an app built this way.
I think you want to know: can we treat a DashCode app as native app, and run on simulator and/or real iOS devices.
From my point of view, the answer is: YES
I think what you asked can be answered using here.
I want to integrate flash in my iPhone application so is it possible to integrate?
You can write apps in Flash that will run on the iPhone by using the Packager for iPhone. It only works with Flash and not Flash Builder. Adobe just released a revision after Apple changed its SDK license again so that it can run. Note that to run on the iPhone your app has to be compiled by Flash to a native iPhone app. You can't run just any SWF.
Also yesterday Adobe announced AIR 2.5 which claims to let you program for one runtime (AIR) and target multiple platforms including iPhone and iPad. The release notes explain that they will be updating their Packager to work with AIR 2.5 for feature parity with AIR 2.5 for Android.
There is an application called Packager for iPhone from Adobe, which can be used to make iPhone app from Flash. I never used it though, but I think you should give it a try.
No.
Adobe Packager appears to only be able to create entire apps, not library code that will integrate inside a larger app. There also is no complete Flash interpreter in a form that you might be able to bundle with your app (although there appear to be a few open source projects that claim to run a limited subset of Flash). Thus there is no way to integrate Flash into a larger iPhone application that will run offline.
Online, you might be able to run a Flash application remotely on a server, and serve the graphic results to an iPhone app using something like the VNC protocol.
A new parser called hiramkei will soon be available for adding Flash animation SWF files into Xcode projects for iPhone. Here is the site http://www.flash-on-iphone.com/demo
I am used to Visual studio, I have class library projects that I reference in my web sites or windows applications. Using class libraries allows me to create common functionalities, utilities once and use them over and over again.
How do I do this with Xcode and iPhone App development?
I am looking for some details on how to create the library, where to stores the files and how to reference in my App. That is if it is possible.
I am very very new to Mac and Xcode.
Creating a Static Library for iPhone App
On the iPhone, you need to create a 'static library' target. This will build your code into a .a file which will then be integrated directly into your iPhone application.
http://db-in.com/blog/2011/07/universal-framework-iphone-ios-2-0/
This way has worked for me. If you need to use xibs or other non-compilable resource files in the framework, look at the embedded framework section.