Skip to content

Instantly share code, notes, and snippets.

@CodaFi
CodaFi / alltheflags.md
Last active October 26, 2022 20:09
Every Option and Flag /swift (1.2) Accepts Ever

#Every Single Option Under The Sun

  • optimization level options
  • automatic crashing options
  • debug info options
  • swift internal options
  • swift debug/development internal options
  • linker-specific options
  • mode options
@adamweeks
adamweeks / UIViewController+Logging.h
Last active January 9, 2017 06:05
WTVC!?! What-the-View-Controller?!?! This UIViewController+Logging class category utilizes method swizzling to help you log which view is currently being displayed. This comes in handy when investigating a very large project with lots of view controllers that are hard to track down. Simply import this in your App Delegate.
#import <UIKit/UIKit.h>
@interface UIViewController (Logging)
@end
@simonwhitaker
simonwhitaker / UIColor+GSAdditions.h
Created September 15, 2011 11:19
A category on UIColor adding +(UIColor*)colorWithHexValue:(NSString*)hexValue;
//
//
// UIColor+GSAdditions.h
//
// Created by Simon Whitaker at Goo Software Ltd on 15/09/2011.
//
#import <UIKit/UIKit.h>
@interface UIColor (GSAdditions)