The internet's most comprehensive Swift resource.



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

by Shrikar Archak     shrikar.com
Swift Version: 1.1
Learn how to setup Apple pay in you Swift iOS8/iOS9 app and start accepting payments. We will be using stripe for processing payments.

by Eirik Madland     myxcode.net
Swift Version: 1.1
Adding a frame to a view using code. Create an IBOutlet for your view and connect it (in this example it's called frameView). Add the following code in viewDidLoad():  frameView.layer.borderWidth =...

by Eirik Madland     myxcode.net
Swift Version: 1.1
Here's how to do that. In your class, add MFMailComposeViewControllerDelegate to it, look something like this: class ViewController: UIViewController, MFMailComposeViewControllerDelegate { Import M...

by Eirik Madland     myxcode.net
Swift Version: 1.1
Here's how to do that. Create a button (or put the code somewhere else in your project) and create a IBAction for it. Add the following code:  @IBAction func callPressed(sender: AnyObject) { let ph...

by Eirik Madland     myxcode.net
Swift Version: 1.1
Here's how to do that. First of all find the Facebook page you want to go to in the Facebook app, go to  do that. Record the ID: 96585976469 (my example i Audi US page) Create a button (or put the ...

by Eirik Madland     myxcode.net
Swift Version: 1.1
Here's how to do that. Create a button (or put the code somewhere else in your project) and create a IBAction for it. Add the following code: @IBAction func instagramButtonPressed(sender: AnyObject...

by Eirik Madland     myxcode.net
Swift Version: 1.1
I wanted to show square photos in a collection view, two on each row. How can I do that? It's quite easy to use Storyboard for this and make two photos on each row, but how do I make sure that it u...

by KTKTC (Kids Teach Kids To Code)     www.youtube.com
Swift Version: 1.1
The three brothers are back! This time Alex is doing a video tutorial on an AIRPLANE.

by Eirik Madland     myxcode.net
Swift Version: 1.1
Here's how to make a view (that may or may not take more than the whole screen) within a scrollable view that matches the screen size.

by Bizzi Bradbury     blog.bizzi-body.com
Swift Version: 1.1
How to upload images from device photo album to the Parse platform. And, how implement forgotten and reset user password capability.

by Eirik Madland     myxcode.net
Swift Version: 1.1
An easy example of adding an activity indicator when loading a webpage. In storyboard, add a Activity Indicator View. In the view controller's swift file, add UIWebViewDelegate to the class, e.g.: ...

by Eirik Madland     myxcode.net
Swift Version: 1.1
A simple example to implement a UIWebView in a view controller.

by Eirik Madland     myxcode.net
Swift Version: 1.1
An easy way of checking internet connectivity using IJReachability from GitHub.

by Eirik Madland     myxcode.net
Swift Version: 1.1
Just a list of things to do when adding Parse as part of your project.

by Jon Hoffman     masteringswift.blogspot.com
Swift Version: 1.1
One of the many new features with Xcode 7 and Swift 2 is the @testable attribute. While we have been able to do unit testing in previous versions of Xcode and Swift the big drawback has always been that any routine we wanted to test had to have an access level of public. This was a pretty big drawback especially with frameworks where we need to test routines without making them public. This has changed in Xcode 7 and Swift 2. In this post we will demonstrate how to use the new @testable attribute in our test source code to make all public and internal routines usable by our test code but not usable by other frameworks and app targets.



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