I hereby claim:
- I am colinta on github.
- I am colinta (https://keybase.io/colinta) on keybase.
- I have a public key whose fingerprint is 9D4B CE9E B76B BF4F 2A5F AFEA 6EE1 8731 A2F0 8619
To claim this, I am signing this object:
class AppDelegate | |
def application(application, didFinishLaunchingWithOptions:launchOptions) | |
@window = UIWindow.alloc.initWithFrame(UIScreen.mainScreen.bounds) | |
first = UINavigationController.alloc.initWithRootViewController(RootController.new) | |
first.pushViewController(TestController.new, animated: false) | |
first.pushViewController(TestController.new, animated: false) | |
first.pushViewController(WorkingController.new, animated: false) | |
@window.rootViewController = first | |
@window.makeKeyAndVisible | |
true |
I hereby claim:
To claim this, I am signing this object:
class FadeAnimator | |
# FadeAnimator.new(true) when you are presenting, FadeAnimator.new(false) when | |
# you are dismissing. Or you could introspec the 'from_ctlr/to_ctlr' | |
# variables below. | |
def initialize(presenting) | |
@presenting = presenting | |
end | |
def transitionDuration(transition_context) |
diff --git a/vendor/Parse.framework/Versions/1.2.18/Headers/PFObject.h b/vendor/Parse.framework/Versions/1.2.18/Headers/PFObject.h | |
index d6e9004..f2153f7 100644 | |
--- a/vendor/Parse.framework/Versions/1.2.18/Headers/PFObject.h | |
+++ b/vendor/Parse.framework/Versions/1.2.18/Headers/PFObject.h | |
@@ -114,33 +114,33 @@ NS_REQUIRES_PROPERTY_DEFINITIONS | |
@param key The key that the object is associated with. | |
@result The value associated with the given key, or nil if no value is associated with key. | |
*/ | |
-- (id)objectForKey:(NSString *)key; | |
+- (id)objectForKey:(id)key; |
class DetailLayout < MotionKit::Layout | |
def layout | |
background_color '#ff9900'.uicolor | |
add UIScrollView, :scroll do | |
content_size [500, 1500] | |
add UIView, :content_view do |
class AppDelegate | |
def application(application, didFinishLaunchingWithOptions:launchOptions) | |
@window = UIWindow.alloc.initWithFrame(UIScreen.mainScreen.bounds) | |
@window.rootViewController = MyController.new | |
@window.makeKeyAndVisible | |
true | |
end | |
end | |
ant debug && adb install -r bin/MyFirstAndroidApp-debug.apk | |
Buildfile: /Users/colinta/Code/android/MyFirstAndroidApp/build.xml | |
-set-mode-check: | |
-set-debug-files: | |
-check-env: | |
[checkenv] Android SDK Tools Revision 22.3.0 | |
[checkenv] Installed at /Library/android/sdk |
AndroidXml.setup do | |
root do | |
defaults 'xmlns:android' => 'http://schemas.android.com/apk/res/android' | |
end | |
tag :manifest do | |
tag :package => 'package' | |
end | |
tag :main_action => 'action' do | |
defaults name: 'android.intent.action.MAIN' | |
end |
class AndroidTag | |
attr_accessor :is_root | |
def initialize(tag, *args, &block) | |
@buffer = [] | |
@attrs = {} | |
@raw_tag = tag.to_s | |
if rename = AndroidXml.tags[tag.to_s][:rename] | |
@tag = rename | |
else |
def layout | |
@users.each do |user| | |
add UIView, :container do | |
add UILabel, :username | |
add UIImageView, :image | |
end | |
end | |
end | |
def container_style |