Questions tagged [xcode6]

Xcode 6 is Apple's integrated development environment (IDE). This tag should only be used for questions about Xcode itself, 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 is Apple's integrated development environment (IDE) for developing OS X and iOS apps. The version 6 was presented at the WWDC on June 2nd 2014. The new features of Xcode 6 include the new programming language Swift, the playground as an interactive way to play with the code and a more visual debugger.

The latest production version of the IDE is Xcode 6.4. Download Here

The important enhancements are described here and here.

This tag is for IDE only questions with the version 6. Questions related to the programming languages should go to the correct tag , , and . When they are only related to the os and .

6121 questions
3
votes
1 answer

How to build iOS framework with XCode 6

I know of familiar tutorials on this, but introduction of framework XCode 6 template has changed the game. I already watched WWDC 2014 video about building modern frameworks but it talks more about building extensions, framework & app all inside…
Nirav Bhatt
  • 6,940
  • 5
  • 45
  • 89
3
votes
3 answers

Tab bar item Image doesnt show - xcode 6

This is beginning to frustrate me but when i try to change my tab bar item images from those default squares or circle icons to my custom made images all i get are shadows/outline of my image..it doesn't actually show my image. I don't think image…
cc_hey
  • 63
  • 1
  • 11
3
votes
1 answer

XCode will build 'debug' but not 'release' because "-Swift.h" header is not found

G'day, This is really killing me my framework project builds without error or warning in the debug configuration, but when I try to build for archive it fails because the -Swift.h is not found. Apparently it's not being generated in this…
Tangler
  • 168
  • 9
3
votes
2 answers

NSURLRequest setAllowsAnyHTTPSCertificate to Swift

What is the equivalent Swift code of the Objective-C code below? [NSURLRequest setAllowsAnyHTTPSCertificate:YES forHost:[url host]];
Dustin Sun
  • 5,292
  • 9
  • 49
  • 87
3
votes
0 answers

Module support in iOS Static Library

I have multiple static iOS libraries (Objective-C) that I would like to add module support to. By that I mean the use of @import statements instead of needing to use a bridging header to support swift. Facebook, and Parse have recently added this…
DBoyer
  • 3,062
  • 4
  • 22
  • 32
3
votes
4 answers

Change color of row programmatically in WatchKit

I'd like to change the color of a row in a WKInterfaceTable if it has been selected. I've done these steps but don't know how I can go further: override func table(table: WKInterfaceTable, didSelectRowAtIndex rowIndex: Int) { let row =…
horst
  • 575
  • 1
  • 6
  • 15
3
votes
1 answer

Getting an error while loading data into WKInterfaceTable

I create a watchKit app/extension of my app. I use this func to load the data into the WKInterfaceTable: // Load table into the data func loadTableData() { let sharedDefault = NSUserDefaults(suiteName: "group.com.Devpr.App") let numberItems…
horst
  • 575
  • 1
  • 6
  • 15
3
votes
1 answer

What is an NSObjectController's selection?

In Xcode 6.2, in the Bindings Inspector I see this: Can anyone explain what setting the Controller Key to selection means? The Apple docs say: selection: Returns a proxy object representing the [NSObjectController's] selection. Not at all…
7stud
  • 46,922
  • 14
  • 101
  • 127
3
votes
2 answers

How to subclass UICollectionViewFlowLayout so that layoutAttributesForElementsInRect could be overridden

I want to create a vertical infinite scroll and after reading so many tutorials have understood that I need to subclass UICollectionViewFlowLayout. The problem is that I don't fully understand how to do so. I've tried following: 1. Created a new…
Rahul
  • 382
  • 2
  • 16
3
votes
2 answers

Xcode 6.3.2 unable to build or run projects

After upgrading to Xcode 6.3.2 I'm unable to build/run, analyse, profile project. Even project clean functionality looks broken. Does any body experienced similar problem and know how to fix it?
salabaha
  • 2,468
  • 1
  • 17
  • 18
3
votes
1 answer

Parse.com query for more than 1000 objects

I've the parse database name as Timetable, I want to get the data from the column "Intake", but I've a lot of data in it, around 5000 records. I know the maximum query objects that we can get is 1000, but how to get more than 1000 records? The codes…
jefferyleo
  • 630
  • 3
  • 17
  • 34
3
votes
1 answer

Empty Class in Swift Playground Gives __lldb_expr_ Error

Knocking up an empty class within a Swift Playground gives an error __lldb_expr_ //: Playground - noun: a place where people can play import UIKit class FooBar { } let foo = FooBar() See attached screenshot. This occurs on Xcode Version 6.3.1…
Max MacLeod
  • 26,115
  • 13
  • 104
  • 132
3
votes
1 answer

Show hidden window in OS X Swift app

I'm developing a simple menubar app for OS X Yosemite using Swift. What is I need is to show Preferences window (when user clicks on menu item) Window should be hidden at launch, and should be shown when user calls it. I found an example which…
Andrey Basalyha
  • 213
  • 1
  • 6
3
votes
2 answers

GAI.h file is not found

My question is in someway related to the question stackoverflow.com/questions/20206565/… but the answers there do not help. I just cloned a project my co developer is working on currently and got this weird error: "GAI.h file is not found" Note :…
KiranGit
  • 61
  • 1
  • 6
3
votes
1 answer

Uploaded binaries not showing in prerelease list

I archived, and submitted my test binary to iTunesConnect via Xcode. Normally, the build is added to a long list of previous builds, it processes for 5 minutes or so, and then becomes editable. At this point I supply release notes. Now, the entire…
Rayfleck
  • 12,116
  • 8
  • 48
  • 74