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.

3988 questions
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
  • 21,291
  • 15
  • 93
  • 123
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,579
  • 2
  • 37
  • 63
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,534
  • 25
  • 99
  • 199
1
vote
1 answer

How to add a custom object to the 'Objects' section of a xib file?

It is a followup question of my earlier question I want to know how I can add the Controller to the Objects section on the left hand side? I have tried context menu or the 'Edit' in the menu bar and I did not see relevant option. It is what I see in…
Anthony Kong
  • 37,791
  • 46
  • 172
  • 304
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
  • 37,791
  • 46
  • 172
  • 304
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
  • 53
  • 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,490
  • 26
  • 97
  • 169
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,783
  • 12
  • 49
  • 85
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,345
  • 2
  • 37
  • 56
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
  • 19,212
  • 9
  • 65
  • 112
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,149
  • 2
  • 23
  • 43
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
1 answer

There is no simulator in my xcode 5 after I install xcode 6 beta

I have installed xcode 6 beta 4 but after that, when I use xcode 5, there is no simulator can be select, so I also cannot build the project, does anyone encounter this problem? I suppose the xcode 6 is another app so it should not cover the xocde 5,…
Winson
  • 769
  • 6
  • 17