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

unable to display in address book using ABNewPersonViewController

I am quite new to objective C , I am using XCode 4.2 and in a part of the application I will need to save data in the address book . but I need it to be displayed in the address book and not just save it on a button click I am trying to use the…
0
votes
1 answer

objective C unable to switch views after scanning a QR code using ZBar

I am developping an App using XCode 4.2 that detects a QR code. I am trying to make a switch view after QR code detection but it is not working at all here is the code am using : - (void) imagePickerController: (UIImagePickerController*) reader …
user1051935
  • 579
  • 1
  • 10
  • 29
0
votes
1 answer

Iphone App to display the uibutton Transition

I have done one iphone app regarding Flip Horizontal Transition.But i click on button means the total view will be transition.but i want only button transition on the view.please give solution .i use ios sdk5,xcode 4.2.
0
votes
1 answer

Using Interface Builder to place UIGestureRecognizer in several views in Tabbed application

I have created an application where I try to utilize the new features in Interface Builder (Storyboard, GestureRecognizers etc.) I start off by choosing that Tabbed Application template . I then add a SwipeGestureRecognizer to each view in their…
0
votes
2 answers

how get curser position in iPhone textfield Xcode 4.2

i have 6 text field.i want to get current cursor position(cursor in which text field).like android onfocus .after i get the position i need to draw slider near to that textfield. is there any API for iPhone.guide me i'm new to iPhone and Xcode.
user1127616
0
votes
1 answer

Cocoa: how can I add custom row in table? or other way?

Is it possible to add different rows created in IB? What I mean is: **All rows should be created not programatically, but with pre-created with objects. Or maybe is other way to do this?? maybe without table??
Justin Boo
  • 10,132
  • 8
  • 50
  • 71
0
votes
1 answer

iOS : How to stop a background music with only one button?

I have a music button in the main UI of iOS and I want the button function as stop music button and at the same time can play the music again. My problem is I can only stop the music but can't play it again. Here is my iOS code in xcode4. How can I…
Amink
  • 35
  • 11
0
votes
1 answer

Separate a .txt file into separate strings

I already know how to upload a file and place its contents into a string with: NSString *fileContents = [NSString stringWithContentsOfFile:[[NSBundle mainBundle] pathForResource:@"WellBalanced Recipes" ofType:@"txt"] …
user1072337
  • 12,615
  • 37
  • 116
  • 195
0
votes
1 answer

How to import the Google APIs Client Library for Objective-C using Xcode 4.2

The library is here. http://code.google.com/p/google-api-objectivec-client/ I want to use the SDK with ARC mode enabled. But somehow I can't find the correct way to import the SDK. Is there any step-by-step tutorial? Thanks! I've tried the answer…
shiami
  • 7,174
  • 16
  • 53
  • 68
0
votes
1 answer

How to get back the default Xcode appearance

I know it's unusual to ask such a question, but i gonna loose my temper, actually, the windows in Xcode has changed and i couldn't recover the default appearance. Can you tell me how could i do that? thanx in advance.
Malloc
  • 15,434
  • 34
  • 105
  • 192
0
votes
1 answer

NSTextField, Is it difficult to add? I think

I've made small game in Xcode 4.2. After I played all game level, the high-score-input window will appear. I want to add NSTextField to here, so the player could type his name by keyboard. I added NSTextField to OpenGlView, but I can't see it on the…
bTagTiger
  • 1,261
  • 5
  • 23
  • 38
0
votes
1 answer

Remove white strip at the bottom of view in XCode

This is a view with a background color of Black. As you can see, there is a small white strip at the bottom of the view. I need to remove this white strip. I am working in Xcode 4.2. I found a few possible solutions on your site as: …
maddy2012
  • 153
  • 1
  • 3
  • 15
0
votes
1 answer

iPod Touch 2nd no response to Run in xcode4.2

Googled for few hours and I got no answers. There is my steps: 1 create a new project without ARC in xcode4.2 2 add armv6 to a architectures. it shows: armv6 $(ARCHS_STANDARD_32_BIT) 3 change iOS Deployment Target to iOS4.1 4 check my code signing…
EggErr
  • 195
  • 2
  • 7
0
votes
1 answer

Issues importing xcode project from another computer

I have run into an incredibly frustrating issue. I wrote an iPhone app on one computer, and now I am trying to work on it on another computer. I zipped the project, and sent it to myself, but when I open it, it seems that none of the images came…
coder
  • 10,460
  • 17
  • 72
  • 125
0
votes
2 answers

Objective C iPhone Development, saving and retrieving an NSMutableArray

I am new to iPhone development and I am using XCode 4.2 I am trying to save an NSMutable array so that when I close the application and reopen it , the data will still be there I am using these two functions : -(void)saveData{ [NSKeyedArchiver…
user1051935
  • 579
  • 1
  • 10
  • 29