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

ipad app progress bar not updating

I have an ipad app is written in xcode 5.x and I have 1 controller with a tableview and UIProgressView 1 class that does syncronious download (NSObject class) 1.) The controller calls the donwload function from the download class 2.) The function…
Jester
  • 2,682
  • 5
  • 27
  • 40
1
vote
2 answers

Calculation returns after second press on button

I'm new to Objective C. I'm experiencing issues whilst creating a unit conversion app. Here is the offending code (P.S I'm aware that isn't the correct conversion): The problem is that when I press the convert button, it returns with the…
JamesWard
  • 13
  • 2
1
vote
1 answer

How to pass data between NavigationController and Table View Controller with prepareForSegue

How can I pass data between a Navigation Controller and a Table View Controller? I have tried prepareForSegue method but it doesn't work.. I have tried to put a breakpoint to see if the flow calls this method but it seems that the prepareForSegue of…
Moussa
  • 3,789
  • 5
  • 24
  • 41
1
vote
2 answers

Parse.com query for 10000 (10K) objects

I have a parse database with a class named MeetingObject filled with 6000 objects (it will grow by the way...). Being the parse query limit 1000 I'm trying to get them using the skip query property. The following code gives me 2000…
Diego
  • 366
  • 3
  • 18
1
vote
1 answer

How can I add Pascal Syntax Coloring to Xcode 5?

I am trying to get Syntax Coloring for Pascal (or Object Pascal or FreePascal) in Xcode 5. I have tried using the package provided here: http://lists.apple.com/archives/xcode-users/2009/Jul/msg00082.html I added the file "Pascal.xclangspec"…
Blake
  • 136
  • 1
  • 9
1
vote
1 answer

Want to unwind to view controller but exit button won't highlight, connect in Storyboard

Want to connect by control-clicking two bar button items (cancel and done) to the Exit button (to perform an unwind segue) under the Storyboard, but the Exit button won't highlight. Have checked that I have selected the two bar button items in the…
pdenlinger
  • 3,807
  • 9
  • 57
  • 91
1
vote
1 answer

Setting a Compiler Flag Xcode

is it possible to set a compiler flag in Xcode to not compile any source code which is flagged not into the archive (ipa)?! Maybe just like an if-statement?! if (shouldBeInAppPackage) { //Code in here should be compiled in App Package }
davidOhara
  • 978
  • 4
  • 16
  • 38
1
vote
1 answer

How to disable to right navigation bar button in iOS 7?

I have 2 navigation bar buttons added and display it at right. I used this code below and works fine. UIBarButtonItem right = [getUI navBarButtonHistory:self navLink:@selector(btn_sendPreview:) imageNamed:@"ic_print.png"]; UIBarButtonItem …
user2749248
  • 616
  • 7
  • 15
1
vote
1 answer

To change bundle identifier using command line (xcodebuild)

I have two bundle identifiers which i need to specify in terminal while generating ipa file. Can anyone suggest me ? To generate ipa file i have used below command xcodebuild -exportArchive -exportFormat ipa -archivePath …
user2931321
  • 428
  • 7
  • 25
1
vote
0 answers

How to write unit test case using XCTest/XCTest.h "xcode 5.1" for UIWebView

I am trying to do a test case for UIwebview but is not showing the load above. It's showing only a blank white screen. How should I use it?
Sammy
  • 13
  • 3
1
vote
1 answer

Creating, reading to and writing from a plain text file in ios app

What I want to do is write a method that when called will create a plain text file with a pre-written header (always the same) and then periodically updates the text file with more data until the user requests it to stop. A new text file would be…
user3871995
  • 465
  • 1
  • 6
  • 18
1
vote
2 answers

Xcode 5.1 storyboard file in IB , can't find file owner

This is really confusing i build simple app using Xcode 5.1 storyboard builder i try to work with the simple Facebook login tutorial where it says: Select the View that represents the login button. In the Connections inspector, connect the…
user63898
  • 26,293
  • 71
  • 223
  • 438
1
vote
0 answers

iOS Dev using XCode5 - Precompile of .pch failing, appears to be building in c context rather than ObjC

I have a project for an iOS app that Ive used in the past, the app is on the store. In attempting a recent update after using the source in Xcode 5 for the first time I find the pch precompile is failing like this: Duplicate protocol definition of…
McMac
  • 21
  • 2
1
vote
1 answer

Unit Testing UITextField Method

I'm very much new to iPhone app development, so starting with some unit testing. Pardon me if it is trivial question. I have following code for a text field, - (BOOL)textField:(UITextField *)textField shouldChangeCharactersInRange:(NSRange)range…
vasanth
  • 15
  • 3
1
vote
1 answer

Wildcard provisioning profiles conflict in Xcode with multiple Apple IDs

I have several accounts configured in Xcode under Preferences/Accounts and I use Xcode to generate certificates. It generated a wildcard provisioning profile for all the accounts I have, with the name iOS Team Provisioning Profile: * but I can't…
Rickye
  • 1,013
  • 1
  • 9
  • 16
1 2 3
99
100