- Stanford CS193P. All session, all homework. By the end of it, you should know how MVC works, having a deep understanding at delegation, protocols and etc.
- Start to build something small, get familiar with UIKit. For example, UITableView, UISeachView, UICollectionView. Pay attention to autolayout, new APIs introduced in iOS7.
- WWDC videos, you may not fully understand what they are talking about, but just bear with it, It's will worth your while.
- �Now, you are ready to work on actual projects. Network � and database related stuff, try using Apple's native api(NSConnection, CoreData). And after you feel depressed, try to find the open-source replacements(AFNetworking, MagicalRecord), which will make your life much easier. Mean time, learn how to use cocoapods, because you are going to need it.
- "Pushing the limits of iOS." (Book, it's a great read)
- When you are ready, try to understand the codes from open-source projects. Maybe even find fixes or bugs. Sending pull req
This file contains 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
cd ~/Temp; | |
IFS='/' read -a array <<< "{query}"; | |
folder=`echo ${array[${#array[@]}-1]} | cut -d \. -f 1` | |
if [ ! -d $folder ]; then | |
git clone "{query}"; | |
cd `echo $folder`; | |
open .; |
This file contains 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
222.197.165.180 ecard.uestc.edu.cn | |
202.112.14.179 www.xkjs.uestc.edu.cn | |
222.197.164.247 webpac.uestc.edu.cn | |
222.197.164.43 www.bb.uestc.edu.cn | |
222.197.164.72 portal.uestc.edu.cn | |
222.197.164.72 freshman.uestc.edu.cn | |
222.197.164.72 sa.uestc.edu.cn | |
222.197.164.74 ea.uestc.edu.cn | |
222.197.164.236 mail.std.uestc.edu.cn | |
222.197.165.118 www.spead.uestc.edu.cn |
This file contains 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
<?xml version="1.0"?> | |
<root> | |
<item> | |
<name>Hyper key stuff</name> | |
<item> | |
<name>F19 to F19</name> | |
<appendix>(F19 to Hyper (ctrl+shift+cmd+opt) + F19 Only, F19)</appendix> | |
<identifier>private.f192f19</identifier> | |
<autogen> | |
--KeyOverlaidModifier-- |
- jQuery - The de-facto library for the modern age. It makes things like HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a multitude of browsers.
- Backbone - Backbone.js gives structure to web applications by providing models with key-value binding and custom events, collections with a rich API of enumerable functions, views with declarative event handling, and connects it all to your existing API over a RESTful JSON interface.
- AngularJS - Conventions based MVC framework for HTML5 apps.
- Underscore - Underscore is a utility-belt library for JavaScript that provides a lot of the functional programming support that you would expect in Prototype.js (or Ruby), but without extending any of the built-in JavaScript objects.
- lawnchair - Key/value store adapter for indexdb, localStorage
This file contains 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
keyboard_notification = -> name { | |
NSNotificationCenter.defaultCenter.rac_addObserverForName(name, object:nil) | |
} | |
rac.showing_keyboard = RACSignal.merge!( | |
keyboard_notification.call(UIKeyboardWillShowNotification).map! {|_| true }, | |
keyboard_notification.call(UIKeyboardWillHideNotification).map! {|_| false} | |
).takeUntil(self.rac_willDeallocSignal) |
This file contains 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
set-window-option -g mode-keys vi | |
set-option -g status-keys vi | |
# switch windows alt+number | |
bind-key -n M-1 select-window -t 1 | |
bind-key -n M-2 select-window -t 2 | |
bind-key -n M-3 select-window -t 3 | |
bind-key -n M-4 select-window -t 4 | |
bind-key -n M-5 select-window -t 5 | |
bind-key -n M-6 select-window -t 6 |
This file contains 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
// ---- | |
// Sass (v3.4.7) | |
// Compass (v1.0.1) | |
// ---- | |
.parent { | |
$color: red; | |
.son { | |
$color: black; | |
color: $color; |
This file contains 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
class UIImage | |
def crop_at(rect) | |
UIGraphicsBeginImageContext(rect.size) | |
context = UIGraphicsGetCurrentContext() | |
clipped_rect = CGRectMake(0, 0, rect.size.width, rect.size.height) | |
CGContextClipToRect( context, clipped_rect) | |
draw_rect = CGRectMake(rect.origin.x * -1, | |
rect.origin.y * -1, |
This file contains 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
class UITextField | |
alias_method :text_signal, :rac_textSignal | |
end | |
class UIActionSheet | |
alias_method :button_signal, :rac_buttonClickedSignal | |
end | |
class UIControl | |
alias_method :event_signal, :rac_signalForControlEvents |
OlderNewer