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
| #pragma mark - Class Methods | |
| + (BOOL)requiresConstraintBasedLayout { | |
| return YES; | |
| } | |
| #pragma mark - Init | |
| - (id)initWithFrame:(CGRect)frame { |
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
| /* | |
| * The following description is from Linux Programmer's Manual (strtok(3)): | |
| * | |
| * #include <string.h> | |
| * char *strtok(char *str, const char *delim); | |
| * | |
| * The strtok() function breaks a string into a sequence of zero or more | |
| * nonempty tokens. On the first call to strtok() the string to be parsed | |
| * should be specified in str. In each subsequent call that should parse | |
| * the same string, str must be NULL. |
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
| // | |
| // Created by ddrccw on 14-1-10. | |
| // Copyright (c) 2014年 ddrccw. All rights reserved. | |
| // refer to http://danqingdani.blog.163.com/blog/static/1860941952012102122847478/ | |
| #import <sys/stat.h> | |
| #import <mach-o/dyld.h> | |
| //#import <stdlib.h> | |
| //#import <string.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
| // | |
| // NSAttributedString+StringFromHTML.m | |
| // Artsy | |
| // | |
| // Created by Orta on 06/08/2013. | |
| // Copyright (c) 2013 Art.sy. All rights reserved. | |
| // | |
| // This doesn't produce acceptable enough results, and thus is relagated here for another day sometime |
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
| CC=clang | |
| CFLAGS+=-std=c99 -g | |
| LDFLAGS+=-framework Foundation | |
| dispatch_once_reentrancy_test: dispatch_once_reentrancy_test.o |
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
| var FadeTransitionRegion = Backbone.Marionette.Region.extend({ | |
| show: function(view){ | |
| this.ensureEl(); | |
| view.render(); | |
| this.close(function() { | |
| if (this.currentView && this.currentView !== view) { return; } | |
| this.currentView = view; |
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/bash | |
| # | |
| # Build and iPhone Simulator Helper Script | |
| # Shazron Abdullah 2011 | |
| # | |
| # WARN: - if your .xcodeproj name is not the same as your .app name, | |
| # this won't work without modifications | |
| # - you must run this script in where your .xcodeproj file is | |
| PROJECTNAME=$1 |
NewerOlder