This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (NSString *)description { | |
return [NSString stringWithFormat:@"<%@: %p; name = %@; location = (%f, %f)>", NSStringFromClass([self class]), self, name, loc.x, loc.y]; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// TouchThroughView.h | |
// Created by Anthony Mattox on 3/5/12. | |
// | |
#import <UIKit/UIKit.h> | |
@interface TouchThroughView : UIView | |
@property (nonatomic) BOOL touchThrough; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).ready(function() { | |
$('a[href^="#"]').click(function(event) { | |
$('body').animate({ | |
'scrollTop': $($(this).attr('href')).position().top - 20 | |
}, 300); | |
event.preventDefault(); | |
return false; | |
}); | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# addDebugSettingsChild.sh | |
# | |
# Simple script to inject a Debug menu in an iPhone Settings plist. | |
# | |
# created 10.15.2008 by Andy Mroczkowski, mrox.net | |
THIS="`basename $0`" | |
PLISTBUDDY="/usr/libexec/PlistBuddy -x" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// AnimatedView.h | |
// | |
// Created by Anthony Mattox on 6/18/12. | |
// Copyright (c) 2012 Friends of The Web. All rights reserved. | |
// | |
#import <UIKit/UIKit.h> | |
@interface ParticleView : UIView { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// UIColor+Additions.h | |
// | |
// Created by Anthony Mattox on 9/28/12. | |
// Copyright (c) 2012 Friends of The Web. All rights reserved. | |
// | |
#import <UIKit/UIKit.h> | |
@interface UIColor (Additions) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (void) listFonts { | |
NSArray *familyNames = [UIFont familyNames]; | |
for (NSString *family in familyNames) { | |
NSLog(@"family: %@", family); | |
NSArray *styles = [UIFont fontNamesForFamilyName:family]; | |
for (NSString *style in styles) { | |
NSLog(@" - %@", style); | |
} | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// UITextField+SelectionRanges.h | |
// Kitchen Unit Converter | |
// | |
// Created by Anthony Mattox on 1/5/13. | |
// Copyright (c) 2013 Friends of The Web. All rights reserved. | |
// | |
#import <UIKit/UIKit.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// FTWDropCapTextView.h | |
// | |
// Created by Anthony Mattox on 1/22/13. | |
// Copyright (c) 2013 Friends of The Web. All rights reserved. | |
// | |
#import <UIKit/UIKit.h> | |
@interface FTWDropCapTextView : UIView |
OlderNewer