Skip to content

Instantly share code, notes, and snippets.

View marcomasser's full-sized avatar

Marco Masser marcomasser

View GitHub Profile
@marcomasser
marcomasser / NSObject+RFExtensions.h
Created October 11, 2012 17:44 — forked from bsneed/NSObject+RFExtensions.h
perform a block in a background thread, and call a completion block on the main thread when its done.
//
// NSObject+RFExtensions.h
//
// Created by brandon on 10/5/12.
// Modified by Marco Masser on 2012-10-11
// Copyright (c) 2012 redf.net. All rights reserved.
//
#import <Foundation/Foundation.h>
@marcomasser
marcomasser / CaseConventionsForInitialisms.md
Created February 15, 2016 09:59 — forked from dabrahams/CaseConventionsForInitialisms.md
Case Conventions for Initialisms

Case Conventions for Initialisms

We've discussed four possibile conventions for the case of initialisms. This document examines the tradeoffs.

The choices

1. func htmlDigest(for html: String) -> HTMLDigest

If the initialism starts a non-type name, downcase it; otherwise, upcase it.