So given the decimal 109268.27107118553088
the result is:
integer: 0
int: 109268
uint: 109268
unsigned integer: 0
Pod::Spec.new do |s| | |
s.name = 'BLEFramework' | |
s.version = '1.4' | |
s.summary = 'The Buzz Flashing Glassware framework allows you to activate your Buzz Celebration Drinkware from your mobile device.' | |
s.homepage = 'http://www.buzzproducts.com/flashingcup/' | |
s.author = { 'Buzz Products' => '[email protected]' } | |
s.source = { :path => 'BLEFramework' } | |
s.social_media_url = 'https://twitter.com/buzzproducts' | |
s.ios.deployment_target = '8.0' |
extension NSUUID { | |
static var zero: NSUUID { | |
var bytes = [UInt8](count: 16, repeatedValue: 0) | |
return NSUUID(UUIDBytes: &bytes) | |
} | |
} |
import UIKit | |
extension UIResponder { | |
private weak static var _currentFirstResponder: UIResponder? | |
static var currentFirstResponder: UIResponder? { | |
get { | |
_currentFirstResponder = nil | |
UIApplication.sharedApplication().sendAction(#selector(findFirstResponder), to: nil, from: nil, forEvent: nil) |
extension Optional: BooleanType { | |
public var boolValue: Bool { | |
switch self { | |
case .Some(let value) where !(value is Bool): | |
return true | |
case .Some(let value as Bool) where value: | |
return true | |
default: | |
return false |
import Foundation | |
extension NSDate { | |
class func dateFromISO8601String(string: String?) -> NSDate? { | |
guard let string = string else { | |
return nil | |
} | |
var tm = Darwin.tm() |
// | |
// NSAttributedString+HTMLStyle.h | |
// QRContentMobilizer | |
// | |
// Created by Wojciech Czekalski on 22.03.2014. | |
// Copyright (c) 2014 Wojciech Czekalski. All rights reserved. | |
// | |
#import <Foundation/Foundation.h> |
/* Brightness.swift -- Set brightness based on hour | |
This file is part of brightness. | |
Brightness is free software: you can redistribute it and/or modify | |
it under the terms of the GNU General Public License as published by | |
the Free Software Foundation, either version 3 of the License, or | |
(at your option) any later version. | |
Brightness is distributed in the hope that it will be useful, | |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
// | |
// Array+Operators.swift | |
// | |
// | |
// Created by Rob Nadin on 08/01/2016. | |
// Copyright © 2016 Rob Nadin. All rights reserved. | |
// | |
import Foundation |