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

internationalization of an iPhone Application

I am new to iPhone App development (I am using XCode 4.2) and I was wondering if there is a way to translate all the strings , caption etc ... internally without having to translate them one by one . an idea I have in mind is to use NSUserDefaults…
user1051935
  • 579
  • 1
  • 10
  • 29
0
votes
4 answers

how can i give input for UILabel in iPhone

i have 2 classes . in my first class i have one label. now i have to give input for that label from my second class. here is my code. IBOutlet UILabel *label1; @property(nonatomic, retain) IBOutlet UILabel *label1; @synthesize label1; I call…
Gurumoorthy Arumugam
  • 2,129
  • 1
  • 25
  • 40
0
votes
1 answer

How to move to the bottom of Facebook permission dialog?

In my app, I request permission: [publish_stream,offline_access] and the permission dialog show as I want the dialog show the allow button directly, just as following without scroll Could you give me a hand?
Jane_Meng
  • 749
  • 1
  • 9
  • 18
0
votes
1 answer

Xcode 4.2 edited project is not opening into Xcode 4.0.2

At my work I gave my project to a colleague for some issue solving who has Xcode 4.2 installed on his machine. After making changes he sent the same project folder to me and with a surprise I was not able to open that project on my machine running…
rohan-patel
  • 5,772
  • 5
  • 45
  • 68
0
votes
1 answer

Reusable Date Picker using Interface Builder Possible?

My question is similar to iPhone: Create a reusable component (control) that has some Interface Builder pieces and some code but it doesn't quite solve my problem. Also, it is a year later now and who knows what has changed in the meantime. I'm…
aerique
  • 982
  • 5
  • 21
0
votes
1 answer

xcode 4.2 iphone ViewController.xib and MainWindow.xib

I'm confused about the differences between the ViewController.xib and MainWindow.xib. All tutorials, and books seems to be referencing the MainWindow.xib, quite consistently. However, when I select any template from xcode, I don't see it. I do…
coffeemonitor
  • 12,780
  • 34
  • 99
  • 149
0
votes
3 answers

In Objective-C is it possible to keep the entire class inside the .m file?

When I create new classes in x-code it breaks it into a .h and a .m file. can I ignore the .h file and implement the entire class inside the .m file? If so what are the downsides?
Roman
  • 10,309
  • 17
  • 66
  • 101
0
votes
2 answers

error with core data with nsmanagedobject context

Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '+entityForName: could not locate an NSManagedObjectModel for entity name 'Persons''* The entity is created in the data model file and I added the core data…
Ayrad
  • 3,996
  • 8
  • 45
  • 86
0
votes
2 answers

App in foreground and background

I have a button ON/OFF in my viewcontroller that plays some music when it is turned on by the user. Now if the user clicks the iPhone home button and re-launches my app again, the button is shown as "ON" but there is no music playing. So the user…
Sam B
  • 27,273
  • 15
  • 84
  • 121
0
votes
1 answer

using delegate to call a function of the invoker ViewController gives error in iOS 5

I have a UIViewController Class Aplha that calls another UIViewController Class Beta in a modalView. In Alpha.h, I declared a function: -(void)selectMyImage:(NSString *)myImage; In Aplha.m: #import "Beta.h" -(IBAction)clickMe:(id)sender { Beta…
Ajeet Pratap Maurya
  • 4,244
  • 3
  • 28
  • 46
0
votes
1 answer

The navigation animation of my Back button doesn't look like as a return flipping

In story board, i use the navigation controller, two views, button1 to go to view2 and button2 to go back to view1, i use the Push segue directly in story board when configuring the two view. Now, when i go from view1 to view2, the animation…
Malloc
  • 15,434
  • 34
  • 105
  • 192
0
votes
1 answer

iOS development, registering users with iPhone App

What is the best method for implementing a user registration process for iOS app? I'm messing around with UserDefaults and have a UserSettingsController, I show the UserSettingsController modally, but I was thinking about checking UserDefaults for a…
Matt
  • 97
  • 8
0
votes
1 answer

does not submit the score in gamecenter

i want input gamecenter in my app so i make new project "gamecenter" for test gamecenter i referenced "http://www.youtube.com/watch?v=9avpP0hYwik" video. but I use xcode 4.2 so delete of "autorelease" app does not submit the score at gamecenterhelp…
0
votes
1 answer

How to hide the navigation bar or replace it by my own bar

I use the navigation controllers because it handle the transition movement which is nice to see in any app. However, the navigation controllers add a default navigation bar which is, in many cases, not useful for me since i have my own…
Malloc
  • 15,434
  • 34
  • 105
  • 192
0
votes
3 answers

Trying to understand Objective C classes and methods

I am new to iPhone development and Objective C. I have decided I would do some tutorials on Objective C first to get the hang of the language, however there a few things I am unsure about and would be grateful if someone could explain them to me. I…
AdamM
  • 4,400
  • 5
  • 49
  • 95