Can anyone tell me how to round a double value to x number of decimal places in Swift? I have: var totalWor
In WWDC 2014 session 403 Intermediate Swift and transcript, there was the following slide The speaker said
I am trying to find an item index by searching a list. Does anybody know how to do that? I see there is list
Why would you create a "Implicitly Unwrapped Optional" vs creating just a regular variable or constant? If you
I'm trying to figure this out since last week without going any step further. Ok, so I need to apply some
I am looking for a way to replace characters in a Swift String. Example: "This is my string" I would like to
Playing around with Swift, coming from a Java background, why would you want to choose a Struct instead of a C
I have been working to create a UIAlertView in Swift, but for some reason I can't get the statement right
In Swift, how can I check if an element exists in an array? Xcode does not have any suggestions for contain, i
The Swift Programming Language guide has the following example: class Person { let name: String init
lets say we have a custom class named imageFile and this class contains two properties. class imageFile {
Fellow devs, I am having trouble with AutoLayout in Interface Builder (Xcode 5 / iOS 7). It's very basic
I've gone through the iBook from Apple, and couldn't find any definition of it: Can someone explain
weak references don't seem to work in Swift unless a protocol is declared as @objc, which I don't wa
This crash has been a blocking issue I used the following steps to reproduce the issue: Create a Cocoa Touch
I just created a new Swift project within Xcode. I am wondering which version of Swift it's using. How