Swift is a programming language designed by Apple for creating iOS and OS X apps. Swift builds upon the foundation of C and Objective-C.

learn more… | top users | synonyms

0
votes
0answers
43 views

Usage of MVVM in iOS

I'm an iOS developer and I'm guilty of having Massive View Controllers in my projects so I've been searching for a better way to structure my projects and came across the MVVM (Model-View-ViewModel) ...
-2
votes
1answer
108 views

Swift and PDF do they mix? [closed]

Couple of quick questions. First I have zero programming experience but somehow I have an app about 2/3 of the way done. The bulk of my app will be essentially a book to which I am adding one or two ...
0
votes
1answer
57 views

Swift Protocol Naming Conventions [closed]

Coming from a mainly c# background, I'm used to using the term "interface" for describing an object with no implementation that defines behaviour. In c#, the convention is to prepend interface names ...
0
votes
0answers
10 views

How can I make a button have a rounded border in Xcode 6? [migrated]

I'm building an app using swift in the latest version of Xcode 6, and would like to know how I can modify my button so that it can have a rounded border that I could adjust myself if needed. Once ...
7
votes
4answers
968 views

Why design a modern language without an exception-handling mechanism?

Many modern languages provide rich exception handling features, but Apple's Swift programming language does not provide an exception handling mechanism. Steeped in exceptions as I am, I'm having ...
24
votes
2answers
2k views

Do modern languages still use parser generators?

I was researching about the gcc compiler suite on wikipedia here, when this came up: GCC started out using LALR parsers generated with Bison, but gradually switched to hand-written ...
15
votes
2answers
9k views

Can Swift be used for anything besides iOS and OSX apps? [closed]

I'm liking Swift, a lot. But making an iOS or OSX native app isn't totally what I would want to do with it. Is it possible for Swift to be used in other contexts? Like say a web application that runs ...
74
votes
4answers
24k views

How can Swift be so much faster than Objective-C in these comparisons?

Apple launched its new programming language Swift at WWDC14. In the presentation, they made some performance comparisons between Objective-C and Python. The following is a picture of one of their ...