Skip to content

Commit

Permalink
Merge pull request #33 from regexident/framework
Browse files Browse the repository at this point in the history
Added shared framework target to support Carthage.
  • Loading branch information
tomvanzummeren committed Sep 7, 2015
2 parents eedfdc0 + 0a00834 commit aaef1db
Show file tree
Hide file tree
Showing 20 changed files with 359 additions and 70 deletions.
2 changes: 1 addition & 1 deletion TZStackView.podspec
Expand Up @@ -9,5 +9,5 @@ Pod::Spec.new do |s|
s.requires_arc = true
s.ios.deployment_target = "8.0"
s.source = { :git => "https://github.com/tomvanzummeren/TZStackView.git", :tag => "1.1.0"}
s.source_files = "TZStackView/Framework/*.swift"
s.source_files = "TZStackView/*.swift"
end
257 changes: 204 additions & 53 deletions TZStackView.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

80 changes: 80 additions & 0 deletions TZStackView.xcodeproj/xcshareddata/xcschemes/TZStackView.xcscheme
@@ -0,0 +1,80 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0700"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "A45441BE1B9B6D71002452BA"
BuildableName = "TZStackView.framework"
BlueprintName = "TZStackView"
ReferencedContainer = "container:TZStackView.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
<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 = "A45441BE1B9B6D71002452BA"
BuildableName = "TZStackView.framework"
BlueprintName = "TZStackView"
ReferencedContainer = "container:TZStackView.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "A45441BE1B9B6D71002452BA"
BuildableName = "TZStackView.framework"
BlueprintName = "TZStackView"
ReferencedContainer = "container:TZStackView.xcodeproj">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
20 changes: 4 additions & 16 deletions TZStackView/Info.plist
Expand Up @@ -13,26 +13,14 @@
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>armv7</string>
</array>
<key>UIStatusBarStyle</key>
<string>UIStatusBarStyleLightContent</string>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
</array>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSPrincipalClass</key>
<string></string>
</dict>
</plist>
File renamed without changes.
19 changes: 19 additions & 0 deletions TZStackView/TZStackView.h
@@ -0,0 +1,19 @@
//
// TZStackView.h
// TZStackView
//
// Created by Vincent Esche on 9/5/15.
// Copyright © 2015 Tom van Zummeren. All rights reserved.
//

#import <UIKit/UIKit.h>

//! Project version number for TZStackView.
FOUNDATION_EXPORT double TZStackViewVersionNumber;

//! Project version string for TZStackView.
FOUNDATION_EXPORT const unsigned char TZStackViewVersionString[];

// In this header, you should import all the public headers of your framework using statements like #import <TZStackView/PublicHeader.h>


File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
38 changes: 38 additions & 0 deletions TZStackViewDemo/Info.plist
@@ -0,0 +1,38 @@
<?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>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>armv7</string>
</array>
<key>UIStatusBarStyle</key>
<string>UIStatusBarStyleLightContent</string>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
</array>
</dict>
</plist>
File renamed without changes.
Expand Up @@ -8,6 +8,8 @@

import UIKit

import TZStackView

class ViewController: UIViewController {
//MARK: - Properties
//--------------------------------------------------------------------------
Expand Down
2 changes: 2 additions & 0 deletions TZStackViewTests/TZStackViewTestCase.swift
Expand Up @@ -9,6 +9,8 @@
import Foundation
import XCTest

import TZStackView

func delay(delay:Double, closure:()->()) {
dispatch_after(
dispatch_time(
Expand Down
2 changes: 2 additions & 0 deletions TZStackViewTests/TZStackViewTests.swift
Expand Up @@ -9,6 +9,8 @@
import UIKit
import XCTest

import TZStackView

class TZStackViewTests: TZStackViewTestCase {

override func createTestViews() -> [UIView] {
Expand Down
Binary file removed Tests/TZStackView/.DS_Store
Binary file not shown.

0 comments on commit aaef1db

Please sign in to comment.