xcode6-beta6 Questions

4

Suddenly I'v started getting run time error as, fatal error: NSArray element failed to match the Swift Array Element type I'v declared my array as, var myArray : [CUSTOM_CLASS] = [CUSTOM_CLASS]...
Liebknecht asked 25/8, 2014 at 11:8

7

Solved

I have set up a view controller in Storyboard which is embedded in a navigation controller. In this nav controller I have checked Shows Navigation Bar and Shows Toolbar and enabled a navigation bar...
Prostomium asked 30/8, 2014 at 23:3

4

Solved

I'm trying to build a photo App Extension in Xcode 6 Beta-6 that uses cocoapods libraries. The bridging header that Xcode creates for the photo extension can't see anything from cocoapods. For exa...
Hurling asked 27/8, 2014 at 23:38

31

I received an error (Domain = LaunchServicesError, Code = 0) when trying to launch my app in the iOS Simulator with Xcode 6. I looked for solution in google, but I didn't find anything practi...
Courbevoie asked 2/9, 2014 at 21:43

4

Sigh, I have been working on this the whole afternoon... here is my nightmare: I am trying to use the KeychainItemWrapper made by Apple. But I "translated" its Objective-C codes to Swift: import ...
Claud asked 26/8, 2014 at 18:48

2

Solved

I am using xcode 6 beta 6 and I get this weird error for a function that has no params. Here is the function func allStudents ()-> [String]{ var appDel:AppDelegate = (UIApplication.sharedAppl...
Catabasis asked 21/8, 2014 at 21:6

4

Solved

I want to parse a JSON to object, but I have no idea how to cast AnyObject to String or Int since I'm getting: 0x106bf1d07: leaq 0x33130(%rip), %rax ; "Swift dynamic cast failure" When using for...
Etherify asked 22/8, 2014 at 14:14

1

I just started testing my iOS7 app on iOS8 with Xcode 6 (beta 6). I am aware that iOS 8 has deprecated the "push" and "modal" segue but I was happy to find that all my segue's worked... except one....
Blacktail asked 25/8, 2014 at 21:41

5

Solved

After updating to the recently released beta 6 of Xcode 6, my swift project fails to build due to the following errors. Looking at previous questions on this issue, propose checking the build ar...
Poland asked 19/8, 2014 at 16:25

1

Please see below 3 table view cells in the same app, the height of the cell is 54 in interface builder, the border is created using CAShapeLayer in code with a height of 44. Since I switched from x...
Alexis asked 22/8, 2014 at 4:32

3

I have just upgraded from Xcode 6 Beta 3 to Xcode 6 Beta 6. In Beta 3, everything worked fine and compiled like I wanted it to. Right now, I cannot get CLLocationManagerDelegate to work, i.e. I al...
Molt asked 30/8, 2014 at 11:33

3

Solved

When I'm running the application on device aftercleaning, removing derived data, first time it runs without any issues. Second time when I'm trying to run, it say's "A signed resource has been adde...
Dateless asked 3/9, 2014 at 8:4

1

Solved

I'm using Alamofire (AF) in a concurrent operation queue to run network commands in my project. Sometimes AF's completionHandler doesn't fire, leaving my NSOperation hanging (waiting for a finish m...
Herren asked 29/8, 2014 at 14:32

1

I have a couple of questions regarding iCloud in iOS8. I am going through my developer profile and the iCloud container that was associated with my profile has been changed from my ${TeamIdentife...
Cacoepy asked 1/9, 2014 at 19:6

2

Solved

func loadThumbnails() { let paths = NSSearchPathForDirectoriesInDomains(NSSearchPathDirectory.DocumentDirectory, NSSearchPathDomainMask.UserDomainMask, true) let documentsDirectory:NSString = pa...
Turbulent asked 29/8, 2014 at 7:36

1

Solved

I used the below couple of code lines to get the frame of the keyboard when its shown on the screen. I've registered to UIKeyboardDidShowNotification notification. func keyboardWasShown(notificati...
Eventide asked 19/8, 2014 at 10:40
1

© 2022 - 2024 — McMap. All rights reserved.