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
// | |
// KFEmbeddedContainerSegue.h | |
// | |
// Created by Rico Becker on 18.07.13. | |
// Copyright (c) 2013 KF Interactive. All rights reserved. | |
// | |
#import <UIKit/UIKit.h> | |
@interface KFEmbeddedContainerSegue : UIStoryboardSegue |
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 = "OpenWeatherMapAPI" | |
s.version = "0.0.5" | |
s.summary = "A simple api for getting data from http://openweathermap.org." | |
s.homepage = "https://github.com/ricobeck/OpenWeatherMapAPI.git" | |
s.license = { :type => 'MIT', :file => 'LICENSE'} | |
s.author = { "Adrian Bak" => "valinorsgatekeeper@gmail.com" } | |
s.ios.deployment_target = "5.1" | |
s.osx.deployment_target = "10.7" | |
s.source = { :git => "https://github.com/ricobeck/OpenWeatherMapAPI.git", :tag => s.version.to_s } |
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
buildNumber=`expr $(git rev-list HEAD | wc -l) + 1` | |
/usr/libexec/PlistBuddy -c "Set :CFBundleVersion $buildNumber" "${PROJECT_DIR}/${INFOPLIST_FILE}" |
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
- (void)checkCocoaPodsVersion | |
{ | |
DSUnixShellTask *task = [DSUnixTaskSubProcessManager shellTask]; | |
[[DSUnixTaskSubProcessManager sharedManager] setLoggingEnabled:YES]; | |
[task setCommand:@"pod"]; | |
[task setArguments:@[@"--version"]]; | |
[task setStandardErrorHandler:^(DSUnixTask *task, NSString *error) | |
{ | |
NSLog(@"DSUnixTask error: %@", 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
- (void)checkCocoaPodsVersion | |
{ | |
NSTask *task = [[NSTask alloc] init]; | |
NSPipe *output = [NSPipe pipe]; | |
output.fileHandleForReading.readabilityHandler = ^ (NSFileHandle *fileHandle) | |
{ | |
NSData *data = [fileHandle availableData]; | |
NSLog(@"read: %@", [[NSString alloc] initWithData:data encoding:NSUTF8StringEncoding]); | |
}; |
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
Zairnd:~ rick$ pod ipc repl | |
version: '0.28.0' | |
spec /Users/rick/.cocoapods/repos/master/Grand Object Dispatch/0.5.0/Grand Object Dispatch.podspec | |
[!] No podspec exists at path `/Users/rick/.cocoapods/repos/master/Grand`. |
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 = "Sparkle" | |
s.version = "0.1.0" | |
s.summary = "A software update framework for the Mac" | |
s.description = <<-DESC | |
Sparkle is an easy-to-use software update framework for Cocoa developers. | |
* True self-updating--no work required from the user. | |
* Displays release notes to the user via WebKit. | |
* Displays a detailed progress window to the user. |
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
// | |
// NWLocationWeatherViewController.m | |
// NextWeather | |
// | |
// Created by rick on 03/04/14. | |
// Copyright (c) 2014 KF Interactive. All rights reserved. | |
// | |
#import "NWLocationWeatherViewController.h" | |
#import "NWLocationWeatherViewModel.h" |
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
post_install do |installer| | |
require 'fileutils' | |
FileUtils.mkdir_p 'APPNAME/Resources/Acknowledgements' | |
FileUtils.copy('Pods/Pods-APPNAME-acknowledgements.plist', 'APPNAME/Resources/Acknowledgements/Acknowledgements.plist') | |
end |
OlderNewer