Should I use Xcode 4? Where to begin? Try this?

I struggled with Xcode 3 and decided to go straight to Xcode 4.

However, the big problem is that there is very little support, like articles, videos, and projects that I can use as templates.

Is there such support at all? Can I use Xcode 3 projects as templates? Would it be easy to work with Xcode 3 tutorials?

I use it for one day. Some things in the design of the interface are completely different. For example, I cannot get into subviews in a tab control (but basically I control and can follow examples). Thanks.

+6
xcode4
source share
6 answers

I'm doing the same thing. Xcode 4 is in a preliminary release, so there aren’t so many textbooks, while the tools are in semi-free mode and can be significantly changed to the final version.

I highly recommend reading the tutorials (I'm working on Aaron Hillegass books on iPhone and OSX development) that use Xcode 3, and give extra time to learn where to map the new version.

Xcode 4 is much better organized, so it can be frustrating, but it’s not impossible to find what you are looking for fast enough.

Resources you should go to first: WWDC10 307, 308, and 315 sessions : Introducing Xcode 4, Developing Your Application with Xcode 4, and Using Interface Builder in Xcode 4.

Access to them through the developer portal. They are Apple's final guide to the new design and workflow.

In the Xcode 4 help menu, Xcode 4 Transition is the second choice. I took it off and then came back again to dive into the topics when they came up.

+7
source share

Xcode 4, despite being "released," is an absolute disaster. I would wait at least a couple of updates (for 4.01) before moving on to it.

Basic functionality is severely compromised. Breakpoints, syntax highlighting, basic functions in the Builder IU interface ... I don’t even know where to start.

Document management, which is the highest design defect in Xcode up to this point, has been changed, but unfortunately has not been fixed. It could be even worse.

At first I had a good impression. Early notes:

More reasonable defaults for debugging hotkeys.

Now in the "File" is now "Close Project"!

You can finally customize sounds for a variety of build and search events using the graphical interface. Nice.

There is a drop-down list that shows the files associated with the one you are editing. This may be useful, but any convenience that it can add is ruined by the fact that there is no quick “analog” button, as before. You need to break through the menu to go from the title to the source or vice versa.

Tabs are upside down starting from the toolbar (WTF). In addition, the “X” indicator for closing is not available on each tab unless you flip the tab. This kind of Easter-egg user interface hides information from the user and should be canceled.

Tabs do not work well for several reasons. Firstly, on one tab there can be two editing panels with different documents; only one of them is displayed on the tab. You also cannot move documents between panels, which you often want to do when you refer to different objects and interfaces. Visual Studio solves both of these problems easily by having separate groups of tabs above each editing area and allowing you to drag and drop documents between two groups.

The second editing panel is always mentioned (and shown on the toolbar) as the "Helper" editor, even if you did not call the helper (which is unclearly indicated by the button of the Batman icon).

View options are in the view where they belong, instead of being placed incorrectly in the Window menu.

If you enter a function call and you use another function call as a parameter, Xcode AutoFill seems to automatically prefer functions whose return type matches the parameter you are filling out. FINE.

But there are many mistakes. So many that it is very difficult to get a job at times.

One particularly annoying error is Xcode's failure to indicate when and where it stopped at a breakpoint. In many cases, it stops and pulls the source file, but there is no execution point. The editor simply shows the top of the file, and nothing happens while going through. The current line is not highlighted, and nowhere does Xcode say “Stopped at a breakpoint”. He just says run.

Unable to sort files in your tree. NONE. Xcode 3 was bad enough, not sorting them automatically, forcing you to go and sort them again and again throughout the life of the project. Now this is not even an option. WTF?

Xcode leaves the editor window littered with errors and messages even after you have fixed the code and recompiled. It turns out that these errors relate to a different goal, even if you never built this goal, and the code that they complain about no longer exists.

Xcode will overwrite your syntax highlighting options for certain types of characters. You can change them again and again, and Xcode will irreversibly overwrite your settings. You can watch how this happens.

THE BUTTON IS NOT "BUILD" IN THE TOOL AND YOU SHOULD NOT ADD ONE. In fact, the toolbar is not customizable at all, and there is only a "Run" button. What if you do not want to run? Yes, you need to find a hotkey.

What did they do with all the extra space on the toolbar? Created the Project-config NARROWER drop-down list. It is so small that it cannot show you the WTF that you are working on. Meanwhile, next to her is a huge strip of empty space. Incredible.

The Xcode team tried to clear up the clutter that was setting up the project by adding the concept of “circuits”. This is basically an improvement, but a buggy. But I don’t have time for this update ...

+4
source share

I'm not sure what documentation they give you with Xcode 4, however I can provide something in the help menu. WWDC also had a video on Xcode 4, it was their "State of Union" address. Here is a link to the iTunes video.

0
source share

Just to add to Luke’s point, it all depends on how much code you know. I am going to stick with V3 as compilation errors, etc. They are not fixed automatically, and I want to find out how the code works, this will help in the future.

Current tutorials (mainly about V3) will help you understand the basics of Xcode, since V4 is easier in general, but understanding the basics is the most important aspect.

0
source share

The localization is apparently pretty badly broken in 4.0, with constant crashes for me. I would wait for 4.0.2, or something like that.

0
source share

I just switched to 3.2.6 after trying Xcode 4. It has so many errors and crashes that it was too complicated. In addition, its updates are not included in regular updates for Apple, you need to reinstall all the software through the installer. This is ridiculous! Although the completion of the git syntax and the dropdown syntax is cool, I think I will wait until 4.0.3 before upgrading again!

0
source share

All Articles