Skip to content
This repository has been archived by the owner on Jan 7, 2020. It is now read-only.

Commit

Permalink
Merge pull request #40 from Karumi/appkit-support
Browse files Browse the repository at this point in the history
Appkit support
  • Loading branch information
davideme committed Mar 2, 2016
2 parents 669173b + de40fd0 commit 87905d0
Show file tree
Hide file tree
Showing 8 changed files with 597 additions and 10 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ install:

script:
- swiftlint
- set -o pipefail && xcodebuild -workspace BothamNetworking.xcworkspace -scheme 'BothamNetworking' -destination 'platform=iOS Simulator,name=iPhone 6s Plus' build test CODE_SIGN_IDENTITY=- | xcpretty -c
- set -o pipefail && xcodebuild -workspace BothamNetworking.xcworkspace -scheme 'BothamNetworking' -destination 'platform=iOS Simulator,name=iPhone 6s Plus' build test CODE_SIGN_IDENTITY=- | xcpretty -c
- set -o pipefail && xcodebuild -workspace BothamNetworking.xcworkspace -scheme 'BothamNetworkingCocoa' build test | xcpretty -c
1 change: 1 addition & 0 deletions BothamNetworking.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Pod::Spec.new do |s|
s.source = { :git => 'https://github.com/Karumi/BothamNetworking.git', :tag => s.version }

s.ios.deployment_target = '8.0'
s.osx.deployment_target = '10.10'

s.source_files = 'BothamNetworking/*.swift'
s.requires_arc = true
Expand Down
405 changes: 399 additions & 6 deletions BothamNetworking.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0720"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "6BC01CE61C6E4BE700D08E72"
BuildableName = "BothamNetworking.framework"
BlueprintName = "BothamNetworkingCocoa"
ReferencedContainer = "container:BothamNetworking.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "6BC01CEF1C6E4BE800D08E72"
BuildableName = "BothamNetworkingCocoaTests.xctest"
BlueprintName = "BothamNetworkingCocoaTests"
ReferencedContainer = "container:BothamNetworking.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "6BC01CE61C6E4BE700D08E72"
BuildableName = "BothamNetworking.framework"
BlueprintName = "BothamNetworkingCocoa"
ReferencedContainer = "container:BothamNetworking.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "6BC01CE61C6E4BE700D08E72"
BuildableName = "BothamNetworking.framework"
BlueprintName = "BothamNetworkingCocoa"
ReferencedContainer = "container:BothamNetworking.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "6BC01CE61C6E4BE700D08E72"
BuildableName = "BothamNetworking.framework"
BlueprintName = "BothamNetworkingCocoa"
ReferencedContainer = "container:BothamNetworking.xcodeproj">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
17 changes: 17 additions & 0 deletions BothamNetworkingCocoa/BothamNetworkingCocoa.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
//
// BothamNetworking.h
// BothamNetworking
//
// Created by Pedro Vicente Gomez on 20/11/15.
// Copyright © 2015 GoKarumi S.L. All rights reserved.
//

#import <Cocoa/Cocoa.h>

//! Project version number for BothamNetworking.
FOUNDATION_EXPORT double BothamNetworkingVersionNumber;

//! Project version string for BothamNetworking.
FOUNDATION_EXPORT const unsigned char BothamNetworkingVersionString[];

// In this header, you should import all the public headers of your framework using statements like #import <BothamNetworking/PublicHeader.h>
28 changes: 28 additions & 0 deletions BothamNetworkingCocoa/Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2016 GoKarumi S.L. All rights reserved.</string>
<key>NSPrincipalClass</key>
<string></string>
</dict>
</plist>
24 changes: 24 additions & 0 deletions BothamNetworkingCocoaTests/Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1</string>
</dict>
</plist>
30 changes: 27 additions & 3 deletions Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,34 @@ workspace 'BothamNetworking.xcworkspace'
xcodeproj 'BothamNetworking.xcodeproj'
use_frameworks!

pod "Result"
pod "SwiftyJSON"
def framework_pods
pod "Result"
pod "SwiftyJSON"
end

target 'BothamNetworkingTests' do
def testing_pods
pod "Nimble"
pod "Nocilla"
end

target 'BothamNetworking' do
platform :ios, '8.0'
framework_pods
testing_pods
end

target 'BothamNetworkingTests' do
framework_pods
testing_pods
end

target 'BothamNetworkingCocoa' do
platform :osx, '10.10'
framework_pods
end

target 'BothamNetworkingCocoaTests' do
platform :osx, '10.10'
framework_pods
testing_pods
end

0 comments on commit 87905d0

Please sign in to comment.