? Optional casting to a variable whose Type is a class type in Swift

I've looked for similar questions on Google and SO and couldn't find anything directly related. There seem to be two similar (maybe?) questions in C#, but I don't know the language, so I didn't really
 ? Swift IndexPath counting continuous over multiple sections?

I have multiple sections in a UITableView. I am using the IndexPath of the cells to set some values. What I am asking is if at the start of a new section, the counting of the IndexPaths restarts to ze
 ? Load app icon from xcassets on OS X

I can't load another app icon into NSImage. I tried to use both asset name and name of the particular file but image is always nil.let image = NSImage(named: "Alerted")//let alertedDog = NSImage(named
 ? uploadTask with progress using AFNetworking in Swift

I'm trying to use NSProgress with AFNetworking, this is the code I'm using //func upload...//...let request: NSMutableURLRequest = AFHTTPRequestSerializer().multipartFormRequestWithMethod("POST", URLS
 ? Swift: Setting progress of NSProgressIndicator

I have tried to setup my own NSProgressIndicator with the following method. class ProgressViewController : NSViewController { override func loadView() { let view = NSView(frame: NSMakeRec
 ? fatal error: unexpectedly found nil while unwrapping an Optional value - why?

I'm pretty new to coding in Swift and I'm not too sure what's happening here - can anyone help?Thanksimport UIKitclass SecondViewController: UIViewController { var toDoItems:[String] = [] @IBOut
 ? fatal error: unexpectedly found nil while unwrapping an Optional value - why?

I'm pretty new to coding in Swift and I'm not too sure what's happening here - can anyone help?Thanksimport UIKitclass SecondViewController: UIViewController { var toDoItems:[String] = [] @IBOut
 ? fatal error: unexpectedly found nil while unwrapping an Optional value - why?

I'm pretty new to coding in Swift and I'm not too sure what's happening here - can anyone help?Thanksimport UIKitclass SecondViewController: UIViewController { var toDoItems:[String] = [] @IBOut
 ? error while assigning string to uilabel swift

I have two view controllers one is main ViewController in which at bottom i putted container view and that container is connected to another NewViewController which i want to show in main ViewControll
 ? Deinit method is never called - Swift playground

In the next code I'm trying to call the deinit method releasing all the references to the Person Class instance Mark but the deinit is never called. Why? class Person{ let name:String init(nam
 ? Deinit method is never called - Swift playground

In the next code I'm trying to call the deinit method releasing all the references to the Person Class instance Mark but the deinit is never called. Why? class Person{ let name:String init(nam
 ? Deinit method is never called - Swift playground

In the next code I'm trying to call the deinit method releasing all the references to the Person Class instance Mark but the deinit is never called. Why? class Person{ let name:String init(nam
 ? Deinit method is never called - Swift playground

In the next code I'm trying to call the deinit method releasing all the references to the Person Class instance Mark but the deinit is never called. Why? class Person{ let name:String init(nam
 ? Trying to pass nil but compiler keeps making me force unwrap an optional value Swift

I am working on an app, and I created the following function: func initMPVideoPlayer(videoUrl: NSString?) { var fileURL: NSURL = NSURL(string: videoUrl) self.videoController = MPMoviePlayerContr
 ? Trying to pass nil but compiler keeps making me force unwrap an optional value Swift

I am working on an app, and I created the following function: func initMPVideoPlayer(videoUrl: NSString?) { var fileURL: NSURL = NSURL(string: videoUrl) self.videoController = MPMoviePlayerContr
 ? Trying to pass nil but compiler keeps making me force unwrap an optional value Swift

I am working on an app, and I created the following function: func initMPVideoPlayer(videoUrl: NSString?) { var fileURL: NSURL = NSURL(string: videoUrl) self.videoController = MPMoviePlayerContr

Page 1 of 774  |  Show More Pages:  Top Prev Next Last