I hereby claim:
- I am rommeltj on github.
- I am rommelrico (https://keybase.io/rommelrico) on keybase.
- I have a public key ASBrGNi8uVBo0mc9m7FlJsQANFdR2vLmdhUSSt__qQbekwo
To claim this, I am signing this object:
// | |
// ViewController.m | |
// D21Background | |
// | |
// Created by Rommel Rico on 2/5/15. | |
// Copyright (c) 2015 Rommel Rico. All rights reserved. | |
// | |
#import "ViewController.h" |
// | |
// DynamicNotificationController.swift | |
// NotificationDemo | |
// | |
// Created by Rommel Rico on 4/20/15. | |
// Copyright (c) 2015 Rommel Rico. All rights reserved. | |
// | |
import WatchKit | |
import Foundation |
WKInterfaceController.openParentApplication(["content": "isLoggedIn"], reply: { (reply, error) -> Void in | |
if let response = reply as? [String:String] { | |
if let loggedIn = response["loggedIn"] { | |
if loggedIn == "true" { | |
WKInterfaceController.openParentApplication(["content": "getMessages"], reply: { (reply, error) -> Void in | |
if let response = reply as? [String:[String]] { | |
if let messages = response["messages"] { | |
self.table.setHidden(false) | |
self.table.setNumberOfRows(messages.count, withRowType: "TableRowController") | |
FATAL EXCEPTION: main | |
java.lang.RuntimeException: Binary XML file line #20: You must supply a layout_height attribute. | |
at android.content.res.TypedArray.getLayoutDimension(TypedArray.java:491) | |
at android.view.ViewGroup$LayoutParams.setBaseAttributes(ViewGroup.java:5632) | |
at android.view.ViewGroup$LayoutParams.<init>(ViewGroup.java:5584) | |
at android.view.ViewGroup.generateLayoutParams(ViewGroup.java:4655) | |
at android.view.LayoutInflater.inflate(LayoutInflater.java:477) | |
at android.view.LayoutInflater.inflate(LayoutInflater.java:396) | |
at android.widget.ArrayAdapter.createViewFromResource(ArrayAdapter.java:371) | |
at android.widget.ArrayAdapter.getView(ArrayAdapter.java:362) |
protocol MyProtocol { | |
func doSomething() -> String | |
// factory | |
static func make() -> MyProtocol | |
} | |
typealias WidgetFactory = () -> MyProtocol | |
class WidgetA: MyProtocol { |
I hereby claim:
To claim this, I am signing this object:
{ | |
"public_identifier":"rommel-rico-29661363", | |
"profile_pic_url":"None", | |
"background_cover_image_url":"None", | |
"first_name":"Rommel", | |
"last_name":"Rico", | |
"full_name":"Rommel Rico", | |
"follower_count":419, | |
"occupation":"Team Lead, Engineer III at Chatmeter", | |
"headline":"Team Lead, Engineer III", |