Questions tagged [xcode7]

Xcode is an IDE by Apple for the development of iOS and OS X applications. Use this tag for version specific questions about Xcode 7.

is Apple's integrated development environment (IDE) for developing OS X, iOS, tvOS, and watchOS apps. Version 7 was presented at the WWDC on June 8th-12th, 2015. The new features of include an update to the programming language, making it faster than before. The latest version includes also support for .

Xcode 7 also adds support for deployment on iOS devices without an Apple Developer license.

This tag is only for IDE questions relating to Xcode version 7. Questions related to the programming languages should go to the appropriate tag, or . OS-related questions should go to and .

3952 questions
2
votes
2 answers

UITesting with xcode 7

I am setting up some ui tests with the new ui testing feature of xcode7 but am having a little difficulty figuring out how to set a textfield value to "" without pushing the delete button a whole bunch of times. How can I do this my testing…
BluGeni
  • 3,378
  • 8
  • 36
  • 64
2
votes
1 answer

Creating a subclass of SKShapeNode

class ColorRectangle: SKShapeNode { var width: CGFloat! var height: CGFloat! var rectColor: UIColor! convenience init(rectOfSize: CGSize, colorOfRectangle rectColor: UIColor) { super.init(rectOfSize: rectOfSize) …
2
votes
2 answers

Section header on top of UISearchBar on iOS 8. Works on iOS 9

Using UISearchController to add filtering to a UITableView. The section header overlaps with the search bar on iOS 8 using Xcode 7. This looks good in iOS 9. What workaround can I get in place so iOS 8 looks like the iOS 9 version? override func…
Jason Hocker
  • 6,879
  • 9
  • 46
  • 79
2
votes
0 answers

Xcode 7 crashes when selected main storyboard

I'm using Xcode 7 beta and I create a blank new project and go to the main storyboard and then I get the spinny beach ball of death and it crashes? wtf is going on
frosty
  • 63
  • 1
  • 9
2
votes
0 answers

ObjC Xcode 7 beta: Reference to is ambiguous

This is the declaration: typedef enum : NSUInteger { TTpixMLStatusOK, TTpixMLStatusError, TTpixMLStatusWarning, } TTpixMLStatus; In a simplified situation (in another class) NSUInteger bla = TTpixMLStatusError; is flagged with:…
Georg Tuparev
  • 441
  • 2
  • 6
  • 11
2
votes
1 answer

Can we use NSAppTransportSecurity in XCode 6?

At WWDC 2015, Apple announced “App Transport Security” for iOS 9. For solving SSL error and to bypass App Transport Security, apple has introduced a key NSAppTransportSecurity to be added in info.plist. can we use this key in Xcode 6 itself?
jailani
  • 2,260
  • 2
  • 21
  • 45
2
votes
3 answers

Xcode stops responding after tapping on .Storyboard file

Okay, so I'm trying to work on my app here and I'm trying to go to my Storyboard. Everytime I tap on the .Storyboard file, Xcode says "Application is not responding" and it quits. This issue just started happening last night(after installing OS X El…
Amit Kalra
  • 4,085
  • 6
  • 28
  • 44
2
votes
2 answers

Swift 2 + SwiftyJSON: Use of unresolved identifier error

I'm making an API REST application in Swift 2 with iOS 9, using SwiftyJSON support for Swift 2 (https://github.com/andrelind/SwiftyJSON). When I get my data and print it, I use this code: RestApiManager.sharedInstance.getRandomUser { json in let…
2
votes
0 answers

background image aspect fit - Device specific in xcode 7.0

I'm trying to setup a correct background for my IOS app. I'm using Xcode 7, with Swift 2.0 According to this post, the user has the option to choose Device Specific image sets like so: In xcode 7, it looks like I'm missing a few…
CularBytes
  • 9,924
  • 8
  • 76
  • 101
2
votes
1 answer

watchOS 1 storyboard crashes in Xcode 7

I am converting my project over to Xcode 7 and Swift 2. I also had a WatchKit Extension, and I allowed Xcode to convert that to watchOS 2. When I go to open the storyboard, I get this crash. Are some storyboards broken and so they need manual…
Jason Hocker
  • 6,879
  • 9
  • 46
  • 79
2
votes
3 answers

How to use NSRegularExpression in Swift 2.0 in xcode 7

//The error is here let regex = NSRegularExpression(pattern: "()", options: nil, error: nil) //The error is:*** cannot find an initializer for type nsregularexpression that accept an argument of type (pattern:…
jose compaq
  • 51
  • 1
  • 5
2
votes
1 answer

iOS 9-Sharing via mail in UIActivity View Controller not Working

Whenever I am clicking on the mail option in UIActivity View Controller for sharing purposes, the controller just dismisses itself. In iOS 8, its working like a charm but having issues in iOS 9. Any fix(s) ?
Piyush Vaish
  • 107
  • 8
2
votes
1 answer

Swift 2.0 new 'perform changes' of PHPPhotoLibrary won't work

I just downloaded Xcode 7 Beta 2 and am trying to use my knowledge of Swift to make an app that deletes a photo from the user's camera roll. I know how to do this normally with Swift 1.2, but I can't seem to get it in Swift 2.0. I tried searching…
2
votes
1 answer

Could not find overload for 'PathForResource' when playing audio file

I had a Swift file that worked fine in Xcode6. When I upgraded to Xcode7, I now get an error that prevents the program from compiling. Below is the code snippet that is not working. The error that I receive just states "Could not find overload for…
2
votes
1 answer

Set ? does not have a member named Generator

I find it hard to fix this error please who can help me xcode 7 beta 2 Set UITouch ? does not have a member named Generator override func touchesCancelled(touches: Set?, withEvent event: UIEvent?) { for obj in touches { …
Swift2
  • 169
  • 1
  • 2
  • 9