Skip to content

Instantly share code, notes, and snippets.

Eliezer Talón elitalon

View GitHub Profile
@elitalon
elitalon / Makefile
Last active Apr 25, 2018
A Makefile template providing shortcuts to iOS development tasks
View Makefile
SHELL = bash
###
# xcodebuild common arguments
###
WORKSPACE := MyProject.xcworkspace
SCHEME := MyScheme
PROJECT := MyProject.xcodeproj
DEBUG_CONFIGURATION := Debug
SIMULATOR := platform=iOS Simulator,OS=9.2,name=iPhone 6
@elitalon
elitalon / PrefixHeader.pch
Created Feb 17, 2016
Debug macros for Objective-C
View PrefixHeader.pch
#ifdef DEBUG
// Prettier debug messages.
#define DLog(fmt, ...) NSLog((@"%s(%d): " fmt), __PRETTY_FUNCTION__, __LINE__, ##__VA_ARGS__)
#else
// Disable debug messages in production mode.
#define DLog(...) do { } while (0)
You can’t perform that action at this time.