Search
Filters
Blog options
Close
RSS

Blog options
Mastering Swift 2 Now Available On PacktPub!

Mastering Swift 2 Now Available On PacktPub!

My new course Mastering Swift 2 is now available on PacktPub! Covering Functional Concepts, Concurrency, Algorithms and more!

details
Using dispatch_once to ensure code only gets run one time

Using dispatch_once to ensure code only gets run one time

In this brief tutorial we'll see how to use Grand Central Dispatches dispatch_once to ensure that a block of code only gets run one time. This is helpful in situations where you only want to instantiate a value one time throughout the life-cycle of your application.

details

Resetting your linux server password in 1 min

I recently installed ubuntu linux server and upon rebooting my password was failing. I suppose maybe I sausage-fingered the password when I was creating the user. Anyway, here's the quick steps to setting a new password for your user.

details
Delegation between two container views

Delegation between two container views

The most common mistake I see new programmers make when first working with the protocol-delegate pattern is to assign the delegate to a new instance of the sending class rather than to the existing class instance. This is an extension to my answer on Stack Overflow.

details

Calling C++ from Swift

Calling C++ from SwiftCalling C++ from SwiftCalling C++ from SwiftCalling C++ from SwiftCalling C++ from Swift
details

Concurrency with Operation Queues

In most cases our applications will need to do more than one thing at a time. One of those this, is responding to the users input and making sure that the user interface is responsive. Users have little patiences for an interface that appears frozen.
details

Interoperability in Swift

Interoperability in SwiftInteroperability in SwiftInteroperability in SwiftInteroperability in SwiftInteroperability in Swift
details

Bootstrap media queries

A list of bootstrap media queries. This allows you to match your breakpoints with bootstrap.
details

Program your own RSS feed in ASP.NET MVC 6

This article demonstrates how to write your very own RSS feed in ASP.NET MVC 6 for users to consume with their rss feed readers.
details

.map vs for-in performance test in Swift 2

Map is one of Swift's native higher order functions that can often replace your tradition for-in loops.
details