Skip to content

Instantly share code, notes, and snippets.

View palmtrae's full-sized avatar
♠️

Fredrik Palm palmtrae

♠️
  • Vitec Appva AB
  • Skövde, Sweden
View GitHub Profile
@palmtrae
palmtrae / TcpConnector.m
Created December 18, 2013 14:15
Singleton
+ (instancetype)sharedConnector
{
static TcpConnector * sharedConnector;
static dispatch_once_t onceToken;
dispatch_once(&onceToken, ^{
sharedConnector = [TcpConnector new];
});
return sharedConnector;
Pod::Spec.new do |s|
s.name = 'ShareKit'
s.version = '2.2'
s.platform = :ios, '5.0'
s.summary = 'Drop in sharing features for all iPhone and iPad apps.'
s.homepage = 'http://getsharekit.com/'
s.author = 'ShareKit Community'
s.source = { :git => 'https://github.com/ShareKit/ShareKit.git' }
s.license = { :type => 'MIT',
:text => %Q|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 copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n| +