Questions tagged [xcode4.5]

Xcode 4.5 is the Sep. 19, 2012 release of Apple's integrated development environment (IDE) for Mac OS X and iOS. This tag should only be used for questions about this specific version of Xcode, and not for general Mac or iOS programming topics. Use [cocoa] for Mac programming questions, or [cocoa-touch] for iOS (formerly iPhone OS) programming questions.

Xcode 4.5 is the Sep. 19, 2012 release of Apple's integrated development environment (IDE) for Mac OS X and iOS.

This tag should only be used for questions about this specific version of Xcode, and not for general Mac or iOS programming topics. Use for Mac programming questions, or for iOS for general programming-related questions. 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.

Changed Features for September 19, 2012

  • Includes iOS SDK: iOS 6 (incl. support for the 4-inch Retina Display on iPhone 5 and iPod touch 5th generation, and added auto-layout support for iOS)
  • Includes Mac SDK: OS X Mountain Lion 10.8
  • New Localization Workflow
  • Updated some minor Objective-C syntax
  • OpenGL Debugger
  • Enhanced for Mac Retina
  • Bug Fixes

Bug Fix Releases:

  • Xcode 4.5.1, released on October 3, 2012, shipped bug fixes and stability improvements.
  • Xcode 4.5.2, released shortly afterward, added support for iPad Mini and iPad with Retina Display, and bug fixes and stability improvements.

See for more information.

1650 questions
0
votes
2 answers

"undefined symbols for architecture" for XCode 4.5.2

I'm trying to integrate Apsalar Metrics into my App and followed the documentation. However I'm getting the following Error: Undefined symbols for architecture armv7: "_OBJC_CLASS_$_Apsalar", referenced from: objc-class-ref in…
S_anand
  • 141
  • 1
  • 1
  • 9
0
votes
1 answer

Application crashes because it is unable to create NSPersistentStoreCoordinator with a nil model

I created a single view application that was running fine, but when I add core data in it just by copying the same code that Xcode generates in Empty Project using Core Data. But my application crashes by saying that It is unable to create the…
iOmi
  • 625
  • 10
  • 24
0
votes
2 answers

Make second UITextField firstresponder after the first UITextField did finish editing and press Done

I have created two UITextFields dynamically, when tapped on a certain CA Layer. I have made the first textfield the first responder, what I want is, when I enter text in first Textfield and press done, I want the second textfield to be the first…
iOmi
  • 625
  • 10
  • 24
0
votes
2 answers

Annotation of @[object] for NSArray

I happend to see one particular code, NSIndexPath *indexPath = [NSIndexPath indexPathForRow:0 inSection:0]; [self.tableView insertRowsAtIndexPaths:@[indexPath] withRowAnimation:UITableViewRowAnimationAutomatic]; What's the name of annotation…
HelmiB
  • 12,303
  • 5
  • 41
  • 68
0
votes
1 answer

Exported PNG is blurry

I am trying to generate a qr and export it to PNG but, whenever I do that, it exports it as a blurred image. I am not sure what I can do to make it not blurry. It happens in 2 cases: in the preview window when I export a file Here is the code I am…
incoe
  • 112
  • 1
  • 2
  • 12
0
votes
0 answers

XCode 4.5.2 - Add Files to Git

I'm a veteran at SVN (on Windows and Linux) but I'm doing a project on XCode and decided to use the built in Git interface. When I commit my changes, it says I've only modified two files (some config files for the project) and not any of my source…
Mr. Smith
  • 4,288
  • 7
  • 40
  • 82
0
votes
1 answer

xcode 4.5.2 how to create view based application

i want to build view based application with xcode 4.5.2 but when i create new project all i see is on the photo below , there is no type called "view based application" , is the "Single View Application" or what?
William Kinaan
  • 28,059
  • 20
  • 85
  • 118
0
votes
2 answers

how to find libraries for xcode iphone developing

i am watching my first xcode tutorial on youtube , it says that i have to make new "based view application" but i found "simple view application" i thing it is the same , am i right? then on the tutorial there are somethings like buttons ,…
William Kinaan
  • 28,059
  • 20
  • 85
  • 118
0
votes
1 answer

Linking boost libraries in xcode

I have boost 1_46_1 in this path: /Users/ramy/Documents/C++ . In a C++ xcode project I have modified the user header search paths, and added this directory : /Users/ramy/Documents/C++/boost_1_46_1 . I am trying to include boost/regex.hpp .The file…
Ramy Al Zuhouri
  • 21,580
  • 26
  • 105
  • 187
0
votes
1 answer

How to change the width of label once after its frame has been set? and to get the width of NSString

hope you are doing good. I am setting a label and adjusting its frame .. UILabel *mylabel=[[UILabel alloc]init]; mylabel.Text=@"This is my label"; mylabel.frame=CGRectMake(10,10,200,21); now if I change the Label's text from any string set…
iOmi
  • 625
  • 10
  • 24
0
votes
1 answer

How to encoding JSONObjectWithData using UTF8?

I have this code and I'd like to use encoding to read Arabic and Emoji. Using JSON in .h I use two Array NSArray *news; NSMutableData *data; and in .m in viewDidLoad NSURL *url = [NSURL…
NamshanNet
  • 426
  • 1
  • 6
  • 20
0
votes
3 answers

Return tag of the label when it it tapped

I have 5 labels in my view, respectively tagged 1, 2, 3, 4 and 5. I have enabled user interaction on them, and added a tap gesture. Now what I want is to get the tag of the label being touched. I am doing something like…
iOmi
  • 625
  • 10
  • 24
0
votes
1 answer

How to make texts in UINavigation Bar Centered Vertically

I do this: [[UINavigationBar appearance] setTitleTextAttributes:@{UITextAttributeTextColor: navTextColor,UITextAttributeTextShadowColor: navTextColor,UITextAttributeTextShadowOffset: [NSValue valueWithUIOffset:UIOffsetMake(0,…
user4951
  • 32,206
  • 53
  • 172
  • 282
0
votes
1 answer

Access the selectedindex of UISegmentedControl in another view controller

I have a UISegmentedControl in one of my ViewControllers.This VC has a 'close' button,so the user makes a selection using the segmentedcontrol and then closes the window by clicking on the 'close' button.I want to use the value selected by the user…
user1550951
  • 369
  • 2
  • 9
  • 26
0
votes
2 answers

Establishing NSURLConnection and its responce

hi i am developing an iPhone application. I need to make a NSURLConnection from Class B delegated to Class B. In the time to establishing the connection,i navigate back to pervious view, ie Class A. So Class B object got deallocated and i received…
Sugan S
  • 1,782
  • 7
  • 25
  • 47