Should I start making apps with Xcode 6 or 5.1? - xcode

I was starting to make simple iPhone apps using online tutorials and books and then I realized that I upgraded to OS X Yosemite and can only download Xcode 6.1 and all the tutorials are based on Xcode 5.1. I can't learn anything with Xcode 6 since there aren't many tutorials out there for Xcode 6. Can someone please suggest me what to do? basically I'm trying to learn objective-c but before learning objective-c I'd like to make a simple app through tutorials and get the hang of Xcode and learn further..

don't worry, proceed with the current version. Any differences will be made obvious by compiler warnings or errors, at which point you can deal with them. This might be considered preferable to learning to do something in a manner which is no longer current

Related

How do I setup an environment for Swift programming on OS X?

As the title,I just want to do some simple practice ranther than big project for I'm just new to Swift language.So is there any way to setup an environment for Swift without 'Xcode 6' installed?THX for answering.
Not at the moment.
The Swift Language is actually new and still in development, evolving day after day.
This means also that new funcitions and classes will be created and modified int the next months. Until then no one will create an "Online Playground" for Swift or similar.
I've planned to make an online Apple Swift Playgroung myself, but that will be once the language has finished developing.
You need XCode 6 to try and use the Swift language, even only in Apple Playground.
You can't use Swift without installing Xcode6. It isn't a stand alone language at the moment.
With each beta of Swift, Apple is changing the language. At the moment [August 2014] noone could make a lightweight environment of Swift, because of these many changes.
If you think that you have to pay for playing around with the Xcode 6 Beta, this isn't true. You don't need the "Mac Developer Plan" for 99 US$/year.
You only need to register as a developer at this page:
https://developer.apple.com/
If you're done, than you can download the Xcode 6 Beta at this page:
https://developer.apple.com/xcode/downloads/
After installing Xcode 6, you can start a new "Playground", which is your lightweight environment for Switch you're searching.

Setting up Xcode to work with SDL?

So I know C/C++ but I'm having so much trouble setting up SDL to work with XCode so I can start making actual applications. I've looked at tons of tutorials on the web, but they always have a part or two that make no sense what so ever in them. For example, a lot of tutorials say to download the Mac runtime and development SDL libraries, but there is no development library for the mac, only runtime. So I was hoping that the lovely people here could step me through the setup.
The following article shows how to work around the lack of SDL project templates for Xcode 4:
Using SDL with Xcode 4

What will I be missing with xcode 3 and not getting xcode 4?

If I only have xcode 3 what am I missing? Should I hold off my project until I get xcode 4?
This would be for ios programming.
Thanks.
You'll be missing the ability to ship software in the App Store. Building for iOS 5 (which is required for App Store acceptance) requires Xcode 4.2. That's probably the single biggest thing. If you're just looking to try things out a bit, Xcode 3 will work. But if you're planning on shipping iOS software, you'll need to have Xcode 4.
Other than that, it's mostly just feature updates. Xcode 4 has a number of features intended to speed up development. By sticking with Xcode 3, you'll be missing out on:
Automatic Reference Counting
Storyboards
The ability to drag directly from Interface Builder to your code
A much faster compiler
Various bug fixes
The ability to follow along with any of the recent tutorials referencing Xcode 4.
By sticking with Xcode 3, you get this:
The ability to follow along with some of the older tutorials referencing Xcode 3.
The ability to whine about "the good ol' days" when you finally switch to Xcode 4.

Is Xcode 4 ready for iOS development or still too beta?

I am just starting iOS/iPhone development and I would like to start using XCode 4 instead of XCode 3.2. Is XCode 4 stable/feature complete enough for beginning iPhone development or should I stick with XCode 3.2?
I have run into far too many problems using beta versions of XCode, especially since you can't really have two versions of XCode one the same system. Apple already has a history of releasing things to developers before they are truly ready (just look at iAds for the iPad which were released months ago and have yet to deliver a single ad). So, if even Apple isn't ready to label XCode 4 as ready-to-go then you can rest assured its not really ready to go.
I recommend sticking with 3.2. That's what I'm doing until XCode 4 is officially supported.
Using XCode 4 calls everything you do into question. Having a problem with an API? Maybe it's XCode, maybe its your code, maybe its a bug in the API. You just don't know.
I would say no, it's not ready. I tried using it as my main development environment for about a week, and eventually switched back to 3.2. For one thing it crashed fairly regularly, but I could get passed that.
The big thing that caused me to switch back was a bug where the iOS simulator would think that certain resources existed in my app that didn't. Deleting the app from the simulator didn't work, cleaning the project didn't work, and deleting the derived data folder didn't work. Since it's not officially released, finding help for problems like this is a pain as well.
This is just one instance of the kind of problems you'll run into while using it, so I'd recommend avoiding it for now.
You can use Xcode 4 if you do not plan on using the current version (Preview 6) for submitting apps to the App Store.
iOS Dev Center:
Xcode 4 Developer Preview 6 includes
iOS SDK 4.2, bug fixes, and additional
features. To compile submissions for
the App Store, continue to use Xcode
3.2.5 and iOS SDK 4.2.

Do I have to compile my iPhone app with 4.2?

I have iPhone application in the App Store. Do I have to compile my app with iOS 4.2 SDK in order to allow it run on iOS 4.2 devices? Or compiling using iOS 4.2 is required only to allow using new features of new iOS?
I will appreciate if you can clarify this issue...
Thanks!
Yoash
Do I have to compile my app with iOS
4.2 SDK in order to allow it run on iOS 4.2 devices?
No, it will run on the new firmare just fine. At least if the new firmare does not reveal some bugs in your code (which happens).
You don't need to recompile it to let it run on newer OS versions, but like you already guessed, you need to recompile it when you want to use the newer features (eg. AirPlay, "Multitasking" etc).
The old version should still run.
The app might not play well with new features like multitasking on iPad, so it is worthwhile trying to get some testing and feedback done as soon as you can in case there are issues.
If you download the XCode 4 pre-release from the developer portal, you can use the new static analyser to look for problems in the code: this is not just for SDK issues but also things like memory leaks.
Apple recommends that you always compile with the latest SDK, even if you are targeting older versions.
Unless you run into a specific issue that is causing incompatibilities, it is wise to take this advice. A lot of small bugs and performance issues are fixed with each new iteration of the SDK.
That being said - you can continue to use the older SDK's, and Apple will still accept the apps you build. For mature apps that are only going through minor tweaks, this is probably the safest course to avoid introducing new bugs.

Resources