From 1b29b2b6b450e0e759c43c9d68803ca14c437ce8 Mon Sep 17 00:00:00 2001 From: Jason Bandy Date: Tue, 5 Sep 2017 17:00:46 -0500 Subject: [PATCH 1/3] Adding a xcproject that targets a framework for Carthage support --- ConfettiView.xcodeproj/project.pbxproj | 345 ++++++++++++++++++ .../contents.xcworkspacedata | 7 + .../{Classes => }/ConfettiLayer.swift | 0 ConfettiView/ConfettiView.h | 19 + ConfettiView/{Classes => }/ConfettiView.swift | 0 ConfettiView/Info.plist | 24 ++ ConfettiView/{Classes => }/ShapeView.swift | 0 7 files changed, 395 insertions(+) create mode 100644 ConfettiView.xcodeproj/project.pbxproj create mode 100644 ConfettiView.xcodeproj/project.xcworkspace/contents.xcworkspacedata rename ConfettiView/{Classes => }/ConfettiLayer.swift (100%) create mode 100644 ConfettiView/ConfettiView.h rename ConfettiView/{Classes => }/ConfettiView.swift (100%) create mode 100644 ConfettiView/Info.plist rename ConfettiView/{Classes => }/ShapeView.swift (100%) diff --git a/ConfettiView.xcodeproj/project.pbxproj b/ConfettiView.xcodeproj/project.pbxproj new file mode 100644 index 0000000..38f9275 --- /dev/null +++ b/ConfettiView.xcodeproj/project.pbxproj @@ -0,0 +1,345 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 48; + objects = { + +/* Begin PBXBuildFile section */ + 05C721471F5F54980065894F /* ConfettiView.h in Headers */ = {isa = PBXBuildFile; fileRef = 05C721451F5F54980065894F /* ConfettiView.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 05C721501F5F550A0065894F /* ConfettiLayer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 05C7214D1F5F550A0065894F /* ConfettiLayer.swift */; }; + 05C721511F5F550A0065894F /* ConfettiView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 05C7214E1F5F550A0065894F /* ConfettiView.swift */; }; + 05C721521F5F550A0065894F /* ShapeView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 05C7214F1F5F550A0065894F /* ShapeView.swift */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + 05C721421F5F54980065894F /* ConfettiView.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = ConfettiView.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 05C721451F5F54980065894F /* ConfettiView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ConfettiView.h; sourceTree = ""; }; + 05C721461F5F54980065894F /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 05C7214D1F5F550A0065894F /* ConfettiLayer.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ConfettiLayer.swift; sourceTree = ""; }; + 05C7214E1F5F550A0065894F /* ConfettiView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ConfettiView.swift; sourceTree = ""; }; + 05C7214F1F5F550A0065894F /* ShapeView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ShapeView.swift; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 05C7213E1F5F54980065894F /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 05C721381F5F54980065894F = { + isa = PBXGroup; + children = ( + 05C721441F5F54980065894F /* ConfettiView */, + 05C721431F5F54980065894F /* Products */, + ); + sourceTree = ""; + }; + 05C721431F5F54980065894F /* Products */ = { + isa = PBXGroup; + children = ( + 05C721421F5F54980065894F /* ConfettiView.framework */, + ); + name = Products; + sourceTree = ""; + }; + 05C721441F5F54980065894F /* ConfettiView */ = { + isa = PBXGroup; + children = ( + 05C721531F5F550F0065894F /* Classes */, + 05C721451F5F54980065894F /* ConfettiView.h */, + 05C721461F5F54980065894F /* Info.plist */, + ); + path = ConfettiView; + sourceTree = ""; + }; + 05C721531F5F550F0065894F /* Classes */ = { + isa = PBXGroup; + children = ( + 05C7214D1F5F550A0065894F /* ConfettiLayer.swift */, + 05C7214E1F5F550A0065894F /* ConfettiView.swift */, + 05C7214F1F5F550A0065894F /* ShapeView.swift */, + ); + name = Classes; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXHeadersBuildPhase section */ + 05C7213F1F5F54980065894F /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 05C721471F5F54980065894F /* ConfettiView.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXHeadersBuildPhase section */ + +/* Begin PBXNativeTarget section */ + 05C721411F5F54980065894F /* ConfettiView */ = { + isa = PBXNativeTarget; + buildConfigurationList = 05C7214A1F5F54980065894F /* Build configuration list for PBXNativeTarget "ConfettiView" */; + buildPhases = ( + 05C7213D1F5F54980065894F /* Sources */, + 05C7213E1F5F54980065894F /* Frameworks */, + 05C7213F1F5F54980065894F /* Headers */, + 05C721401F5F54980065894F /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = ConfettiView; + productName = ConfettiView; + productReference = 05C721421F5F54980065894F /* ConfettiView.framework */; + productType = "com.apple.product-type.framework"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 05C721391F5F54980065894F /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0900; + ORGANIZATIONNAME = ConfettiView; + TargetAttributes = { + 05C721411F5F54980065894F = { + CreatedOnToolsVersion = 9.0; + LastSwiftMigration = 0900; + ProvisioningStyle = Automatic; + }; + }; + }; + buildConfigurationList = 05C7213C1F5F54980065894F /* Build configuration list for PBXProject "ConfettiView" */; + compatibilityVersion = "Xcode 8.0"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = 05C721381F5F54980065894F; + productRefGroup = 05C721431F5F54980065894F /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 05C721411F5F54980065894F /* ConfettiView */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 05C721401F5F54980065894F /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 05C7213D1F5F54980065894F /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 05C721521F5F550A0065894F /* ShapeView.swift in Sources */, + 05C721511F5F550A0065894F /* ConfettiView.swift in Sources */, + 05C721501F5F550A0065894F /* ConfettiLayer.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin XCBuildConfiguration section */ + 05C721481F5F54980065894F /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGN_IDENTITY = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 11.0; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + 05C721491F5F54980065894F /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGN_IDENTITY = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 11.0; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = iphoneos; + SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + 05C7214B1F5F54980065894F /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_MODULES = YES; + CODE_SIGN_IDENTITY = ""; + CODE_SIGN_STYLE = Automatic; + DEFINES_MODULE = YES; + DEVELOPMENT_TEAM = ""; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = ConfettiView/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = com.ConfettiView; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + SKIP_INSTALL = YES; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 4.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + 05C7214C1F5F54980065894F /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_MODULES = YES; + CODE_SIGN_IDENTITY = ""; + CODE_SIGN_STYLE = Automatic; + DEFINES_MODULE = YES; + DEVELOPMENT_TEAM = ""; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = ConfettiView/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = com.ConfettiView; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + SKIP_INSTALL = YES; + SWIFT_VERSION = 4.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 05C7213C1F5F54980065894F /* Build configuration list for PBXProject "ConfettiView" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 05C721481F5F54980065894F /* Debug */, + 05C721491F5F54980065894F /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 05C7214A1F5F54980065894F /* Build configuration list for PBXNativeTarget "ConfettiView" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 05C7214B1F5F54980065894F /* Debug */, + 05C7214C1F5F54980065894F /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 05C721391F5F54980065894F /* Project object */; +} diff --git a/ConfettiView.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/ConfettiView.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..4c79116 --- /dev/null +++ b/ConfettiView.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/ConfettiView/Classes/ConfettiLayer.swift b/ConfettiView/ConfettiLayer.swift similarity index 100% rename from ConfettiView/Classes/ConfettiLayer.swift rename to ConfettiView/ConfettiLayer.swift diff --git a/ConfettiView/ConfettiView.h b/ConfettiView/ConfettiView.h new file mode 100644 index 0000000..765aaa9 --- /dev/null +++ b/ConfettiView/ConfettiView.h @@ -0,0 +1,19 @@ +// +// ConfettiView.h +// ConfettiView +// +// Created by Bandy Jason on 9/5/17. +// Copyright © 2017 ConfettiView. All rights reserved. +// + +#import + +//! Project version number for ConfettiView. +FOUNDATION_EXPORT double ConfettiViewVersionNumber; + +//! Project version string for ConfettiView. +FOUNDATION_EXPORT const unsigned char ConfettiViewVersionString[]; + +// In this header, you should import all the public headers of your framework using statements like #import + + diff --git a/ConfettiView/Classes/ConfettiView.swift b/ConfettiView/ConfettiView.swift similarity index 100% rename from ConfettiView/Classes/ConfettiView.swift rename to ConfettiView/ConfettiView.swift diff --git a/ConfettiView/Info.plist b/ConfettiView/Info.plist new file mode 100644 index 0000000..1007fd9 --- /dev/null +++ b/ConfettiView/Info.plist @@ -0,0 +1,24 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0 + CFBundleVersion + $(CURRENT_PROJECT_VERSION) + NSPrincipalClass + + + diff --git a/ConfettiView/Classes/ShapeView.swift b/ConfettiView/ShapeView.swift similarity index 100% rename from ConfettiView/Classes/ShapeView.swift rename to ConfettiView/ShapeView.swift From 3a9cade644454ea40928a914f5cc3f5f7f93ec3f Mon Sep 17 00:00:00 2001 From: Jason Bandy Date: Tue, 5 Sep 2017 17:03:35 -0500 Subject: [PATCH 2/3] Whoops forgot to make the scheme shared >_< --- .../xcschemes/ConfettiView.xcscheme | 82 +++++++++++++++++++ 1 file changed, 82 insertions(+) create mode 100644 ConfettiView.xcodeproj/xcshareddata/xcschemes/ConfettiView.xcscheme diff --git a/ConfettiView.xcodeproj/xcshareddata/xcschemes/ConfettiView.xcscheme b/ConfettiView.xcodeproj/xcshareddata/xcschemes/ConfettiView.xcscheme new file mode 100644 index 0000000..1e32e4f --- /dev/null +++ b/ConfettiView.xcodeproj/xcshareddata/xcschemes/ConfettiView.xcscheme @@ -0,0 +1,82 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From 5468d029b69cbfc6b8ec1f50af40e24bba257e6a Mon Sep 17 00:00:00 2001 From: Jason Bandy Date: Mon, 18 Sep 2017 15:25:05 -0500 Subject: [PATCH 3/3] Adding Readme to the project and editing it to include Carthage installation instructions. --- ConfettiView.xcodeproj/project.pbxproj | 2 ++ README.md | 11 +++++++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/ConfettiView.xcodeproj/project.pbxproj b/ConfettiView.xcodeproj/project.pbxproj index 38f9275..1ca68ca 100644 --- a/ConfettiView.xcodeproj/project.pbxproj +++ b/ConfettiView.xcodeproj/project.pbxproj @@ -14,6 +14,7 @@ /* End PBXBuildFile section */ /* Begin PBXFileReference section */ + 059E63741F705FA000945630 /* README.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = SOURCE_ROOT; }; 05C721421F5F54980065894F /* ConfettiView.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = ConfettiView.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 05C721451F5F54980065894F /* ConfettiView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ConfettiView.h; sourceTree = ""; }; 05C721461F5F54980065894F /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; @@ -52,6 +53,7 @@ 05C721441F5F54980065894F /* ConfettiView */ = { isa = PBXGroup; children = ( + 059E63741F705FA000945630 /* README.md */, 05C721531F5F550F0065894F /* Classes */, 05C721451F5F54980065894F /* ConfettiView.h */, 05C721461F5F54980065894F /* Info.plist */, diff --git a/README.md b/README.md index 3551d77..9f8969d 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,7 @@ ![](http://i.imgur.com/kQqv0mb.png) [![Version](https://img.shields.io/cocoapods/v/ConfettiView.svg?style=flat)](http://cocoapods.org/pods/ConfettiView) +[![Carthage Compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage) [![License](https://img.shields.io/cocoapods/l/ConfettiView.svg?style=flat)](http://cocoapods.org/pods/ConfettiView) [![Swift 3.0](https://img.shields.io/badge/Swift-3.0-orange.svg?style=flat)](https://swift.org/) [![Platform](https://img.shields.io/cocoapods/p/ConfettiView.svg?style=flat)](http://cocoapods.org/pods/ConfettiView) @@ -46,12 +47,18 @@ By default the animation starts when the view is initialized ## Installation -ConfettiView is available through [CocoaPods](http://cocoapods.org). To install -it, simply add the following line to your Podfile: +ConfettiView is available through [CocoaPods](http://cocoapods.org) and [Carthage](https://github.com/Carthage/Carthage). + +To install: +Using CocoaPods simply add the following line to your Podfile: ```ruby pod "ConfettiView" ``` +Using Carthage add the following to your Cartfile: +```ruby +github "OrRon/ConfettiView" +``` ## Author