Questions tagged [xcode5]

Xcode 5 is Apple's integrated development environment (IDE). Xcode 5.0 included the SDKs for Mac OS X 10.8 and iOS 7. *Do not use this tag unless your question specifically involves the Xcode IDE!*

Xcode 5 is an Apple integrated development environment (IDE). This version of Xcode includes the SDKs for Mac OS X 10.8 and iOS 7. It is available free on the Mac App Store and as a downloadable disk image file (DMG) from http://developer.apple.com/xcode

This tag should only be used for questions about the Xcode 5 integrated development environment (IDE) itself, and not for general Mac or iOS programming topics. Use for Mac programming questions, and or for iOS programming questions.

If the question is related to the Xcode IDE in general (not specific to Xcode 5), use the tag.

4015 questions
1
vote
3 answers

iOS: set textview font to body programmatically

I know how to set font programmatically when it comes to things like system fonts or custom fonts. But how do I specify the body font style? or caption or headline, for that matter?
learner
  • 11,452
  • 24
  • 87
  • 160
1
vote
2 answers

Backward compatibility of Storyboards from Xcode 6 to Xcode 5 + Support iOS 7 in Xcode 6

After making some changes in my project under Xcode 6, I can't open storyboard file (and build project) from Xcode 5. Since there is no way to Distribute apps to AppStore from Xcode 6, while it under beta - I have to build application under Xcode…
skywinder
  • 20,546
  • 15
  • 87
  • 122
1
vote
2 answers

How to duplicate an UIView designed in a storyboard?

So I have this view that I design in a storyboard view controller and I want to reuse that design more than once from code. Is that possible to do in XCode 5? If so can you please show me the right direction?
Mihai Fratu
  • 7,333
  • 2
  • 31
  • 59
1
vote
2 answers

intercept UITabBar tap

I need to intercept a UITabBar tap precisely so I can conditionally abort moving to the intended ViewController (i.e. conditionally dismiss the tap). I create my UITabBar in the storyboard. The UITabBar is the root view of my entire app. One of the…
Katedral Pillon
  • 14,266
  • 20
  • 87
  • 182
1
vote
2 answers

Why Apple's sample code project IKImageViewDemo does not have an AppDelegate class?

I have studying how to use IKImageView in my app. I downloaded the following demo from Apple site. https://developer.apple.com/library/mac/samplecode/IKImageViewDemo/Introduction/Intro.html#//apple_ref/doc/uid/DTS10004049 One thing I do not…
Anthony Kong
  • 29,857
  • 33
  • 139
  • 244
1
vote
1 answer

Problems to read binary files using strucs

I had succes reading binary files from BMP file using Vectors to stores the datas before write it on a new file...follow below the code. I realized that this Code could be improved and I found some solutions checking books and Internet. Lots of…
BigBugNoob
  • 35
  • 8
1
vote
0 answers

dismissViewControllerAnimated not working when presenter leads to multiple segues

To wire multiple segues to a single button, I use a method similar to ios - Connect one UIButton to 2 segues, which works fine. The problem is that when I call [self dismissViewControllerAnimated:YES completion:NULL]; nothing happens. This works…
learner
  • 11,452
  • 24
  • 87
  • 160
1
vote
2 answers

UIWebView automatically is shifted up after keyboard appears

My UIWebView is shifted up when the keyboard appears, and when the keyboard dismisses, the webview does not come back to its previous position. I've checked out the webview's position before and after the keyboard appears, or dismisses. What a…
chipbk10
  • 5,397
  • 9
  • 38
  • 73
1
vote
2 answers

Different behaviour of [NSMutableString writeToFile] in iOS7 and iOS8

Here i have demo code for saving NSMutableString in to File (FileName.dat) NSError* error = nil; NSMutableString* dat = [[NSMutableString alloc] initWithCapacity:1]; BOOL result = [dat writeToFile:@"FileName.dat" atomically:YES…
Jageen
  • 6,185
  • 2
  • 33
  • 54
1
vote
2 answers

Why doesn't work a view controller at landscape when I show it?

I add UIViewController on main screen by this code : SettingViewController *v=[ self.storyboard instantiateViewControllerWithIdentifier: @"SettingViewController"]; [self addChildViewController:v]; [self.view addSubview:v.view]; [v…
Free User
  • 211
  • 2
  • 14
1
vote
0 answers

Crash loading SKTextureAtlas when using xCode Command Line Tools - better answer?

My iOS7 project uses SpriteKit and multible SKTextureAtlas. I am able to build and run it without any issues using xCode5.1.1. Trying to run the .ipa build by our build server, which is using xCode Command Line Tools, it crashes on startup when…
shallowThought
  • 16,998
  • 6
  • 55
  • 100
1
vote
0 answers

Xcode live news feed with multiple accounts or user

Im new to xcode. and Im creating this facebook, twitter, instagram and youtube news feed in a tableview at first Im trying this facebook to load multiple json #import "ViewController.h" #import "DetailViewController.h" #import…
1
vote
1 answer

"Valid signing identity not found" for development Xcode 5.1.1 Cordova

Xcode's organizer always says "Valid signing identity not found" for every device for the existing provisioning profiles or if I add new ones. I've tried deleting provisioning profiles and creating new ones using Apple's iOS developer site and…
Luke Wenke
  • 1,113
  • 2
  • 22
  • 42
1
vote
0 answers

ERRORS ITMS-9000 Application publishing error

Every time i try uploading my app to the app store it gives me this error. Please help, i thank everyone who answers in advance. The error is: ERROR ITMS-9000: "Storyboard file 'Main_iPhone - ipad.storyboardc' was no found. Please ensure the…
1
vote
4 answers

NSUserDefaults of different application

I am currently developing System Pane and my app have some configuration settings saved to User Defaults: NSUserDefaults *userDefault=[NSUserDefaults standardUserDefaults]; NSData *encodedObject = [NSKeyedArchiver…
MeIr
  • 7,044
  • 6
  • 40
  • 70