Special thanks to notjosh for the name.
- Drop the
NSArray+PCSMugjectiveC.h
andNSArray+PCSMugjectiveC.m
files into your project. - Have fun with the
pcs_looksLikeAMug
method
#import "NSArray+PCSMugjectiveC.h"
- (void)doSomething {
if ([@[] pcs_looksLikeAMug]) {
NSLog(@"My array looks like a mug");
}
}
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE Version 2, December 2004
Copyright (C) 2015 Romain Pouclet [email protected]
Everyone is permitted to copy and distribute verbatim or modified copies of this license document, and changing it is allowed as long as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
- You just DO WHAT THE FUCK YOU WANT TO.