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
extension Argo.Decodable where Self.DecodedType == Self, Self: OperaDecodable { | |
static func decode(json: AnyObject) throws -> Self { | |
let decoded = decode(JSON.parse(json)) | |
switch decoded { | |
case .Success(let value): | |
return value | |
case .Failure(let error): | |
throw error | |
} |
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
Pod::Spec.new do |s| | |
s.name = 'MCSwipeTableViewCell' | |
s.version = '1.1.1' | |
s.author = { 'Ali Karagoz' => 'mail@alikaragoz.net' } | |
s.homepage = 'https://github.com/alikaragoz/MCSwipeTableViewCell' | |
s.summary = 'Mailbox app style UITableViewCell.' | |
s.license = 'MIT' | |
s.source = { :git => 'https://github.com/mtnbarreto/MCSwipeTableViewCell.git', :branch => 'preventGesture' } | |
s.source_files = 'MCSwipeTableViewCell' | |
s.platform = :ios |
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
require 'rake' | |
Pod::Spec.new do |s| | |
s.name = "XLKit" | |
s.version = "0.2.1" | |
s.license = { | |
:type => 'Copyright', | |
:text => <<-LICENSE | |
Copyright 2014 Xmartlabs. All rights reserved. |