Total 17 Posts

Alcatraz the package manager for xCode

As a full-stack developer, I find myself using more and more package managers every year. For example, here's my current set-up: homebrew or apt-get for downloading packages on my local machine. yum for AWS AMI projects. npm for NodeJS projects. bower for web package management. rvm or rbenv for [Ruby]

Easily increase the font size in xCode

I love xCode but they don't make it easy for people who like to read big text. The problem is that it's surprisingly difficult to adjust font sizes within xCode. For example, here are the instructions Google provides when you query "xcode increase font size". That doesn't sound

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

Swift: Simple GET Request

A simple GET request using Swift. //: Playground - noun: a place where people can play import UIKit class Test { init(path:String){ getRequest(path) } func getRequest(path:String){ let operationQueue:NSOperationQueue = { let operationQueue = NSOperationQueue() operationQueue.name = "com.chrisjmendez.queue" operationQueue.maxConcurrentOperationCount = 1 return operationQueue }() //A. Craft a GET Request let

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) -&