The internet's most comprehensive Swift resource.



Filter by    Swift Version   and/or   Target OS Sort by       Newest   ·   Score   ·   Views

by     www.codeschool.com
Swift Version: 2.0
Learn how to make your first iOS app with Swift, and discover some of the more common pieces of the UIKit framework and how to use them with Swift.

by Nick Hanan     www.codingexplorer.com
Swift Version: 2.0
Learn how to create a simple "Hello World!" style app in watchOS 2 using Swift and Interface Builder to get started programming for the Apple Watch.

by Eirik Madland     myxcode.net
Swift Version: 2.0
I was is need of a Alert Controller thet was self dismissed. Here’s how I did that: Create a Single View Application. Define a global variable for the UIAlertController. let alertView = UIAlertController(title: "Wait 3 seconds", message: "This message will selfdiscruct after... Continue Reading →

by Eirik Madland     myxcode.net
Swift Version: 2.0
I wanted some code to be triggered after a timer was done. Here’s a simple example of that and how I did it. Add a Single View Application. Create a label to see that our code works, change it’s label... Continue Reading →

by Arthur Knopper     www.ioscreator.com
Swift Version: 2.0
The iPhone has the built-in ability to alert the user with a vibration. Sting the System Sound services the vibration can be triggered. In this tutorial the vibration will be triggered 5 times. This tutorial is made with Xcode 7 and built for iOS9. Note this app is built for a real devices, since the iOS Simulator doesn't have vibration.

by Bao Nguyen     snackcoffee.me
Swift Version: 2.0
In this post, I'll show you how to play background audio in an iOS app.

by DJ Spiess     www.deegeu.com
Swift Version: 2.0
In this video we'll look at how to make iPhone apps talk using text to speech. The AVSpeechSynthesizer is a class that takes text, and produces speech.

by Eirik Madland     myxcode.net
Swift Version: 2.0
I was recently in need of adding a volume control to an App that uses AVPlayer to play a stream from Internet. Here’s I solved it (excluding all the parts besides the volume control). In your project you already have... Continue Reading →

by Eirik Madland     myxcode.net
Swift Version: 2.0
Here’s how to get rid of the “App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app’s Info.plist file.” error message when using http in your code.... Continue Reading →

by Eirik Madland     myxcode.net
Swift Version: 2.0
Here’s a way of doing that. Create a new Single View Application. Drag and drop the images you want to your project and name them Bars-0, Bars-1 and so on. (In my project they are called Bars-0, Bars-1, Bars-2 and Bars-3). I... Continue Reading →

by Eirik Madland     myxcode.net
Swift Version: 2.0
Here’s an example on how to add an Interstitial iAd once the App is started and an iAd i available. Create a new Single View Application. In ViewController.swift, import iAd. import iAd Make sure your ViewController is a delegate for your ad. class... Continue Reading →

by Marvin Böddeker     www.youtube.com
Swift Version: 2.0
Nun es gibt viele Möglichkeiten Tweets aus eurer App heraus zu senden. Hier zeige ich euch eine! Für mehr Wissen und einen Einstieg rund um das Thema Swift u...

by Arthur Knopper     www.ioscreator.com
Swift Version: 2.0
Sprite Kit contains a physics edge to make objects move in a realistic way. To enable the movement of the Sprite, a physics body needs to be created. This is a boundary that is used for collision detection. In this tutorial a number of balls will fall down and will fill up the screen in a realistic way. This tutorial is made for iOS9 and created in Xcode 7.

by Eirik Madland     myxcode.net
Swift Version: 2.0
Here’s what we want to archive: Here’s how to do that. Create a new XCode project using a Single View Application. Add a button to your view controller, name it “View PDF File” and connect an @IBAction to it and... Continue Reading →

by Eirik Madland     myxcode.net
Swift Version: 2.0
Here’s the instructions to make your own Framework and add it to a project. First let us make a simple Framework with a couple of functions. Start a new Xcode project selecting iOS – Framework & Library – Cocoa Touch Framework and... Continue Reading →



© 2015 SoSoSwift. Blog · About · Contact · Privacy policy · Terms of service · RSS