(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| #!/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 |
| 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; |
| CC=clang | |
| CFLAGS+=-std=c99 -g | |
| LDFLAGS+=-framework Foundation | |
| dispatch_once_reentrancy_test: dispatch_once_reentrancy_test.o |
| // | |
| // 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 |
| // | |
| // 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> |
| /* | |
| * 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. |
| #pragma mark - Class Methods | |
| + (BOOL)requiresConstraintBasedLayout { | |
| return YES; | |
| } | |
| #pragma mark - Init | |
| - (id)initWithFrame:(CGRect)frame { |
| UITableView convenience classes for resizing header and footer with autolayout. |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.