Skip to content

Instantly share code, notes, and snippets.

Eliezer Talón elitalon

Block or report user

Report or block elitalon

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@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)
@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
You can’t perform that action at this time.