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

how to send email from an app in objective C

i am creating an app when a user clicks contactUS button a UIAlertview will appear where it consists of name , email textfield , when user clicks send UIButton , i should get an email saying user wants to contact me and user should receive a email…
bazinga
  • 13
  • 4
0
votes
1 answer

RestKit - handling nesting of attributes

I have downloaded the latest RestKit version 0.9.3 from github and noticed that the method mapFromKeyPath: toAttribute: has been removed from RKObjectMapping. The method is used to nest attributes in the Json body of the message. Is there a…
Llama.new
  • 357
  • 8
  • 23
0
votes
3 answers

How do I detect what iOS device my function tests are running on?

I currently have a number of function tests written in javascript using Apple's UIAutomation API. The tests are written for iPhone, but the application also supports the iPad. To extend my tests to run on an iPad I need to make some adjustments in…
MdaG
  • 2,680
  • 2
  • 34
  • 46
0
votes
1 answer

How can I install EGOPhotoViewer in my own app?

I try to install EgoPhotoViewer in my app, but when I run it in the simulator I got this error: 2012-01-02 09:02:07.450 EGO[1457:15203] Unknown class RootViewController_iPhone in Interface Builder file. It runs, but my table view is empty. How can…
user1125231
0
votes
1 answer

Is this the correct way of refreshing the drawing in a different view?

Import the CustomView.h in the data controller header file Create an IBoutlet to my CustomView from there Connect that outlet instoryboard from the DataController to the CustomView Use that to call the view's setNeedsDisplay method. Every time…
Ayrad
  • 3,996
  • 8
  • 45
  • 86
0
votes
1 answer

Adding ShareKit to existing iPad app gives strange syntax errors

I am trying to add ShareKit support to an existing iPad App. I got ShareKit code from http://getsharekit.com/. I added the ShareKit folder to the App per instructions and compiled it. Now I get syntax errors on previously working statements such…
Vic
  • 935
  • 2
  • 14
  • 21
0
votes
1 answer

Define the class of the sender when making an IBAction connection in Xcode 4,2.1

In Xcode 4 or above, it has a handy function allowing us to CTRL + drag an object from the interface to the .h file to quickly connect the object with an event method (assume the Assistant Editor is enabled). Say we have an UIButton in the…
Wayne Liu
  • 1,172
  • 11
  • 23
0
votes
2 answers

How to generate .m/.h files from Storyboard?

Is there a convenient way to generate code from any new view controllers I've created on the storyboard? For example when you create a new iOS application, XCode will set up a skeleton class for your view controller. Thanks!
Sam
  • 934
  • 2
  • 11
  • 21
0
votes
2 answers

How can I find out why my "Ad Hoc" build for iPhone will not install?

Following the instructions at MusicalGeometry.com, I've archived and created the .ipa file. However, whenever I try to install it to my iPhone through iTunes, it gets about 3/4ths of the way done before it stops and tells me the app failed to…
James
  • 3,765
  • 4
  • 48
  • 79
0
votes
1 answer

Can't deploy to iPhone(1st Generation) after updating from Xcode 4.1 to 4.2.1

After updating from 4.1 to 4.2.1, I was not able to deploy to my 1st generation iPhone. I received a message that a debugger for version 3.0 - 3.2 needs to be downloaded. I downloaded it. After downloading the debugger, now Xcode displays the…
xcoder
  • 967
  • 2
  • 11
  • 24
0
votes
2 answers

how to get a pointer to a viewcontroller object inside appdelegate

I'm trying to tell a CLLocationManager object that is a property of a viewcontroller to stop updating location when the appDelegate recieves the message that the app will enter background and my problem is that I'm not sure how to refer to the…
Mppl
  • 941
  • 10
  • 18
0
votes
1 answer

UIImageView flattens picture

When I add picture to the ImageView in IB - its OK! But when I add picture in code, ImageView flattens a picture and It starts to look ugly. Here is my code: - (void)viewDidLoad { [super viewDidLoad]; if([self.navigationItem.title…
Cosinus
  • 109
  • 1
  • 1
  • 7
0
votes
1 answer

iOS 5 Autoresizingmask trouble

I've got a problem with the Xcode Interface Builder (last available version), and his Autoresizing Mask for an iPad application. I have these views, which frames are all setted via IB, since the moment that I want to write less code as…
IssamTP
  • 2,408
  • 1
  • 25
  • 48
0
votes
1 answer

iPhone build programming

Possible Duplicate: Warning: The Copy Bundle Resources build phase contains this target's Info.plist file There is no build issue problem in program.But,When i try to run on simulator it show two error. Command…
Adnan
  • 8,468
  • 9
  • 29
  • 45
0
votes
1 answer

Using the Xcode 4.2.1 Core Data Model Editor, how does one update a predicate for a fetched property?

When editing a predicate with the Core Data Model Editor in Xcode 4.2.1, how does one persist the updated predicate? Changing the value for the predicate does not seem to persist. The original predicate still applies to the fetched property. Steps…
sean woodward
  • 1,750
  • 1
  • 24
  • 36