Swift

Total 14 Posts

Learning Swift Lang

I first started writing HTML + Javascript when I was 17 years old. No one told me that I should be a coder nor did anyone bother to tell me that you could earn money doing it. Like many skills I've collected over my life, music is what helped me discover

Decompiling your iPhone app

If you ever end up losing your source code and you have no other option than decompile your iPhone app, here are a list of tools: Class Dump Pacefist Hopper

Understanding the UIViewController lifecycle

The more I continue learning Swift for iOS development, the more I realize the importance of understanding the UIViewController lifecycle. The UIViewController lifecycle dictates how the operating system creates, presents, hides and destroys view controllers but, as a developer, it's hard to really wrap your head around the concept because

Common Swift string extensions

String Extension import Foundation extension String { var length: Int { get { return countElements(self) } } func contains(s: String) -> Bool { return self.rangeOfString(s) ? true : false } func replace(target: String, withString: String) -> String { return self.stringByReplacingOccurrencesOfString(target, withString: withString, options: NSStringCompareOptions.LiteralSearch, range: nil) } subscript (i: Int) -&
You've successfully subscribed to Chris Mendez
Great! Next, complete checkout for full access to Chris Mendez
Welcome back! You've successfully signed in.
Success! Your account is fully activated, you now have access to all content.