Quantcast
Channel: Webdevils
Browsing latest articles
Browse All 14 View Live

Parse Swift with Cocoapods

Xcode new project Terminal CD to project directory Open your Podfile with: open -a Xcode Podfile Uncomment Frameworks, and add Parse, and ParseUI to do. Should look something like this: # Uncomment...

View Article



Swift – Camera and UIImagePickerController

Take pictures with the UIImagePickerController. This is a ViewController subclass, that creates a view that allows you to take a picture with the camera. The UIImagePickerController works with a...

View Article

Swift – Simple Animations

Need to create simple animation? Use UIView.animateWithDuration() or one of the other similar methods. While this is fairly easy to use, it is bit cumbersome. Why not make a helper method to simplify...

View Article

Swift – NSNumberFormatter

At some point you will find yourself in need of formatting numbers. This could be for time, temperature, currency, or just wanting to control the number of decimal places. You might even want to...

View Article

Swift – Singletons

Singleton and the TodoManager The goal of the current project is to create a Todo App. This app will work with Todo items that need to be shared across more than one view controller. One approach is to...

View Article


Swift – UITableViewRowActions and editActionsForRowAtIndexPath

Do you like those button that display when you swipe a row in a table view to the left? You can add your own with little effort using UITableViewRowAction, and tableView(:editActionsForRowAtIndexPath)....

View Article

Swift – UIView

Here are some notes on working with UIView. I try to cover the differences between frame and bounds, and how to position elements on the screen using frame, bounds, and center. There is a video example...

View Article

The Language of Segues

Segues in iOS are used to get from one piece of content to another. There are couple simple transitions that are default, and you can also make your own custom transitions. The default transitions,...

View Article


Swift – Optionals

There is not way I can explain optionals better than this. Read it twice. Three times or more. It takes a while for it to sink in.

View Article


Swift – AVAudioFoundation

Playing sounds with Swift and AVAudioFoundation A few notes about using AVAudioFoundation with Swift. Be sure to add your audio files to your project. Make sure they have been “added to target”....

View Article
Browsing latest articles
Browse All 14 View Live




Latest Images