I am doing my first app in xcode for iPhone. I am using xcode 3.2.
I want to use the format of Facebook application (a removable menu in left-hand). I would like to know if this option is a template of xcode (I have seen the same submenu in other applications). Or maybe this template is available in new versions of xcode. I can not found it in my xcode version (or I don't know how I must build it).
So:
Is a removable menu in left-hand a template? What is the name of this template?
What is the version of xcode in?
Can I use this template in xcode 3.2?
Thank you in advanced.
That particular control is not an iOS default but rather a third-party library a lot of apps use because it's very effective and good looking. Here is one of the implementations you can use in your project:
http://www.cocoacontrols.com/controls/iiviewdeckcontroller
Related
I'm unable to choose the lower than 4 version of SDK simulator in the simulator selection list in xcode4. There are iOS SDK 4+ (for iPhone) and iOS SDK 3.2 (for iPad) simulator versions only. I have set IPHONEOS_DEPLOYMENT_TARGET = 3.1 but nothing changes.
In the project editor choose your build target and then choose the summary pane. In the summary pane there is a drop down box where you can choose the deployment target. This may or may not help because it sounds like you're already changing the variable directly in the build settings.
Seems like we need to download and install previous version of Xcode and SDK. All the versions could be found on Apple's developer site. Also, there is one simple instruction that can be found here:
http://iosdevelopertips.com/xcode/download-and-install-older-versions-of-xcode-xcode-previous-releases.html
i'm having a play around with MonoTouch for the very first time. In the Hello World tutorial for Noobs-Like-Me, it say's the following :-
Launch Interface Builder by double-clicking on the MainWindow.xib file. Once Interface Builder starts up, you should see a surface (your window) and a Library that contains various components. Your Library should look like the following screenshot. If it is not there, select Library from the Tools menu
When I try that, nothing happens. No new 'window' shows. If i goto the Tools menu, there is no option for Library.
The solution type I made was a C# iPhone Window-based Project.
Can someone help me please?
Interface Builder is part of the iOS SDK made available to developers by Apple; it is not part of MonoTouch or the MonoDevelop IDE. If nothing happens when you try to open a .xib file, IB may not be installed on your Mac.
To obtain it, go to the iOS Dev Center and download Xcode 3.2.6 and iOS SDK. Make sure you download Xcode 3 and not Xcode 4, as IB is only a separate application in version 3. Quoting from this answer of mine to find the Xcode 3 download link:
... under the Xcode 4 + iOS SDK 4.3 download link you should find an Xcode 3.2.6 + iOS SDK 4.3 download link. If you don't see it you may need to log in first.
Here it is:
Usually apple developers use Mac to develop there apps for iphone and ipad. I need to know whether it is possible to develop the same apps using ipad.
No you can't, there is no SDK and XCode running on iOS (yet).
Short answer: no. You need XCode for development, which is Mac-only.
Xcode is not available for the iPad, so I would say practically no at this point.
No, it isn't. Xcode and the iOS SDK is only available for the Mac.
No.There is no XCode or ios SDK for ipad only.
Looking through some forums, it appears it's not possible and unlikely to happen anytime soon...
http://forums.macrumors.com/showthread.php?t=856312
http://www.mac-forums.com/forums/ipad-hardware-accessories/196910-xcode-ipad.html
Apple's XCode is only available on Mac, for a beginning.
Basically NO you can't... you can not compile the app on iPad/iPhone. But think in other way.. do you want to give this functionality to your app users right? then.. you can do one thing.. you can create a template of project which will run using a xml file. you can create this xml file on iPad/iPhone using some interface. (like putting a button on area and set its color). Then you can send this xml file on server. Here you can manually put this xml file in your template project and can compile the app manually on your system. Then you can submit this app to app store for your app users. You can charge them for this.
This is something similar to http://mobileroadie.com/ but on iPad
As the title says, I'm wondering if it's possible and reasonable to have both an iOS app and Mac app in the same project. That is, an Xcode project that has a Mac app target, and an iOS target.
If so, what should I watch out for, and is this even a good idea.
A little context: I'm working on a client app for a web-service, that will share a lot of the API connection (model-layer) code between the iOS and Mac platforms.
It's quite straightforward to do this. Make sure you have the build setting "Base SDK" set appropriately for each target.
You can also add SDK-specific build settings by clicking the little (+) symbol next to a build setting:
and then you can create appropriate Xcode schemes to build everything at once.
Yes, it is possible to have an iOS App and a Mac App under the same Xcode project.
Managing builds and settings will be easier if both Apps are in a different project.
But at the same time, it will be a lot easier to maintain and debug code, if both them are under the same project. For eg. when making changes to common API, it is faster if both apps compile under the same project to ensure that both Apps accept the common changes.
I want to build my iPhone app to work on iPhone OS 2.0 up to 3.0. According to this page, you simply need to set the "Base SDK" to 3.0 and the "iPhone OS deployment target" to 2.0.
My question is, when actually building the application, which "Active SDK" should I choose? I get the following choices:
2.0
2.1
2.2
2.2.1
3.0
My guess is that it simply doesn't matter, but I would like to make sure.
You should choose the SDK you want to deploy your application to. Compiling to a specific SDK allows you to make sure you're not using too-new features (from the developer side) and actually links the code to the right shared libraries (from the application side).
You probably want to set the active SDK to 3.0. Any libraries new to the SDK 3.0, like the MessageUI.framework can be marked as weak linked in the "General" tab of the Targets info dialog. This does mean you will have to keep track of new symbols you might be using and verify they exist before attempting to call them.
For example to see if the new mail sending controller is available you can do:
Class mfMailComposeViewControllerClass = NSClassFromString(#"MFMailComposeViewController");
if(mfMailComposeViewControllerClass != nil) // SDK 3.0
This way you can make use of new features while still having backwards support.
And BTW, it probably isn't worth it supporting pre-3.0, the bulk of potential users have already moved to 3.0, and the few iPod Touch users that haven't are probably too cheap to buy much software.