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
0 answers

Finding NSManagedObjectId

I have a segue set from UITableViewController A to UITableViewController B. In the prepareForSegue, based on the list item selected, I want to retrive the associated NSManagedObjectID from an 'items' array (I am not using a fetched results…
Ben Packard
  • 26,102
  • 25
  • 102
  • 183
0
votes
2 answers

Releasing iPhone app in XCode 4.2

I am lost. I am trying to release my first iPhone app, and the instructions in the provisioning portal are leading me into dead ends. Can someone tell me how to do this in XCode 4? EDIT: Okay, I made the distribution provisioning profile, downloaded…
user513064
0
votes
3 answers

How To Keep UINavigation Top bar on all UIViews in Xcode 4.2?

I am building a small app and want to keep a button in the top right corner which calls a modal horizontal flip onto an "about us" page. Currently my code will load onto the page but it loses the top UI Navigation element. My plan is to change the…
Jake
  • 1,285
  • 11
  • 40
  • 119
0
votes
1 answer

UIScrollView with multiple UIImageView shown

I'm trying to achieve scroll view with multiple images. I put the UIScrollView and put 3 UIImageView which the last one is out of bounds. I though that i can scroll the content of the srollview component. How could i achieve this. I have just found…
kubo
  • 492
  • 7
  • 19
0
votes
1 answer

Every .h file in XCode Project is disappeared. What happened to it?

I am programming iPhone applications, so I use Xcode and my Mac book every day. There has been no problems at all until yesterday but today every .h files in every Xcode projects has disappeared. I've got into a panic now. TTTT_TTTT I have to…
ROMM
  • 15
  • 7
0
votes
2 answers

Refreshing a view

Okay I have created an application where in one of the screens I have a call slot screen. Basically there are 18 buttons, ranging from 09.00-09.30 all the up up to 17.30-16.00 split up into two buttons per row. There are also two arrows at the top,…
AdamM
  • 4,400
  • 5
  • 49
  • 95
0
votes
1 answer

Data transfer between two view controller

i m pretty stuck on this one rite now let me explain the problem this way: Motor View Controller (table 1) Add New Motor (table 2) show motor Detail (View 1) edit Motor Detail (table 3) now what happens is i go to table 1 then click on add button…
newstar7867
  • 17
  • 1
  • 8
0
votes
1 answer

how to access a file which is a not a part of main bundle in iOS

i have a file in the main bundle which i am accessing by using the following code base. NSString *modelPath = [[NSBundle mainBundle] pathForResource:@"DataHouse" ofType:@"momd"]; NSURL *modelURL = [NSURL fileURLWithPath:modelPath]; …
A for Alpha
  • 2,904
  • 8
  • 42
  • 76
0
votes
2 answers

Do I need to create a controller for a UITextField?

Just starting out with an iPhone application using xcode 4.2. I understand that it is good practice to use a subclass of UIViewController for each view in my application, and I am able to write some basic code in these to test buttons etc on the…
Ben Packard
  • 26,102
  • 25
  • 102
  • 183
0
votes
1 answer

Making a reference in xcode 4.2

How can I make a reference to another project in xcode 4.2? I trying to put Protocol Buffers working in Objective-C but I can't do this: Open your existing project and a reference to the ProtocolBuffers project found in . Add a reference to…
Filipe Mota
  • 340
  • 1
  • 4
  • 21
0
votes
1 answer

app getting crashed while creating the managedObjectModel of Coredata

I am creating a managedObjectModel object from the following code - (NSManagedObjectModel *)managedObjectModel { if (managedObjectModel_ != nil) { return managedObjectModel_; } NSString *modelPath = [[NSBundle mainBundle]…
A for Alpha
  • 2,904
  • 8
  • 42
  • 76
0
votes
1 answer

Updating a custom view drawing each time data is modified

My goal is to update a UIView's drawing from a seperate view controller (in a different tab) so I created an outlet for it: @property (strong,nonatomic) IBOutlet GraphView *graphview; (and synthesized it). However I cannot connect this outlet to the…
Ayrad
  • 3,996
  • 8
  • 45
  • 86
0
votes
1 answer

Xcode 4.2 crashes in archive when "validate" or "submit" are pressed

i put together a program. It works and was tested. for the last 24 hours i was googling/trying to get it up to be validated. Someone please do a walkthrough the settings so i can set the right checkmarks and submit it. I have xcode 4.2, iOS…
0
votes
1 answer

managedContextObject passing error in objective-c

I have this managedContextObject I want to pass from a view controller to another. From a view controller called CatalogueViewController this works fine with no problem. And this is the no-problem code: - (void)prepareForSegue:(UIStoryboardSegue…
iLeW
  • 59
  • 10
0
votes
2 answers

all certs and provision work done, iTunes connect configured but still getting error

wwdr cert developer cert distribution cert developer provision distribution provision app id devices itunes connect after all that i modified a bundle identifier in info.plist that i have in itunes connect then archived project and through organizer…
supera
  • 580
  • 5
  • 13