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

How to fix: initWithFrame:CellFrame reuseIdentifier:cellIdentifier deprecated

I upgraded to XCODE 4.2 and suddenly i got all these warning signals. Most of the i am able to fix but the following I do not know how to. I have tried to read-up on it but still have problem. The code that is deprecated is: UITableViewCell *cell =…
PeterK
  • 4,243
  • 4
  • 44
  • 74
0
votes
3 answers

Create static library containing RestKit library

I have another problem in my use of RestKit Library. My goal is to create a specific library for my company, which can be used for all IOS development projects. For this I created a library in which I imported the library RestKIt. I followed the…
Beber
  • 1,513
  • 15
  • 25
0
votes
1 answer

NSCalendar method with selector descriptionWithCalendarFormat error

I get the below error from my code: /Users/user/Dropbox/dev/bignerdranch_cocoa/lottery/LotteryEntry.m:43:16: error: receiver type 'NSCalendar' for instance message does not declare a method with selector 'descriptionWithCalendarFormat:'…
ian
  • 11,605
  • 25
  • 69
  • 96
0
votes
1 answer

Can't delete row from UITableView (Delete button never appears)

I'm trying to delete a row using Xcode 4.2 and a storyboard. The Table is nested in a UINavigationController nested in a UITabBarController. My UITableViewDelegate class implements the following code: -…
Timothy Newton
  • 135
  • 1
  • 7
0
votes
1 answer

objective-c, header file not found

I want to use InAppSettings in my iOS project. So I copied the InAppSettings folder into my project folder. When I type #import "InAppSettings.h" xcode auto completes the import correctly. But after that it shows me that the file was not found. I…
DarkLeafyGreen
  • 69,338
  • 131
  • 383
  • 601
0
votes
1 answer

Load nib with NSWindowController don't have effect

In my app i have Preferences window. To load this window i use this code - (IBAction)showPrefWindow:(id)sender { NSWindowController * windowController = [[NSWindowController alloc] initWithWindowNibName:@"PrefWindow"]; [windowController…
Nikolai Nagornyi
  • 1,312
  • 2
  • 11
  • 26
0
votes
1 answer

How to trim space after the string?

In my program, I need the users to answer the questions. However, if the users typed several spaces after typing the string, how can I eliminate all the spaces after the string in order to compare the answer correctly? I just know the method to trim…
Peter Lam
  • 37
  • 2
  • 8
0
votes
2 answers

Window is shown but cannot interact with the simulator

I am reading Programming iOS4 by O'Rielly and I am using a slightly newer version of XCode than the one that the book is using. However, this slight change has led to a little bit of confusion because I cannot create window-based app using the XCode…
denniss
  • 17,229
  • 26
  • 92
  • 141
0
votes
1 answer

Retrieve Information from txt File possible?

I try to make my App as simple as possible. For this i want to store a .txt file with names on a Server and then populate a TableView with this txt. Inside the txt there should be just names, one at each line. Is it possible to get this txt into a…
TheAustrian
  • 337
  • 3
  • 10
0
votes
1 answer

tableview won't load on iPhone but loads on simulator what's wrong?

i have an app with two buttons. On startup the first screen is a web view and that works fine, but when i tap a button a table view should show up but it is blank. Th table view data is loaded from a plist i created as a file. Everything show up in…
0
votes
1 answer

How to display images from an xml file in UI Image View

Possible Duplicate: How to display images from an xml file in UI Image View i have an xml file , there are number of images in subcategory i want to display all the images in a "Image View" and the "Image View" will be in scroll view as u…
raptor85
  • 125
  • 2
  • 4
  • 12
0
votes
3 answers

In trouble with NSMutableArray retention

I've had this problem for a couple of days now, I've googled a lot but found out nothing useful so I thought to ask here. I've got a retention problem with an NSMutableArray, however I can't understand where the trouble is and how to fix it. I am…
Diferdin
  • 1,252
  • 1
  • 14
  • 30
0
votes
1 answer

TabBarController + CoreData + XML Drill down table on xcode 4.2

Well, i have to feed my application in this way: TabBarController | |--- 1)TableView from xml using coreData --- 1.1)Detail View aftehr 2 choices | |--- 2)TableView (same xml) using coreData (but using other tags) --- 2.1)DetailView after 2…
obithemaster
  • 127
  • 1
  • 3
  • 13
0
votes
1 answer

How to display images from an xml file in UI Image View

i have an xml file , there are number of images i want to display them in a "Image View" and the "Image View" will be in scroll view as u scroll the images should keep loading . i am having difficulty in coding that ,any help would be helpful
raptor85
  • 125
  • 2
  • 4
  • 12
0
votes
2 answers

How to install Xcode 4.0 and iOS SDK 5.0 with Xcode 3.2.6 already installed

I am trying to install Xcode 4 on my mac which already has Xcode 3.2.6 installed. I searched for this and I found that I need to change the location for the directory to install Xcode, however in my case my machine has only one hard drive…
user968597
  • 1,164
  • 2
  • 15
  • 30
1 2 3
99
100