I hereby claim:
- I am gekitz on github.
- I am gekitz (https://keybase.io/gekitz) on keybase.
- I have a public key whose fingerprint is 9F42 1470 F4EB 8B9E 8984 A6C3 3320 A90A 9784 0D27
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
- (BOOL)twitterAuthorized { | |
ACAccountStore *store = [ACAccountStore new]; | |
ACAccountType *accountType = [store | |
accountTypeWithAccountTypeIdentifier:ACAccountTypeIdentifierTwitter]; | |
return [accountType accessGranted]; | |
} |
class GKTextAlertContentView: UIView { | |
@IBOutlet var titleLabel: UILabel! | |
@IBOutlet var textLabel: UILabel! | |
@IBOutlet var textField: UITextField! | |
@IBOutlet var submitButton: UIButton! | |
override func intrinsicContentSize() -> CGSize { | |
let titleSize = titleLabel.intrinsicContentSize() |
override func addSubview(view: UIView) { | |
//for some reason view could also be nil, | |
//even though it's not an optional | |
let possibleNilView:UIView? = view as UIView? | |
if let v = possibleNilView? { | |
if v.dynamicType.description() == "_" + "UITableViewCell" + "SeparatorView" { | |
return | |
} |
{ | |
"created": "2017-02-24T12:53:56.369+01:00", | |
"id": 0, | |
"started": "2017-02-27T09:27:46.279+01:00", | |
"updated": "2017-02-24T12:53:56.369+01:00", | |
"user": 14, | |
"uuid": "e5cba7d9-bca9-40ce-8ad7-b953c2996c3a", | |
"hq_work_end": "2017-02-27T09:27:54.047+01:00", | |
"hq_work_start": "2017-02-27T09:27:46.279+01:00" | |
} |
// | |
// TooltipView.swift | |
// Customizable Tooltips | |
// | |
// Copyright © 2017 Simon Wuyts | |
// | |
// Permission is hereby granted, free of charge, to any person obtaining a copy | |
// of this software and associated documentation files (the "Software"), to deal | |
// in the Software without restriction, including without limitation the rights | |
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Sample Site</title> | |
<!-- Script for showing/hiding thte modal --> | |
<script> | |
window.onload = function() { | |
// check if user uses a mobile device |