Questions tagged [xcode4.2]

the Oct. 12, 2011 release of Apple's integrated development environment (IDE) for Mac OS X and iOS. USAGE NOTE: Use this tag only for questions that are specific to this version of Xcode, and not for general Mac or iOS programming topics. Use [cocoa] for Mac programming questions, and [cocoa-touch] or [ios] for iOS programming questions.

Xcode 4.2, Apple's integrated development environment (IDE) for Mac OS X and iOS, was released October 12, 2011.

Use this tag for questions that are specific to Xcode 4.2, and not for general programming questions. Use the or tags for macOS programming questions; use the or tags for iOS (formerly iPhone OS) programming questions; for questions about the Objective-C language and its features, use the tag; also, avoid adding the Xcode tag if your question would stay the same if you would use any other editor for writing your program code.

New Features:

  • support for Mac OS X 10.7 Lion and iOS SDK 5.0
  • Apple LLVM compiler 3.0 with Automatic Reference Counting (ARC)
  • LLVM compiler support for C++’0x features using the new LLVM libc++ standard library
  • Storyboarding support to design multi-view workflows for iOS
  • OpenGL ES graphical debugger
  • Location Simulation

Note:

Xcode 4.2 is the last version to support Mac OS X 10.6 (Snow Leopard), but is only available to registered developers; without an account, 3.2.6 is the latest download that appears for Snow Leopard.

Source: Release notes for Xcode 4.2

See for more information.

1965 questions
0
votes
1 answer

Flash videos in WebView not working in sandboxed app

I'm having a problem with playing flash videos in my application. It's been working before, but ever since Apple has required every developer to enable entitlements and sandboxing, flash videos in the webview do not play. Everytime I disable…
jacob
  • 3,507
  • 2
  • 21
  • 26
0
votes
1 answer

Why does UIIndicator not move away?

I use UIActivityIndicator in my app. I have written code for it as follows: -(void)startSpinner { spinner = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleWhiteLarge]; spinner.hidden = NO; …
iPhone
  • 4,092
  • 3
  • 34
  • 58
0
votes
2 answers

How can i add a tabbarcontroller into a navigation application

I have a navigation application with 3 views, in my second view, I want add a tarbarcontroller and control another two views, how can I do that?
ddzcoeur
  • 26
  • 2
0
votes
1 answer

Xcode: How to make new views and set their controller in iOS 5?

In Xcode, making an iOS 5 app, I have one view in the StoryBoard and I have a method in its controller class - which if invoked (happens when return is pressed on keyboard) needs to move the app to another screen view. However I am struggling to…
Jon Cox
  • 10,622
  • 22
  • 78
  • 123
0
votes
1 answer

Mystery disfunction with navigation bars on iPhone!

I am making an app with navigation controllers through storyboarding in Xcode 4.2. I want to hide all navigation bars when each view is loaded and with a click of a button which is on top of the screen, the navigation bar should show for a few…
Pantelis Proios
  • 1,359
  • 1
  • 20
  • 32
0
votes
1 answer

How can I achieve precise placement of assets in #ios5 Storyboard?

I've got a PSD I need to match—buttons just so, etc, etc. Would it be best to: place things as carefully as possible in the storyboard interface (are there tricks to this?) just create the buttons/graphics/labels in code (losing much of the…
Kaolin Fire
  • 2,521
  • 28
  • 43
0
votes
1 answer

How can I locate the line causing a crash in Xcode4.2 with iOS5?

When I use Xcode4.1 with iOS4, it works fine. But when I use Xcode4.2 with iOS5, it locates at the main method. So I don't know where in the program caused the crash.
Patrick
  • 262
  • 3
  • 12
0
votes
1 answer

How to access drawrect method from UIViewController?

I am using Xcode 4.2 and have a UIViewController representing one of the scenes. In it, inside viewWillAppear i have [NSTimer scheduledTimerWithTimeInterval: FramesPerSecond target:self selector:@selector(gameLoop) userInfo:nil…
James Raitsev
  • 92,517
  • 154
  • 335
  • 470
0
votes
2 answers

Issue With Xcode 4.2 Story Board

I am having a issue with story board where if my app is a landscape app I then add a new view (ViewB), on ViewA I add a button and then I drag the button click to view B. When I run the app its starts in landscape but when I click the button it goes…
user964627
  • 655
  • 3
  • 14
  • 24
0
votes
1 answer

detecting errors and solution for it- Xcode 4.2 - Instrument [Memory Leaks]

According to stack-over flow guidance I did my memory management things. SO I discovered memory leaks. thanks for all about it. Now how could I find memory allocation that I didn't release ? Is their any easy way to do it on instrument on Xcode. I…
Gayan
  • 1,425
  • 4
  • 21
  • 41
0
votes
1 answer

Add user desired color to textview. xcode

I have a UIPickerView, where in which I have an array of sentences. Now how can I return an array of colors? such that on picking the color, I must assign it to the sentence. Thanks
Xander
  • 902
  • 2
  • 14
  • 33
0
votes
2 answers

Odd Xcode behavior when creating classes

When I go into xcode try to add a new class with File>New>New File and then adding an Objective C class, my header file winds up looking like this: @interface Course : NSObject @end instead of what it needs to look like @interface Course :…
bringel
  • 482
  • 5
  • 17
0
votes
2 answers

XCode 4 Won't Let Me Connect UITableView to its data source

For some reason, I am unable with XCode 4 to connect a UITableView to the File's Owner in the XIB file. This connection is something I have done countless of times. The File's Owner is a class which derives from UITableViewController. I even tried…
pfs
  • 477
  • 5
  • 14
0
votes
1 answer

Subtitle String does not appear in cells

This code compiles fine without warnings but the substring does not appear in the cells. Any idea why? TableExampleViewController.m #import "TableExampleViewController.h" @implementation TableExampleViewController @synthesize colorNames; -…
pdenlinger
  • 3,897
  • 10
  • 60
  • 92
0
votes
1 answer

disable push animation in Xcode storyboard

I have created two viewcontrollers and added a button to viewcontroller1, in storyboard. When I push this button viewcontroller2 is shown (this is done by connecting viewcontroller1 with a push to viewcontroller2). This works fine but I would like…
Mikael
  • 5,429
  • 5
  • 30
  • 38