From 29ba715c7a0e47f560e42446df0283caaadf68c3 Mon Sep 17 00:00:00 2001 From: Gio Andriadze Date: Thu, 28 Sep 2017 13:18:05 +0400 Subject: [PATCH] Initial Commit --- CircleLabel.podspec | 40 + CircleLabel/Assets/.gitkeep | 0 CircleLabel/Classes/.gitkeep | 0 CircleLabel/Classes/CircleLabel.swift | 172 ++++ Example/CircleLabel.xcodeproj/project.pbxproj | 617 +++++++++++++++ .../contents.xcworkspacedata | 7 + .../xcschemes/CircleLabel-Example.xcscheme | 117 +++ .../contents.xcworkspacedata | 10 + .../UserInterfaceState.xcuserstate | Bin 0 -> 27738 bytes Example/CircleLabel/AppDelegate.swift | 46 ++ .../CircleLabel/Base.lproj/LaunchScreen.xib | 41 + Example/CircleLabel/CircleLabel.swift | 174 ++++ Example/CircleLabel/CustomCell.swift | 27 + .../AppIcon.appiconset/Contents.json | 38 + Example/CircleLabel/Info.plist | 39 + Example/CircleLabel/Main.storyboard | 175 ++++ Example/CircleLabel/TableViewController.swift | 111 +++ Example/CircleLabel/ViewController.swift | 82 ++ Example/Podfile | 11 + Example/Podfile.lock | 16 + .../Local Podspecs/CircleLabel.podspec.json | 22 + Example/Pods/Manifest.lock | 16 + Example/Pods/Pods.xcodeproj/project.pbxproj | 749 ++++++++++++++++++ .../xcschemes/CircleLabel.xcscheme | 73 ++ .../Pods-CircleLabel_Example.xcscheme | 73 ++ .../xcschemes/Pods-CircleLabel_Tests.xcscheme | 73 ++ .../xcschemes/xcschememanagement.plist | 26 + .../CircleLabel/CircleLabel-dummy.m | 5 + .../CircleLabel/CircleLabel-prefix.pch | 12 + .../CircleLabel/CircleLabel-umbrella.h | 16 + .../CircleLabel/CircleLabel.modulemap | 6 + .../CircleLabel/CircleLabel.xcconfig | 10 + .../CircleLabel/Info.plist | 26 + .../Pods-CircleLabel_Example/Info.plist | 26 + ...cleLabel_Example-acknowledgements.markdown | 26 + ...CircleLabel_Example-acknowledgements.plist | 58 ++ .../Pods-CircleLabel_Example-dummy.m | 5 + .../Pods-CircleLabel_Example-frameworks.sh | 99 +++ .../Pods-CircleLabel_Example-resources.sh | 102 +++ .../Pods-CircleLabel_Example-umbrella.h | 16 + .../Pods-CircleLabel_Example.debug.xcconfig | 11 + .../Pods-CircleLabel_Example.modulemap | 6 + .../Pods-CircleLabel_Example.release.xcconfig | 11 + .../Pods-CircleLabel_Tests/Info.plist | 26 + ...ircleLabel_Tests-acknowledgements.markdown | 3 + ...s-CircleLabel_Tests-acknowledgements.plist | 29 + .../Pods-CircleLabel_Tests-dummy.m | 5 + .../Pods-CircleLabel_Tests-frameworks.sh | 92 +++ .../Pods-CircleLabel_Tests-resources.sh | 102 +++ .../Pods-CircleLabel_Tests-umbrella.h | 16 + .../Pods-CircleLabel_Tests.debug.xcconfig | 8 + .../Pods-CircleLabel_Tests.modulemap | 6 + .../Pods-CircleLabel_Tests.release.xcconfig | 8 + Example/Tests/Info.plist | 24 + Example/Tests/Tests.swift | 29 + LICENSE | 19 + Lib/CircleLabel.swift | 172 ++++ README.md | 89 +++ _Pods.xcodeproj | 1 + 59 files changed, 3819 insertions(+) create mode 100644 CircleLabel.podspec create mode 100644 CircleLabel/Assets/.gitkeep create mode 100644 CircleLabel/Classes/.gitkeep create mode 100644 CircleLabel/Classes/CircleLabel.swift create mode 100644 Example/CircleLabel.xcodeproj/project.pbxproj create mode 100644 Example/CircleLabel.xcodeproj/project.xcworkspace/contents.xcworkspacedata create mode 100644 Example/CircleLabel.xcodeproj/xcshareddata/xcschemes/CircleLabel-Example.xcscheme create mode 100644 Example/CircleLabel.xcworkspace/contents.xcworkspacedata create mode 100644 Example/CircleLabel.xcworkspace/xcuserdata/Gio.xcuserdatad/UserInterfaceState.xcuserstate create mode 100644 Example/CircleLabel/AppDelegate.swift create mode 100644 Example/CircleLabel/Base.lproj/LaunchScreen.xib create mode 100644 Example/CircleLabel/CircleLabel.swift create mode 100644 Example/CircleLabel/CustomCell.swift create mode 100644 Example/CircleLabel/Images.xcassets/AppIcon.appiconset/Contents.json create mode 100644 Example/CircleLabel/Info.plist create mode 100644 Example/CircleLabel/Main.storyboard create mode 100644 Example/CircleLabel/TableViewController.swift create mode 100644 Example/CircleLabel/ViewController.swift create mode 100644 Example/Podfile create mode 100644 Example/Podfile.lock create mode 100644 Example/Pods/Local Podspecs/CircleLabel.podspec.json create mode 100644 Example/Pods/Manifest.lock create mode 100644 Example/Pods/Pods.xcodeproj/project.pbxproj create mode 100644 Example/Pods/Pods.xcodeproj/xcuserdata/Gio.xcuserdatad/xcschemes/CircleLabel.xcscheme create mode 100644 Example/Pods/Pods.xcodeproj/xcuserdata/Gio.xcuserdatad/xcschemes/Pods-CircleLabel_Example.xcscheme create mode 100644 Example/Pods/Pods.xcodeproj/xcuserdata/Gio.xcuserdatad/xcschemes/Pods-CircleLabel_Tests.xcscheme create mode 100644 Example/Pods/Pods.xcodeproj/xcuserdata/Gio.xcuserdatad/xcschemes/xcschememanagement.plist create mode 100644 Example/Pods/Target Support Files/CircleLabel/CircleLabel-dummy.m create mode 100644 Example/Pods/Target Support Files/CircleLabel/CircleLabel-prefix.pch create mode 100644 Example/Pods/Target Support Files/CircleLabel/CircleLabel-umbrella.h create mode 100644 Example/Pods/Target Support Files/CircleLabel/CircleLabel.modulemap create mode 100644 Example/Pods/Target Support Files/CircleLabel/CircleLabel.xcconfig create mode 100644 Example/Pods/Target Support Files/CircleLabel/Info.plist create mode 100644 Example/Pods/Target Support Files/Pods-CircleLabel_Example/Info.plist create mode 100644 Example/Pods/Target Support Files/Pods-CircleLabel_Example/Pods-CircleLabel_Example-acknowledgements.markdown create mode 100644 Example/Pods/Target Support Files/Pods-CircleLabel_Example/Pods-CircleLabel_Example-acknowledgements.plist create mode 100644 Example/Pods/Target Support Files/Pods-CircleLabel_Example/Pods-CircleLabel_Example-dummy.m create mode 100755 Example/Pods/Target Support Files/Pods-CircleLabel_Example/Pods-CircleLabel_Example-frameworks.sh create mode 100755 Example/Pods/Target Support Files/Pods-CircleLabel_Example/Pods-CircleLabel_Example-resources.sh create mode 100644 Example/Pods/Target Support Files/Pods-CircleLabel_Example/Pods-CircleLabel_Example-umbrella.h create mode 100644 Example/Pods/Target Support Files/Pods-CircleLabel_Example/Pods-CircleLabel_Example.debug.xcconfig create mode 100644 Example/Pods/Target Support Files/Pods-CircleLabel_Example/Pods-CircleLabel_Example.modulemap create mode 100644 Example/Pods/Target Support Files/Pods-CircleLabel_Example/Pods-CircleLabel_Example.release.xcconfig create mode 100644 Example/Pods/Target Support Files/Pods-CircleLabel_Tests/Info.plist create mode 100644 Example/Pods/Target Support Files/Pods-CircleLabel_Tests/Pods-CircleLabel_Tests-acknowledgements.markdown create mode 100644 Example/Pods/Target Support Files/Pods-CircleLabel_Tests/Pods-CircleLabel_Tests-acknowledgements.plist create mode 100644 Example/Pods/Target Support Files/Pods-CircleLabel_Tests/Pods-CircleLabel_Tests-dummy.m create mode 100755 Example/Pods/Target Support Files/Pods-CircleLabel_Tests/Pods-CircleLabel_Tests-frameworks.sh create mode 100755 Example/Pods/Target Support Files/Pods-CircleLabel_Tests/Pods-CircleLabel_Tests-resources.sh create mode 100644 Example/Pods/Target Support Files/Pods-CircleLabel_Tests/Pods-CircleLabel_Tests-umbrella.h create mode 100644 Example/Pods/Target Support Files/Pods-CircleLabel_Tests/Pods-CircleLabel_Tests.debug.xcconfig create mode 100644 Example/Pods/Target Support Files/Pods-CircleLabel_Tests/Pods-CircleLabel_Tests.modulemap create mode 100644 Example/Pods/Target Support Files/Pods-CircleLabel_Tests/Pods-CircleLabel_Tests.release.xcconfig create mode 100644 Example/Tests/Info.plist create mode 100644 Example/Tests/Tests.swift create mode 100644 LICENSE create mode 100644 Lib/CircleLabel.swift create mode 100644 README.md create mode 120000 _Pods.xcodeproj diff --git a/CircleLabel.podspec b/CircleLabel.podspec new file mode 100644 index 0000000..b090f85 --- /dev/null +++ b/CircleLabel.podspec @@ -0,0 +1,40 @@ +# +# Be sure to run `pod lib lint CircleLabel.podspec' to ensure this is a +# valid spec before submitting. +# +# Any lines starting with a # are optional, but their use is encouraged +# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html +# + +Pod::Spec.new do |s| + s.name = 'CircleLabel' + s.version = '1.0.0' + s.summary = 'Labels with circle backgrounds' + + + + s.description = <<-DESC + Genererate labels with circle backgrounds. + Use text based color generator with custom schemes or choose your own color. + Library has full Storyboard integration. + DESC + + s.homepage = 'https://github.com/hoomazoid/CircleLabel' + s.screenshots = 'https://i.imgur.com/OX0ZniH.jpg' + s.license = { :type => 'MIT', :file => 'LICENSE' } + s.author = { 'Giorgi Andriadze' => 'g.andriadze2@gmail.com' } + s.source = { :git => 'https://github.com/hoomazoid/CircleLabel.git', :tag => s.version.to_s } + # s.social_media_url = 'https://twitter.com/' + + s.ios.deployment_target = '8.0' + + s.source_files = 'CircleLabel/Classes/**/*' + + # s.resource_bundles = { + # 'CircleLabel' => ['CircleLabel/Assets/*.png'] + # } + + # s.public_header_files = 'Pod/Classes/**/*.h' + # s.frameworks = 'UIKit', 'MapKit' + # s.dependency 'AFNetworking', '~> 2.3' +end diff --git a/CircleLabel/Assets/.gitkeep b/CircleLabel/Assets/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/CircleLabel/Classes/.gitkeep b/CircleLabel/Classes/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/CircleLabel/Classes/CircleLabel.swift b/CircleLabel/Classes/CircleLabel.swift new file mode 100644 index 0000000..cb80d23 --- /dev/null +++ b/CircleLabel/Classes/CircleLabel.swift @@ -0,0 +1,172 @@ +// +// CircularImageView.swift +// CircularText +// +// Created by Gio Andriadze on 9/27/17. +// Copyright © 2017 Casatrade Ltd. All rights reserved. +// + +import UIKit + +@IBDesignable +class CircleLabel : UIImageView +{ + static let DEFAULT_COLOR_SCHEME:[UInt32] = [ + 0xfff16364, + 0xfff58559, + 0xfff9a43e, + 0xffe4c62e, + 0xff67bf74, + 0xff59a2be, + 0xff2093cd, + 0xffad62a7, + 0xff805781 + ] + + var COLOR_SCHEME:[UInt32] = CircleLabel.DEFAULT_COLOR_SCHEME{ + didSet{ + setCircleAndText(); + } + } + + @IBInspectable var textColor:UIColor = UIColor.white{ + didSet{ + setCircleAndText() + } + } + + @IBInspectable var text:String = "" { + didSet{ + setCircleAndText() + } + } + @IBInspectable var colorFromText:String = ""{ + didSet{ + setCircleAndText() + } + } + @IBInspectable var padding:Float = 0.3{ + didSet{ + setCircleAndText() + } + } + + @IBInspectable var useTextColor:Bool = true{ + didSet{ + setCircleAndText() + } + } + + @IBInspectable var circleColor:UIColor = UIColor.gray{ + didSet{ + if(!useTextColor){ + setCircleAndText() + } + } + } + + @IBInspectable var amountLines:Int = 1{ + didSet{ + setCircleAndText() + } + } + + + override init(frame:CGRect) + { + super.init(frame: frame) + + setCircleAndText(); + } + + init(frame:CGRect, text:String, colorText:String) + { + + super.init(frame: frame) + self.text = text; + self.colorFromText = colorText; + + setCircleAndText(); + } + + required init?(coder aDecoder: NSCoder) { + super.init(coder: aDecoder) + setCircleAndText(); + + } + + private func setCircleAndText() { + self.contentMode = .scaleAspectFit + + let color = (useTextColor ? randomColorFrom(text: colorFromText) : circleColor) + + self.image = circle(diameter: self.frame.size.height, color: color) + self.superview?.layoutIfNeeded() + + } + + + private func circle(diameter: CGFloat, color: UIColor) -> UIImage? { + //temp view to position label + if(padding < 0.3) + { + padding = 0.3 + } + + + let tempView = UIView(frame: CGRect(x: 0, y: 0, width:diameter, height:diameter)); + //main label + let label = UILabel(frame: CGRect(x:0, y: 0, width:diameter/(CGFloat)(1 + padding), height:diameter/(CGFloat)(1 + padding))) + label.backgroundColor = UIColor.clear + label.textColor = self.textColor + label.numberOfLines = amountLines; + label.adjustsFontSizeToFitWidth = true; + label.minimumScaleFactor = 0.01 + label.text = text + label.textAlignment = .center + label.baselineAdjustment = .alignCenters; + label.font = label.font.withSize(diameter) + label.center = tempView.center + + + tempView.addSubview(label) + + UIGraphicsBeginImageContextWithOptions(CGSize(width: diameter, height: diameter), false, 0) + guard let ctx = UIGraphicsGetCurrentContext() else { return nil } + ctx.saveGState() + //Draw the circle + + let rect = CGRect(x: 0, y: 0, width: diameter, height: diameter) + ctx.setFillColor(color.cgColor) + ctx.fillEllipse(in: rect) + ctx.restoreGState() + //render view with label + tempView.layer.render(in:ctx) + + let img = UIGraphicsGetImageFromCurrentImageContext()! + UIGraphicsEndImageContext() + + return img + } + + private func randomColorFrom(text: String) -> UIColor + { + let rgb:UInt32 = COLOR_SCHEME[abs(text.hashValue) % CircleLabel.DEFAULT_COLOR_SCHEME.count] + let red:CGFloat = CGFloat((rgb & 0xFF0000) >> 16)/255.0; + let green = CGFloat((rgb & 0xFF00) >> 8)/255.0; + let blue = CGFloat((rgb & 0xFF))/255.0 + + return UIColor(red: red, green: green, blue: blue, alpha: 1) + + } + + override func prepareForInterfaceBuilder() + { + setCircleAndText(); + } + + + + + +} diff --git a/Example/CircleLabel.xcodeproj/project.pbxproj b/Example/CircleLabel.xcodeproj/project.pbxproj new file mode 100644 index 0000000..3b15f98 --- /dev/null +++ b/Example/CircleLabel.xcodeproj/project.pbxproj @@ -0,0 +1,617 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 3F23C1981F7CEBCF00A3B75D /* CustomCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3F23C1931F7CEBCD00A3B75D /* CustomCell.swift */; }; + 3F23C1991F7CEBCF00A3B75D /* TableViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3F23C1951F7CEBCE00A3B75D /* TableViewController.swift */; }; + 3F23C19A1F7CEBCF00A3B75D /* CircleLabel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3F23C1961F7CEBCF00A3B75D /* CircleLabel.swift */; }; + 3F23C19B1F7CEBCF00A3B75D /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3F23C1971F7CEBCF00A3B75D /* ViewController.swift */; }; + 3F23C19C1F7CF29600A3B75D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 3F23C1941F7CEBCE00A3B75D /* Main.storyboard */; }; + 428A728A1DEE686F5FAF59D5 /* Pods_CircleLabel_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3A579DD18C6E184464DAD918 /* Pods_CircleLabel_Tests.framework */; }; + 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD51AFB9204008FA782 /* AppDelegate.swift */; }; + 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDC1AFB9204008FA782 /* Images.xcassets */; }; + 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */; }; + 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACEB1AFB9204008FA782 /* Tests.swift */; }; + FBD198BE9B1449489E663E4F /* Pods_CircleLabel_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C0A7EE1F2592D2823F768299 /* Pods_CircleLabel_Example.framework */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 607FACC81AFB9204008FA782 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 607FACCF1AFB9204008FA782; + remoteInfo = CircleLabel; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 0ED869469AF69320EA9BBDF8 /* Pods-CircleLabel_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CircleLabel_Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-CircleLabel_Tests/Pods-CircleLabel_Tests.debug.xcconfig"; sourceTree = ""; }; + 3A579DD18C6E184464DAD918 /* Pods_CircleLabel_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_CircleLabel_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 3F23C1931F7CEBCD00A3B75D /* CustomCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CustomCell.swift; sourceTree = ""; }; + 3F23C1941F7CEBCE00A3B75D /* Main.storyboard */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; path = Main.storyboard; sourceTree = ""; }; + 3F23C1951F7CEBCE00A3B75D /* TableViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TableViewController.swift; sourceTree = ""; }; + 3F23C1961F7CEBCF00A3B75D /* CircleLabel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CircleLabel.swift; sourceTree = ""; }; + 3F23C1971F7CEBCF00A3B75D /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; + 50ACCEE4719323DF31457EFC /* Pods-CircleLabel_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CircleLabel_Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-CircleLabel_Tests/Pods-CircleLabel_Tests.release.xcconfig"; sourceTree = ""; }; + 607FACD01AFB9204008FA782 /* CircleLabel_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = CircleLabel_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 607FACD41AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 607FACD51AFB9204008FA782 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; + 607FACDC1AFB9204008FA782 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; + 607FACDF1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; + 607FACE51AFB9204008FA782 /* CircleLabel_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = CircleLabel_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 607FACEA1AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 607FACEB1AFB9204008FA782 /* Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Tests.swift; sourceTree = ""; }; + 7C34C740E446E13AF40549A2 /* Pods-CircleLabel_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CircleLabel_Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-CircleLabel_Example/Pods-CircleLabel_Example.release.xcconfig"; sourceTree = ""; }; + B66FDDDAA27D270144C42D6D /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; + C0A7EE1F2592D2823F768299 /* Pods_CircleLabel_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_CircleLabel_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + E57CA6D6B99D94A17553887C /* CircleLabel.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = CircleLabel.podspec; path = ../CircleLabel.podspec; sourceTree = ""; }; + E620904E736F6F16EE780913 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; + ED29E42E26CBA53065C968FE /* Pods-CircleLabel_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CircleLabel_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-CircleLabel_Example/Pods-CircleLabel_Example.debug.xcconfig"; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 607FACCD1AFB9204008FA782 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + FBD198BE9B1449489E663E4F /* Pods_CircleLabel_Example.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 607FACE21AFB9204008FA782 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 428A728A1DEE686F5FAF59D5 /* Pods_CircleLabel_Tests.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 28B97239540D57E5E3D4626D /* Pods */ = { + isa = PBXGroup; + children = ( + ED29E42E26CBA53065C968FE /* Pods-CircleLabel_Example.debug.xcconfig */, + 7C34C740E446E13AF40549A2 /* Pods-CircleLabel_Example.release.xcconfig */, + 0ED869469AF69320EA9BBDF8 /* Pods-CircleLabel_Tests.debug.xcconfig */, + 50ACCEE4719323DF31457EFC /* Pods-CircleLabel_Tests.release.xcconfig */, + ); + name = Pods; + sourceTree = ""; + }; + 607FACC71AFB9204008FA782 = { + isa = PBXGroup; + children = ( + 607FACF51AFB993E008FA782 /* Podspec Metadata */, + 607FACD21AFB9204008FA782 /* Example for CircleLabel */, + 607FACE81AFB9204008FA782 /* Tests */, + 607FACD11AFB9204008FA782 /* Products */, + 28B97239540D57E5E3D4626D /* Pods */, + BE6D7B9E01A8AE89A8E91296 /* Frameworks */, + ); + sourceTree = ""; + }; + 607FACD11AFB9204008FA782 /* Products */ = { + isa = PBXGroup; + children = ( + 607FACD01AFB9204008FA782 /* CircleLabel_Example.app */, + 607FACE51AFB9204008FA782 /* CircleLabel_Tests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + 607FACD21AFB9204008FA782 /* Example for CircleLabel */ = { + isa = PBXGroup; + children = ( + 607FACD51AFB9204008FA782 /* AppDelegate.swift */, + 3F23C1961F7CEBCF00A3B75D /* CircleLabel.swift */, + 3F23C1931F7CEBCD00A3B75D /* CustomCell.swift */, + 3F23C1941F7CEBCE00A3B75D /* Main.storyboard */, + 3F23C1951F7CEBCE00A3B75D /* TableViewController.swift */, + 3F23C1971F7CEBCF00A3B75D /* ViewController.swift */, + 607FACDC1AFB9204008FA782 /* Images.xcassets */, + 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */, + 607FACD31AFB9204008FA782 /* Supporting Files */, + ); + name = "Example for CircleLabel"; + path = CircleLabel; + sourceTree = ""; + }; + 607FACD31AFB9204008FA782 /* Supporting Files */ = { + isa = PBXGroup; + children = ( + 607FACD41AFB9204008FA782 /* Info.plist */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; + 607FACE81AFB9204008FA782 /* Tests */ = { + isa = PBXGroup; + children = ( + 607FACEB1AFB9204008FA782 /* Tests.swift */, + 607FACE91AFB9204008FA782 /* Supporting Files */, + ); + path = Tests; + sourceTree = ""; + }; + 607FACE91AFB9204008FA782 /* Supporting Files */ = { + isa = PBXGroup; + children = ( + 607FACEA1AFB9204008FA782 /* Info.plist */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; + 607FACF51AFB993E008FA782 /* Podspec Metadata */ = { + isa = PBXGroup; + children = ( + E57CA6D6B99D94A17553887C /* CircleLabel.podspec */, + E620904E736F6F16EE780913 /* README.md */, + B66FDDDAA27D270144C42D6D /* LICENSE */, + ); + name = "Podspec Metadata"; + sourceTree = ""; + }; + BE6D7B9E01A8AE89A8E91296 /* Frameworks */ = { + isa = PBXGroup; + children = ( + C0A7EE1F2592D2823F768299 /* Pods_CircleLabel_Example.framework */, + 3A579DD18C6E184464DAD918 /* Pods_CircleLabel_Tests.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 607FACCF1AFB9204008FA782 /* CircleLabel_Example */ = { + isa = PBXNativeTarget; + buildConfigurationList = 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "CircleLabel_Example" */; + buildPhases = ( + 479435B0AC0CF715FAE6D3FA /* [CP] Check Pods Manifest.lock */, + 607FACCC1AFB9204008FA782 /* Sources */, + 607FACCD1AFB9204008FA782 /* Frameworks */, + 607FACCE1AFB9204008FA782 /* Resources */, + 14CDA2D3C25C25CB115FD5F1 /* [CP] Embed Pods Frameworks */, + 4ED688A3611F4C151FDC54C1 /* [CP] Copy Pods Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = CircleLabel_Example; + productName = CircleLabel; + productReference = 607FACD01AFB9204008FA782 /* CircleLabel_Example.app */; + productType = "com.apple.product-type.application"; + }; + 607FACE41AFB9204008FA782 /* CircleLabel_Tests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "CircleLabel_Tests" */; + buildPhases = ( + 9664313025D4B133AEDB0DFC /* [CP] Check Pods Manifest.lock */, + 607FACE11AFB9204008FA782 /* Sources */, + 607FACE21AFB9204008FA782 /* Frameworks */, + 607FACE31AFB9204008FA782 /* Resources */, + 28546158361FAA8BF6D8D0AE /* [CP] Embed Pods Frameworks */, + D21564CF8D33D2213B888A3B /* [CP] Copy Pods Resources */, + ); + buildRules = ( + ); + dependencies = ( + 607FACE71AFB9204008FA782 /* PBXTargetDependency */, + ); + name = CircleLabel_Tests; + productName = Tests; + productReference = 607FACE51AFB9204008FA782 /* CircleLabel_Tests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 607FACC81AFB9204008FA782 /* Project object */ = { + isa = PBXProject; + attributes = { + LastSwiftUpdateCheck = 0720; + LastUpgradeCheck = 0900; + ORGANIZATIONNAME = CocoaPods; + TargetAttributes = { + 607FACCF1AFB9204008FA782 = { + CreatedOnToolsVersion = 6.3.1; + DevelopmentTeam = CM5FBCSTN5; + LastSwiftMigration = 0900; + }; + 607FACE41AFB9204008FA782 = { + CreatedOnToolsVersion = 6.3.1; + DevelopmentTeam = CM5FBCSTN5; + LastSwiftMigration = 0900; + TestTargetID = 607FACCF1AFB9204008FA782; + }; + }; + }; + buildConfigurationList = 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "CircleLabel" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 607FACC71AFB9204008FA782; + productRefGroup = 607FACD11AFB9204008FA782 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 607FACCF1AFB9204008FA782 /* CircleLabel_Example */, + 607FACE41AFB9204008FA782 /* CircleLabel_Tests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 607FACCE1AFB9204008FA782 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 3F23C19C1F7CF29600A3B75D /* Main.storyboard in Resources */, + 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */, + 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 607FACE31AFB9204008FA782 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXShellScriptBuildPhase section */ + 14CDA2D3C25C25CB115FD5F1 /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-CircleLabel_Example/Pods-CircleLabel_Example-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + 28546158361FAA8BF6D8D0AE /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-CircleLabel_Tests/Pods-CircleLabel_Tests-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + 479435B0AC0CF715FAE6D3FA /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n"; + showEnvVarsInLog = 0; + }; + 4ED688A3611F4C151FDC54C1 /* [CP] Copy Pods Resources */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "[CP] Copy Pods Resources"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-CircleLabel_Example/Pods-CircleLabel_Example-resources.sh\"\n"; + showEnvVarsInLog = 0; + }; + 9664313025D4B133AEDB0DFC /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n"; + showEnvVarsInLog = 0; + }; + D21564CF8D33D2213B888A3B /* [CP] Copy Pods Resources */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "[CP] Copy Pods Resources"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-CircleLabel_Tests/Pods-CircleLabel_Tests-resources.sh\"\n"; + showEnvVarsInLog = 0; + }; +/* End PBXShellScriptBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 607FACCC1AFB9204008FA782 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 3F23C19B1F7CEBCF00A3B75D /* ViewController.swift in Sources */, + 3F23C1981F7CEBCF00A3B75D /* CustomCell.swift in Sources */, + 3F23C1991F7CEBCF00A3B75D /* TableViewController.swift in Sources */, + 3F23C19A1F7CEBCF00A3B75D /* CircleLabel.swift in Sources */, + 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 607FACE11AFB9204008FA782 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 607FACE71AFB9204008FA782 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 607FACCF1AFB9204008FA782 /* CircleLabel_Example */; + targetProxy = 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin PBXVariantGroup section */ + 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */ = { + isa = PBXVariantGroup; + children = ( + 607FACDF1AFB9204008FA782 /* Base */, + ); + name = LaunchScreen.xib; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + 607FACED1AFB9204008FA782 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + 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_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_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + 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 = 8.0; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + }; + name = Debug; + }; + 607FACEE1AFB9204008FA782 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + 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_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_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + 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 = 8.0; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = iphoneos; + SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + 607FACF01AFB9204008FA782 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = ED29E42E26CBA53065C968FE /* Pods-CircleLabel_Example.debug.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + DEVELOPMENT_TEAM = CM5FBCSTN5; + INFOPLIST_FILE = CircleLabel/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + MODULE_NAME = ExampleApp; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_SWIFT3_OBJC_INFERENCE = On; + SWIFT_VERSION = 4.0; + }; + name = Debug; + }; + 607FACF11AFB9204008FA782 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 7C34C740E446E13AF40549A2 /* Pods-CircleLabel_Example.release.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + DEVELOPMENT_TEAM = CM5FBCSTN5; + INFOPLIST_FILE = CircleLabel/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + MODULE_NAME = ExampleApp; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_SWIFT3_OBJC_INFERENCE = On; + SWIFT_VERSION = 4.0; + }; + name = Release; + }; + 607FACF31AFB9204008FA782 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 0ED869469AF69320EA9BBDF8 /* Pods-CircleLabel_Tests.debug.xcconfig */; + buildSettings = { + DEVELOPMENT_TEAM = CM5FBCSTN5; + FRAMEWORK_SEARCH_PATHS = ( + "$(SDKROOT)/Developer/Library/Frameworks", + "$(inherited)", + ); + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + INFOPLIST_FILE = Tests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_SWIFT3_OBJC_INFERENCE = On; + SWIFT_VERSION = 4.0; + }; + name = Debug; + }; + 607FACF41AFB9204008FA782 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 50ACCEE4719323DF31457EFC /* Pods-CircleLabel_Tests.release.xcconfig */; + buildSettings = { + DEVELOPMENT_TEAM = CM5FBCSTN5; + FRAMEWORK_SEARCH_PATHS = ( + "$(SDKROOT)/Developer/Library/Frameworks", + "$(inherited)", + ); + INFOPLIST_FILE = Tests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_SWIFT3_OBJC_INFERENCE = On; + SWIFT_VERSION = 4.0; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "CircleLabel" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 607FACED1AFB9204008FA782 /* Debug */, + 607FACEE1AFB9204008FA782 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "CircleLabel_Example" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 607FACF01AFB9204008FA782 /* Debug */, + 607FACF11AFB9204008FA782 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "CircleLabel_Tests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 607FACF31AFB9204008FA782 /* Debug */, + 607FACF41AFB9204008FA782 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 607FACC81AFB9204008FA782 /* Project object */; +} diff --git a/Example/CircleLabel.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Example/CircleLabel.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..7ddcce9 --- /dev/null +++ b/Example/CircleLabel.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/Example/CircleLabel.xcodeproj/xcshareddata/xcschemes/CircleLabel-Example.xcscheme b/Example/CircleLabel.xcodeproj/xcshareddata/xcschemes/CircleLabel-Example.xcscheme new file mode 100644 index 0000000..056ddf5 --- /dev/null +++ b/Example/CircleLabel.xcodeproj/xcshareddata/xcschemes/CircleLabel-Example.xcscheme @@ -0,0 +1,117 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Example/CircleLabel.xcworkspace/contents.xcworkspacedata b/Example/CircleLabel.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..9fa3211 --- /dev/null +++ b/Example/CircleLabel.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,10 @@ + + + + + + + diff --git a/Example/CircleLabel.xcworkspace/xcuserdata/Gio.xcuserdatad/UserInterfaceState.xcuserstate b/Example/CircleLabel.xcworkspace/xcuserdata/Gio.xcuserdatad/UserInterfaceState.xcuserstate new file mode 100644 index 0000000000000000000000000000000000000000..deb9cecbaee37979e9987b1bd9453c29827fbf2f GIT binary patch literal 27738 zcmeHw2Ygdy_war01WMbabU{}-(sZUtnzTt-P1B|g-3_BDg_^dZ4YW;7QiiO1mEjh} z0fHNNpl@;kJHsro8)So?P&6PY)N)^Q>zmmPfqf> zIztGwV#C8y(oS&1Fk%!DN`w(|BAHMSDMTufMx+y2L=KTl=m`T+NmLQlL=9mjCKFSL zsl+s*maq{G#1({ta1ouvm4ut{5ME*)ArMy+D~RieJBT}pyNET!T4F1)jo3~+NbDdU zA|57o6OR)Ih^L8Xh-1Xd#4E(B#B0P`#A)I^;#1-?;wR!~;uqpq;x9xY8jU~_Bt!8i z0VSd&BuB|ei*zUlJ;?`^(OTeb(;Ew`keZL`iAJcMx{R)*r_eUKfxd#CMbD-?X%D@SUP|-yjr2|Qt@NGrUG#nQ2D+QxK|e%4 zOg}Q$0&|2p z%Dl+D#2jN@W?o_5VBTcjVoo!kGhZ-YGG8%YGv6@ZGT$*5nBSP+nZH=mq?b+WVB zIqYI~3A>c#S%JNpy@p-JE@xM;E7@z=RqU=E`T`y%@idyIXVeT99MeT_ZNo@U=>-(kOGzhb{;zhS>+zhl2=e_(%S|6u>*B%G8B z;YM+xTo@P5MR1YaXl@J_#U*k{oSaMNGPq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>-Q2qQbyw9buKQs+ znodn;rVpFGWcm%$Z<>C~^xNu(*N4|f){m)=sZXoVs8`mj>rM3~^%cGGLO9nC|KWZV KfBoO}RsRdzmJ&Ds literal 0 HcmV?d00001 diff --git a/Example/CircleLabel/AppDelegate.swift b/Example/CircleLabel/AppDelegate.swift new file mode 100644 index 0000000..032f116 --- /dev/null +++ b/Example/CircleLabel/AppDelegate.swift @@ -0,0 +1,46 @@ +// +// AppDelegate.swift +// CircleLabel +// +// Created by Gio Andriadze on 09/28/2017. +// Copyright (c) 2017 Gio Andriadze. All rights reserved. +// + +import UIKit + +@UIApplicationMain +class AppDelegate: UIResponder, UIApplicationDelegate { + + var window: UIWindow? + + + func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { + // Override point for customization after application launch. + return true + } + + func applicationWillResignActive(_ application: UIApplication) { + // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. + // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. + } + + func applicationDidEnterBackground(_ application: UIApplication) { + // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. + // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. + } + + func applicationWillEnterForeground(_ application: UIApplication) { + // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. + } + + func applicationDidBecomeActive(_ application: UIApplication) { + // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. + } + + func applicationWillTerminate(_ application: UIApplication) { + // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. + } + + +} + diff --git a/Example/CircleLabel/Base.lproj/LaunchScreen.xib b/Example/CircleLabel/Base.lproj/LaunchScreen.xib new file mode 100644 index 0000000..09f64e7 --- /dev/null +++ b/Example/CircleLabel/Base.lproj/LaunchScreen.xib @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Example/CircleLabel/CircleLabel.swift b/Example/CircleLabel/CircleLabel.swift new file mode 100644 index 0000000..0c420de --- /dev/null +++ b/Example/CircleLabel/CircleLabel.swift @@ -0,0 +1,174 @@ +// +// CircularImageView.swift +// CircularText +// +// Created by Gio Andriadze on 9/27/17. +// Copyright © 2017 Casatrade Ltd. All rights reserved. +// + +import UIKit + +@IBDesignable +class CircleLabel : UIImageView +{ + static let DEFAULT_COLOR_SCHEME:[UInt32] = [ + 0xfff16364, + 0xfff58559, + 0xfff9a43e, + 0xffe4c62e, + 0xff67bf74, + 0xff59a2be, + 0xff2093cd, + 0xffad62a7, + 0xff805781 + ] + + var COLOR_SCHEME:[UInt32] = CircleLabel.DEFAULT_COLOR_SCHEME{ + didSet{ + setCircleAndText(); + } + } + + @IBInspectable var textColor:UIColor = UIColor.white{ + didSet{ + setCircleAndText() + } + } + + @IBInspectable var text:String = "" { + didSet{ + setCircleAndText() + } + } + @IBInspectable var colorFromText:String = ""{ + didSet{ + setCircleAndText() + } + } + @IBInspectable var padding:Float = 0.3{ + didSet{ + setCircleAndText() + } + } + + @IBInspectable var useTextColor:Bool = true{ + didSet{ + setCircleAndText() + } + } + + @IBInspectable var circleColor:UIColor = UIColor.gray{ + didSet{ + if(!useTextColor){ + setCircleAndText() + } + } + } + + @IBInspectable var amountLines:Int = 1{ + didSet{ + setCircleAndText() + } + } + + + override init(frame:CGRect) + { + super.init(frame: frame) + + setCircleAndText(); + } + + init(frame:CGRect, text:String, colorText:String) + { + + super.init(frame: frame) + self.text = text; + self.colorFromText = colorText; + + setCircleAndText(); + } + + required init?(coder aDecoder: NSCoder) { +// self.text = ""; +// self.colorText = ""; + super.init(coder: aDecoder) + setCircleAndText(); + + } + + private func setCircleAndText() { + self.contentMode = .scaleAspectFit + + let color = (useTextColor ? randomColorFrom(text: colorFromText) : circleColor) + + self.image = circle(diameter: self.frame.size.height, color: color) + self.superview?.layoutIfNeeded() + + } + + + private func circle(diameter: CGFloat, color: UIColor) -> UIImage? { + //temp view to position label + if(padding < 0.3) + { + padding = 0.3 + } + + + let tempView = UIView(frame: CGRect(x: 0, y: 0, width:diameter, height:diameter)); + //main label + let label = UILabel(frame: CGRect(x:0, y: 0, width:diameter/(CGFloat)(1 + padding), height:diameter/(CGFloat)(1 + padding))) + label.backgroundColor = UIColor.clear + label.textColor = self.textColor + label.numberOfLines = amountLines; + label.adjustsFontSizeToFitWidth = true; + label.minimumScaleFactor = 0.01 + label.text = text + label.textAlignment = .center + label.baselineAdjustment = .alignCenters; + label.font = label.font.withSize(diameter) + label.center = tempView.center + + + tempView.addSubview(label) + + UIGraphicsBeginImageContextWithOptions(CGSize(width: diameter, height: diameter), false, 0) + guard let ctx = UIGraphicsGetCurrentContext() else { return nil } + ctx.saveGState() + //Draw the circle + + let rect = CGRect(x: 0, y: 0, width: diameter, height: diameter) + ctx.setFillColor(color.cgColor) + ctx.fillEllipse(in: rect) + ctx.restoreGState() + //render view with label + tempView.layer.render(in:ctx) + + let img = UIGraphicsGetImageFromCurrentImageContext()! + UIGraphicsEndImageContext() + + return img + } + + private func randomColorFrom(text: String) -> UIColor + { + let rgb:UInt32 = COLOR_SCHEME[abs(text.hashValue) % CircleLabel.DEFAULT_COLOR_SCHEME.count] + let red:CGFloat = CGFloat((rgb & 0xFF0000) >> 16)/255.0; + let green = CGFloat((rgb & 0xFF00) >> 8)/255.0; + let blue = CGFloat((rgb & 0xFF))/255.0 + + return UIColor(red: red, green: green, blue: blue, alpha: 1) + + } + + override func prepareForInterfaceBuilder() + { + setCircleAndText(); + } + + + + + +} diff --git a/Example/CircleLabel/CustomCell.swift b/Example/CircleLabel/CustomCell.swift new file mode 100644 index 0000000..7265847 --- /dev/null +++ b/Example/CircleLabel/CustomCell.swift @@ -0,0 +1,27 @@ +// +// CustomCell.swift +// CircularText +// +// Created by Gio Andriadze on 9/28/17. +// Copyright © 2017 Casatrade Ltd. All rights reserved. +// + +import UIKit + +class CustomCell: UITableViewCell { + @IBOutlet weak var circleText: CircleLabel! + + @IBOutlet weak var customText: UILabel! + + override func awakeFromNib() { + super.awakeFromNib() + // Initialization code + } + + override func setSelected(_ selected: Bool, animated: Bool) { + super.setSelected(selected, animated: animated) + + // Configure the view for the selected state + } + +} diff --git a/Example/CircleLabel/Images.xcassets/AppIcon.appiconset/Contents.json b/Example/CircleLabel/Images.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..d3942e9 --- /dev/null +++ b/Example/CircleLabel/Images.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,38 @@ +{ + "images" : [ + { + "idiom" : "iphone", + "size" : "29x29", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "29x29", + "scale" : "3x" + }, + { + "idiom" : "iphone", + "size" : "40x40", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "40x40", + "scale" : "3x" + }, + { + "idiom" : "iphone", + "size" : "60x60", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "60x60", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} diff --git a/Example/CircleLabel/Info.plist b/Example/CircleLabel/Info.plist new file mode 100644 index 0000000..eb18faa --- /dev/null +++ b/Example/CircleLabel/Info.plist @@ -0,0 +1,39 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + APPL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1 + LSRequiresIPhoneOS + + UILaunchStoryboardName + LaunchScreen + UIMainStoryboardFile + Main + UIRequiredDeviceCapabilities + + armv7 + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + + + diff --git a/Example/CircleLabel/Main.storyboard b/Example/CircleLabel/Main.storyboard new file mode 100644 index 0000000..a725029 --- /dev/null +++ b/Example/CircleLabel/Main.storyboard @@ -0,0 +1,175 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Example/CircleLabel/TableViewController.swift b/Example/CircleLabel/TableViewController.swift new file mode 100644 index 0000000..54a3229 --- /dev/null +++ b/Example/CircleLabel/TableViewController.swift @@ -0,0 +1,111 @@ +// +// TableViewController.swift +// CircularText +// +// Created by Gio Andriadze on 9/28/17. +// Copyright © 2017 Casatrade Ltd. All rights reserved. +// + +import UIKit + +class TableViewController: UITableViewController { + + var data:[String] = [] + + + override func viewDidLoad() { + super.viewDidLoad() + + for index in 1000...2000 + { + data.append(String(index)) + } + + self.tableView.reloadData() + // Uncomment the following line to preserve selection between presentations + // self.clearsSelectionOnViewWillAppear = false + + // Uncomment the following line to display an Edit button in the navigation bar for this view controller. + // self.navigationItem.rightBarButtonItem = self.editButtonItem + } + + override func didReceiveMemoryWarning() { + super.didReceiveMemoryWarning() + // Dispose of any resources that can be recreated. + } + + // MARK: - Table view data source + + override func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat { + return 90; + } + + override func numberOfSections(in tableView: UITableView) -> Int { + // #warning Incomplete implementation, return the number of sections + return 1 + } + + override func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int { + // #warning Incomplete implementation, return the number of rows + return data.count + } + + override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell { + let cell = tableView.dequeueReusableCell(withIdentifier: "customCell", for: indexPath) as! CustomCell + + + // Configure the cell... + let text = String(data[indexPath.row]); + + cell.circleText.colorFromText = text + cell.circleText.text = String(text.suffix(2)) + + return cell + } + + /* + // Override to support conditional editing of the table view. + override func tableView(_ tableView: UITableView, canEditRowAt indexPath: IndexPath) -> Bool { + // Return false if you do not want the specified item to be editable. + return true + } + */ + + /* + // Override to support editing the table view. + override func tableView(_ tableView: UITableView, commit editingStyle: UITableViewCellEditingStyle, forRowAt indexPath: IndexPath) { + if editingStyle == .delete { + // Delete the row from the data source + tableView.deleteRows(at: [indexPath], with: .fade) + } else if editingStyle == .insert { + // Create a new instance of the appropriate class, insert it into the array, and add a new row to the table view + } + } + */ + + /* + // Override to support rearranging the table view. + override func tableView(_ tableView: UITableView, moveRowAt fromIndexPath: IndexPath, to: IndexPath) { + + } + */ + + /* + // Override to support conditional rearranging of the table view. + override func tableView(_ tableView: UITableView, canMoveRowAt indexPath: IndexPath) -> Bool { + // Return false if you do not want the item to be re-orderable. + return true + } + */ + + /* + // MARK: - Navigation + + // In a storyboard-based application, you will often want to do a little preparation before navigation + override func prepare(for segue: UIStoryboardSegue, sender: Any?) { + // Get the new view controller using segue.destinationViewController. + // Pass the selected object to the new view controller. + } + */ + +} diff --git a/Example/CircleLabel/ViewController.swift b/Example/CircleLabel/ViewController.swift new file mode 100644 index 0000000..84bd98d --- /dev/null +++ b/Example/CircleLabel/ViewController.swift @@ -0,0 +1,82 @@ +// +// ViewController.swift +// CircularText +// +// Created by Gio Andriadze on 9/27/17. +// Copyright © 2017 Casatrade Ltd. All rights reserved. +// + +import UIKit + +class ViewController: UIViewController { + + @IBOutlet weak var customColorScheme: CircleLabel! + @IBOutlet weak var circleFromSb: CircleLabel! + var circle:CircleLabel?; + + override func viewDidLoad() { + super.viewDidLoad() + + customColorScheme.COLOR_SCHEME = [ + 0xffe57373, + 0xfff06292, + 0xffba68c8, + 0xff9575cd, + 0xff7986cb, + 0xff64b5f6, + 0xff4fc3f7, + 0xff4dd0e1, + 0xff4db6ac, + 0xff81c784, + 0xffaed581, + 0xffff8a65, + 0xffd4e157, + 0xffffd54f, + 0xffffb74d, + 0xffa1887f, + 0xff90a4ae + ] + + circle = CircleLabel(frame: CGRect(x: 0, y: 0, width: 200, height: 200)) + circle!.text = "From Code" + + circle!.colorFromText = "GUARAM" + + //Use custom color scheme + //circle!.COLOR_SCHEME = [ 0xffe57373, 0xfff06292 ...] + + //Generate color based on text or user defined parameter + circle!.useTextColor = true; + + //If useTextColor == false - this value will be used for circle color + //circle!.circleColor = UIColor.blue + + //Change text color + circle!.textColor = UIColor.white + + //Padding of inner text + circle!.padding = 0.3 + + //Amount of lines + circle!.amountLines = 1 + + self.view.addSubview(circle!) + + // Do any additional setup after loading the view, typically from a nib. + } + + override func didReceiveMemoryWarning() { + super.didReceiveMemoryWarning() + // Dispose of any resources that can be recreated. + } + + @IBAction func change(_ sender: Any) { + circle?.colorFromText = "gmertmani" + circle?.text = "JUM" + + self.circleFromSb.colorFromText = "Some new Text" + self.circleFromSb.text = "SNT" + } + +} + diff --git a/Example/Podfile b/Example/Podfile new file mode 100644 index 0000000..743f6d1 --- /dev/null +++ b/Example/Podfile @@ -0,0 +1,11 @@ +use_frameworks! + +target 'CircleLabel_Example' do + pod 'CircleLabel', :path => '../' + + target 'CircleLabel_Tests' do + inherit! :search_paths + + + end +end diff --git a/Example/Podfile.lock b/Example/Podfile.lock new file mode 100644 index 0000000..c10aba2 --- /dev/null +++ b/Example/Podfile.lock @@ -0,0 +1,16 @@ +PODS: + - CircleLabel (0.1.0) + +DEPENDENCIES: + - CircleLabel (from `../`) + +EXTERNAL SOURCES: + CircleLabel: + :path: ../ + +SPEC CHECKSUMS: + CircleLabel: 34d639238263c0aa31c4b244bcdd10bf5d004117 + +PODFILE CHECKSUM: 66be9dd8e064e29f0eb41da972478298a84f69e4 + +COCOAPODS: 1.2.1 diff --git a/Example/Pods/Local Podspecs/CircleLabel.podspec.json b/Example/Pods/Local Podspecs/CircleLabel.podspec.json new file mode 100644 index 0000000..5f5c16a --- /dev/null +++ b/Example/Pods/Local Podspecs/CircleLabel.podspec.json @@ -0,0 +1,22 @@ +{ + "name": "CircleLabel", + "version": "0.1.0", + "summary": "A short description of CircleLabel.", + "description": "TODO: Add long description of the pod here.", + "homepage": "https://github.com/Gio Andriadze/CircleLabel", + "license": { + "type": "MIT", + "file": "LICENSE" + }, + "authors": { + "Gio Andriadze": "g.andriadze2@gmail.com" + }, + "source": { + "git": "https://github.com/Gio Andriadze/CircleLabel.git", + "tag": "0.1.0" + }, + "platforms": { + "ios": "8.0" + }, + "source_files": "CircleLabel/Classes/**/*" +} diff --git a/Example/Pods/Manifest.lock b/Example/Pods/Manifest.lock new file mode 100644 index 0000000..c10aba2 --- /dev/null +++ b/Example/Pods/Manifest.lock @@ -0,0 +1,16 @@ +PODS: + - CircleLabel (0.1.0) + +DEPENDENCIES: + - CircleLabel (from `../`) + +EXTERNAL SOURCES: + CircleLabel: + :path: ../ + +SPEC CHECKSUMS: + CircleLabel: 34d639238263c0aa31c4b244bcdd10bf5d004117 + +PODFILE CHECKSUM: 66be9dd8e064e29f0eb41da972478298a84f69e4 + +COCOAPODS: 1.2.1 diff --git a/Example/Pods/Pods.xcodeproj/project.pbxproj b/Example/Pods/Pods.xcodeproj/project.pbxproj new file mode 100644 index 0000000..ddebfb3 --- /dev/null +++ b/Example/Pods/Pods.xcodeproj/project.pbxproj @@ -0,0 +1,749 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 0B4F7DE2441C84B3C51DBAB4FC9E53AB /* Pods-CircleLabel_Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 31EE45551265A7DBA003A129802D4FA0 /* Pods-CircleLabel_Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 0B7B6B811D2C031EEB409A9CFA60CD3C /* Pods-CircleLabel_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 7799BAD95FA5EBA707021C9EA5697577 /* Pods-CircleLabel_Example-dummy.m */; }; + 134F4EAB792C5F43FA9D1671BDA1A9DC /* Pods-CircleLabel_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = E76FCD939507EFDB3BC6838739C745D1 /* Pods-CircleLabel_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 1ADF5958106D35D7B847BE17A573E468 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; }; + 34335DEF8BD8BB02358EF19BFBC9A1BF /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; }; + 3F23C1921F7CE91400A3B75D /* CircleLabel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3F23C1911F7CE91400A3B75D /* CircleLabel.swift */; }; + 97699B56A0E147BD1136718FB28258F5 /* CircleLabel-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = DD1F2CDD25E20306CA3848E12FEF9EF8 /* CircleLabel-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + D6A1C27704239C7C6BF371972CA6F87C /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; }; + D7D093FBD2E591D8181C30A198B466A4 /* CircleLabel-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = ECB9D581E303AB7146522844190EA4D0 /* CircleLabel-dummy.m */; }; + FDD60F4F32F983DC44AA6BECAC9CD680 /* Pods-CircleLabel_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = C1D3582F86312F2F143BC57C76BB42CC /* Pods-CircleLabel_Tests-dummy.m */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 585EB99F6D0741897A305CE663B871DB /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; + proxyType = 1; + remoteGlobalIDString = 6BE84EB874EC091947E10AF4A6968A6E; + remoteInfo = CircleLabel; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 0830C9F5B96A61139EABB57A991D430D /* Pods-CircleLabel_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-CircleLabel_Example.release.xcconfig"; sourceTree = ""; }; + 09DF43E3CF4354B398CA2C20869E40DB /* Pods-CircleLabel_Example-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-CircleLabel_Example-resources.sh"; sourceTree = ""; }; + 1120A7F0779C397FBB50298435EF9CF4 /* Pods_CircleLabel_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_CircleLabel_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 11F0F9185EDBC9C2AC5D361D525DCFE1 /* Pods-CircleLabel_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-CircleLabel_Example-frameworks.sh"; sourceTree = ""; }; + 1E23D46B313089AEE95690D06EE2784C /* Pods-CircleLabel_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-CircleLabel_Example.debug.xcconfig"; sourceTree = ""; }; + 31EE45551265A7DBA003A129802D4FA0 /* Pods-CircleLabel_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-CircleLabel_Tests-umbrella.h"; sourceTree = ""; }; + 378E62D8EFDB883EEDEF5A0799197BA8 /* Pods-CircleLabel_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-CircleLabel_Tests.debug.xcconfig"; sourceTree = ""; }; + 3F23C1911F7CE91400A3B75D /* CircleLabel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CircleLabel.swift; sourceTree = ""; }; + 41AF2EBCF164C5069D6B07CFAD21FAE9 /* Pods-CircleLabel_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-CircleLabel_Example-acknowledgements.plist"; sourceTree = ""; }; + 4F039BC597C50E05DEA45C9D9647FDA8 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 542259185F7F0A7E71902926D60C85A1 /* Pods_CircleLabel_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_CircleLabel_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; + 681C414FCEC9D345A67B5D4EC39434AD /* CircleLabel.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = CircleLabel.xcconfig; sourceTree = ""; }; + 6A24ABC1321744AD86B5BC399B555FA3 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 6BD7B3F31D2F69F6B0EB2B94973116C6 /* Pods-CircleLabel_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-CircleLabel_Tests.release.xcconfig"; sourceTree = ""; }; + 7799BAD95FA5EBA707021C9EA5697577 /* Pods-CircleLabel_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-CircleLabel_Example-dummy.m"; sourceTree = ""; }; + 8A36D4B815E65B74731B0CA5E786AA7E /* Pods-CircleLabel_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-CircleLabel_Tests-acknowledgements.markdown"; sourceTree = ""; }; + 8F7A67B6AE6B87FEE5E2CB1054F74E56 /* Pods-CircleLabel_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-CircleLabel_Tests-acknowledgements.plist"; sourceTree = ""; }; + 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; + 979223712B81CD484E0DFC54B09B1F84 /* Pods-CircleLabel_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-CircleLabel_Tests.modulemap"; sourceTree = ""; }; + 9A1C606CEA89B602A29C538F8C895B27 /* Pods-CircleLabel_Tests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-CircleLabel_Tests-resources.sh"; sourceTree = ""; }; + A1D3B3362F6EAFEF229B537CC690F198 /* Pods-CircleLabel_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-CircleLabel_Example-acknowledgements.markdown"; sourceTree = ""; }; + B148E4B550D586F3D34F9B1BBF668031 /* Pods-CircleLabel_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-CircleLabel_Example.modulemap"; sourceTree = ""; }; + B6EE2659DB1ACF3BF3470E11DF6A37F4 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + C1382CD4C477CF74605961B454403394 /* CircleLabel.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = CircleLabel.modulemap; sourceTree = ""; }; + C1D3582F86312F2F143BC57C76BB42CC /* Pods-CircleLabel_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-CircleLabel_Tests-dummy.m"; sourceTree = ""; }; + CAC5DAF65743BDCBD2DCA638F5E45E4C /* Pods-CircleLabel_Tests-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-CircleLabel_Tests-frameworks.sh"; sourceTree = ""; }; + CD014BA0006D92DEDFEC178CAF034F88 /* CircleLabel-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "CircleLabel-prefix.pch"; sourceTree = ""; }; + DCDCDF2C940098E050927483DD91D97D /* CircleLabel.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = CircleLabel.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + DD1F2CDD25E20306CA3848E12FEF9EF8 /* CircleLabel-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "CircleLabel-umbrella.h"; sourceTree = ""; }; + E76FCD939507EFDB3BC6838739C745D1 /* Pods-CircleLabel_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-CircleLabel_Example-umbrella.h"; sourceTree = ""; }; + ECB9D581E303AB7146522844190EA4D0 /* CircleLabel-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "CircleLabel-dummy.m"; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + A8E3F247F6F26B8005AC7199EF373693 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 1ADF5958106D35D7B847BE17A573E468 /* Foundation.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + C84D2808732C5CF8D83A54E3E787713C /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 34335DEF8BD8BB02358EF19BFBC9A1BF /* Foundation.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + D80BAA9E85E0503399E3CD6AB42E091E /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + D6A1C27704239C7C6BF371972CA6F87C /* Foundation.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 20EF079D74D3AA5876FADB1083F36012 /* Development Pods */ = { + isa = PBXGroup; + children = ( + 7E79DB3C8C94D2A4ADA43846945C086C /* CircleLabel */, + ); + name = "Development Pods"; + sourceTree = ""; + }; + 31F57BB142E8C90F9B00085F6BFCE878 /* Products */ = { + isa = PBXGroup; + children = ( + DCDCDF2C940098E050927483DD91D97D /* CircleLabel.framework */, + 542259185F7F0A7E71902926D60C85A1 /* Pods_CircleLabel_Example.framework */, + 1120A7F0779C397FBB50298435EF9CF4 /* Pods_CircleLabel_Tests.framework */, + ); + name = Products; + sourceTree = ""; + }; + 324C34DA702531C7D93BFB1376FFD3FA /* Classes */ = { + isa = PBXGroup; + children = ( + 3F23C1911F7CE91400A3B75D /* CircleLabel.swift */, + ); + path = Classes; + sourceTree = ""; + }; + 5B113238DE8AE7E872E7ADF8C3CEAA08 /* Support Files */ = { + isa = PBXGroup; + children = ( + C1382CD4C477CF74605961B454403394 /* CircleLabel.modulemap */, + 681C414FCEC9D345A67B5D4EC39434AD /* CircleLabel.xcconfig */, + ECB9D581E303AB7146522844190EA4D0 /* CircleLabel-dummy.m */, + CD014BA0006D92DEDFEC178CAF034F88 /* CircleLabel-prefix.pch */, + DD1F2CDD25E20306CA3848E12FEF9EF8 /* CircleLabel-umbrella.h */, + 4F039BC597C50E05DEA45C9D9647FDA8 /* Info.plist */, + ); + name = "Support Files"; + path = "Example/Pods/Target Support Files/CircleLabel"; + sourceTree = ""; + }; + 61C97C8C5ACFC2FC0076F9674CCCD692 /* Pods-CircleLabel_Example */ = { + isa = PBXGroup; + children = ( + B6EE2659DB1ACF3BF3470E11DF6A37F4 /* Info.plist */, + B148E4B550D586F3D34F9B1BBF668031 /* Pods-CircleLabel_Example.modulemap */, + A1D3B3362F6EAFEF229B537CC690F198 /* Pods-CircleLabel_Example-acknowledgements.markdown */, + 41AF2EBCF164C5069D6B07CFAD21FAE9 /* Pods-CircleLabel_Example-acknowledgements.plist */, + 7799BAD95FA5EBA707021C9EA5697577 /* Pods-CircleLabel_Example-dummy.m */, + 11F0F9185EDBC9C2AC5D361D525DCFE1 /* Pods-CircleLabel_Example-frameworks.sh */, + 09DF43E3CF4354B398CA2C20869E40DB /* Pods-CircleLabel_Example-resources.sh */, + E76FCD939507EFDB3BC6838739C745D1 /* Pods-CircleLabel_Example-umbrella.h */, + 1E23D46B313089AEE95690D06EE2784C /* Pods-CircleLabel_Example.debug.xcconfig */, + 0830C9F5B96A61139EABB57A991D430D /* Pods-CircleLabel_Example.release.xcconfig */, + ); + name = "Pods-CircleLabel_Example"; + path = "Target Support Files/Pods-CircleLabel_Example"; + sourceTree = ""; + }; + 64E66FA7564B117BBED68A2927E796C2 /* Pods-CircleLabel_Tests */ = { + isa = PBXGroup; + children = ( + 6A24ABC1321744AD86B5BC399B555FA3 /* Info.plist */, + 979223712B81CD484E0DFC54B09B1F84 /* Pods-CircleLabel_Tests.modulemap */, + 8A36D4B815E65B74731B0CA5E786AA7E /* Pods-CircleLabel_Tests-acknowledgements.markdown */, + 8F7A67B6AE6B87FEE5E2CB1054F74E56 /* Pods-CircleLabel_Tests-acknowledgements.plist */, + C1D3582F86312F2F143BC57C76BB42CC /* Pods-CircleLabel_Tests-dummy.m */, + CAC5DAF65743BDCBD2DCA638F5E45E4C /* Pods-CircleLabel_Tests-frameworks.sh */, + 9A1C606CEA89B602A29C538F8C895B27 /* Pods-CircleLabel_Tests-resources.sh */, + 31EE45551265A7DBA003A129802D4FA0 /* Pods-CircleLabel_Tests-umbrella.h */, + 378E62D8EFDB883EEDEF5A0799197BA8 /* Pods-CircleLabel_Tests.debug.xcconfig */, + 6BD7B3F31D2F69F6B0EB2B94973116C6 /* Pods-CircleLabel_Tests.release.xcconfig */, + ); + name = "Pods-CircleLabel_Tests"; + path = "Target Support Files/Pods-CircleLabel_Tests"; + sourceTree = ""; + }; + 7DB346D0F39D3F0E887471402A8071AB = { + isa = PBXGroup; + children = ( + 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */, + 20EF079D74D3AA5876FADB1083F36012 /* Development Pods */, + BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */, + 31F57BB142E8C90F9B00085F6BFCE878 /* Products */, + B10D40EB32FB3B5D4925151F1EE6ADC0 /* Targets Support Files */, + ); + sourceTree = ""; + }; + 7E79DB3C8C94D2A4ADA43846945C086C /* CircleLabel */ = { + isa = PBXGroup; + children = ( + 86335DE04A008C34BBBCB5A5CEBB6A81 /* CircleLabel */, + 5B113238DE8AE7E872E7ADF8C3CEAA08 /* Support Files */, + ); + name = CircleLabel; + path = ../..; + sourceTree = ""; + }; + 86335DE04A008C34BBBCB5A5CEBB6A81 /* CircleLabel */ = { + isa = PBXGroup; + children = ( + 324C34DA702531C7D93BFB1376FFD3FA /* Classes */, + ); + path = CircleLabel; + sourceTree = ""; + }; + B10D40EB32FB3B5D4925151F1EE6ADC0 /* Targets Support Files */ = { + isa = PBXGroup; + children = ( + 61C97C8C5ACFC2FC0076F9674CCCD692 /* Pods-CircleLabel_Example */, + 64E66FA7564B117BBED68A2927E796C2 /* Pods-CircleLabel_Tests */, + ); + name = "Targets Support Files"; + sourceTree = ""; + }; + BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */ = { + isa = PBXGroup; + children = ( + D35AF013A5F0BAD4F32504907A52519E /* iOS */, + ); + name = Frameworks; + sourceTree = ""; + }; + D35AF013A5F0BAD4F32504907A52519E /* iOS */ = { + isa = PBXGroup; + children = ( + 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */, + ); + name = iOS; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXHeadersBuildPhase section */ + 17FDDF455218A0718D41535C89F8E4F7 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 134F4EAB792C5F43FA9D1671BDA1A9DC /* Pods-CircleLabel_Example-umbrella.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 4E7988A2A6B58F4F2946E6FD171CD68E /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 97699B56A0E147BD1136718FB28258F5 /* CircleLabel-umbrella.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + DF3DA6A01BA531B214961964D0F9517E /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 0B4F7DE2441C84B3C51DBAB4FC9E53AB /* Pods-CircleLabel_Tests-umbrella.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXHeadersBuildPhase section */ + +/* Begin PBXNativeTarget section */ + 45A11788D68F569DEC137D8FBFFBC7BE /* Pods-CircleLabel_Tests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 4CAA145B06BD9775C06B246312F76EEA /* Build configuration list for PBXNativeTarget "Pods-CircleLabel_Tests" */; + buildPhases = ( + 9772157B4D77F0597DB04D823AF6085F /* Sources */, + A8E3F247F6F26B8005AC7199EF373693 /* Frameworks */, + DF3DA6A01BA531B214961964D0F9517E /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "Pods-CircleLabel_Tests"; + productName = "Pods-CircleLabel_Tests"; + productReference = 1120A7F0779C397FBB50298435EF9CF4 /* Pods_CircleLabel_Tests.framework */; + productType = "com.apple.product-type.framework"; + }; + 6564BF5FDE7E753CA40040FF1C55A03B /* Pods-CircleLabel_Example */ = { + isa = PBXNativeTarget; + buildConfigurationList = 9057EB7F19E91F25FFF6AC0D2229DF35 /* Build configuration list for PBXNativeTarget "Pods-CircleLabel_Example" */; + buildPhases = ( + 2CC47436322076EF65E606F5517BB737 /* Sources */, + C84D2808732C5CF8D83A54E3E787713C /* Frameworks */, + 17FDDF455218A0718D41535C89F8E4F7 /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + E0CC4FA2F28E0B73EF8155B94E308C06 /* PBXTargetDependency */, + ); + name = "Pods-CircleLabel_Example"; + productName = "Pods-CircleLabel_Example"; + productReference = 542259185F7F0A7E71902926D60C85A1 /* Pods_CircleLabel_Example.framework */; + productType = "com.apple.product-type.framework"; + }; + 6BE84EB874EC091947E10AF4A6968A6E /* CircleLabel */ = { + isa = PBXNativeTarget; + buildConfigurationList = 8D36971BA3E771C751154A4BC703E0A6 /* Build configuration list for PBXNativeTarget "CircleLabel" */; + buildPhases = ( + FD19156DFA7E11420536FF4AC1B31F9C /* Sources */, + D80BAA9E85E0503399E3CD6AB42E091E /* Frameworks */, + 4E7988A2A6B58F4F2946E6FD171CD68E /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = CircleLabel; + productName = CircleLabel; + productReference = DCDCDF2C940098E050927483DD91D97D /* CircleLabel.framework */; + productType = "com.apple.product-type.framework"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + D41D8CD98F00B204E9800998ECF8427E /* Project object */ = { + isa = PBXProject; + attributes = { + LastSwiftUpdateCheck = 0830; + LastUpgradeCheck = 0900; + TargetAttributes = { + 6BE84EB874EC091947E10AF4A6968A6E = { + LastSwiftMigration = 0900; + }; + }; + }; + buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = 7DB346D0F39D3F0E887471402A8071AB; + productRefGroup = 31F57BB142E8C90F9B00085F6BFCE878 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 6BE84EB874EC091947E10AF4A6968A6E /* CircleLabel */, + 6564BF5FDE7E753CA40040FF1C55A03B /* Pods-CircleLabel_Example */, + 45A11788D68F569DEC137D8FBFFBC7BE /* Pods-CircleLabel_Tests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXSourcesBuildPhase section */ + 2CC47436322076EF65E606F5517BB737 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 0B7B6B811D2C031EEB409A9CFA60CD3C /* Pods-CircleLabel_Example-dummy.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 9772157B4D77F0597DB04D823AF6085F /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + FDD60F4F32F983DC44AA6BECAC9CD680 /* Pods-CircleLabel_Tests-dummy.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + FD19156DFA7E11420536FF4AC1B31F9C /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + D7D093FBD2E591D8181C30A198B466A4 /* CircleLabel-dummy.m in Sources */, + 3F23C1921F7CE91400A3B75D /* CircleLabel.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + E0CC4FA2F28E0B73EF8155B94E308C06 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = CircleLabel; + target = 6BE84EB874EC091947E10AF4A6968A6E /* CircleLabel */; + targetProxy = 585EB99F6D0741897A305CE663B871DB /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + 2574AC4F477C62DA6EA2875290FDA46D /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 378E62D8EFDB883EEDEF5A0799197BA8 /* Pods-CircleLabel_Tests.debug.xcconfig */; + buildSettings = { + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = dwarf; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_NO_COMMON_BLOCKS = YES; + INFOPLIST_FILE = "Target Support Files/Pods-CircleLabel_Tests/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.3; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MACH_O_TYPE = staticlib; + MODULEMAP_FILE = "Target Support Files/Pods-CircleLabel_Tests/Pods-CircleLabel_Tests.modulemap"; + MTL_ENABLE_DEBUG_INFO = YES; + OTHER_LDFLAGS = ""; + OTHER_LIBTOOLFLAGS = ""; + PODS_ROOT = "$(SRCROOT)"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_NAME = Pods_CircleLabel_Tests; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + 345CC476DF4A7516DBD2220CF5035FF3 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + 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; + 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; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGNING_REQUIRED = NO; + COPY_PHASE_STRIP = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "POD_CONFIGURATION_DEBUG=1", + "DEBUG=1", + "$(inherited)", + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + ONLY_ACTIVE_ARCH = YES; + PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; + STRIP_INSTALLED_PRODUCT = NO; + SYMROOT = "${SRCROOT}/../build"; + }; + name = Debug; + }; + 585CB92774F066B9D4FE37B7C3587C15 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 681C414FCEC9D345A67B5D4EC39434AD /* CircleLabel.xcconfig */; + buildSettings = { + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_NO_COMMON_BLOCKS = YES; + GCC_PREFIX_HEADER = "Target Support Files/CircleLabel/CircleLabel-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/CircleLabel/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MODULEMAP_FILE = "Target Support Files/CircleLabel/CircleLabel.modulemap"; + MTL_ENABLE_DEBUG_INFO = NO; + PRODUCT_NAME = CircleLabel; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; + SWIFT_SWIFT3_OBJC_INFERENCE = On; + SWIFT_VERSION = 4.0; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + 61A1318D2DD8C433EACF563F97C6A2F0 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 6BD7B3F31D2F69F6B0EB2B94973116C6 /* Pods-CircleLabel_Tests.release.xcconfig */; + buildSettings = { + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_NO_COMMON_BLOCKS = YES; + INFOPLIST_FILE = "Target Support Files/Pods-CircleLabel_Tests/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.3; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MACH_O_TYPE = staticlib; + MODULEMAP_FILE = "Target Support Files/Pods-CircleLabel_Tests/Pods-CircleLabel_Tests.modulemap"; + MTL_ENABLE_DEBUG_INFO = NO; + OTHER_LDFLAGS = ""; + OTHER_LIBTOOLFLAGS = ""; + PODS_ROOT = "$(SRCROOT)"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_NAME = Pods_CircleLabel_Tests; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + 717E77604BFBB04BEAF56608A1CB2EDE /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + 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; + 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; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGNING_REQUIRED = NO; + COPY_PHASE_STRIP = YES; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_NO_COMMON_BLOCKS = YES; + GCC_PREPROCESSOR_DEFINITIONS = ( + "POD_CONFIGURATION_RELEASE=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; + STRIP_INSTALLED_PRODUCT = NO; + SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; + SYMROOT = "${SRCROOT}/../build"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + B60456DAF17EE191E9F1853B32F79F3D /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 1E23D46B313089AEE95690D06EE2784C /* Pods-CircleLabel_Example.debug.xcconfig */; + buildSettings = { + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = dwarf; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_NO_COMMON_BLOCKS = YES; + INFOPLIST_FILE = "Target Support Files/Pods-CircleLabel_Example/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.3; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MACH_O_TYPE = staticlib; + MODULEMAP_FILE = "Target Support Files/Pods-CircleLabel_Example/Pods-CircleLabel_Example.modulemap"; + MTL_ENABLE_DEBUG_INFO = YES; + OTHER_LDFLAGS = ""; + OTHER_LIBTOOLFLAGS = ""; + PODS_ROOT = "$(SRCROOT)"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_NAME = Pods_CircleLabel_Example; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 3.0; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + E55B413014D7B4565F88C86AA11E95E1 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 0830C9F5B96A61139EABB57A991D430D /* Pods-CircleLabel_Example.release.xcconfig */; + buildSettings = { + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_NO_COMMON_BLOCKS = YES; + INFOPLIST_FILE = "Target Support Files/Pods-CircleLabel_Example/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.3; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MACH_O_TYPE = staticlib; + MODULEMAP_FILE = "Target Support Files/Pods-CircleLabel_Example/Pods-CircleLabel_Example.modulemap"; + MTL_ENABLE_DEBUG_INFO = NO; + OTHER_LDFLAGS = ""; + OTHER_LIBTOOLFLAGS = ""; + PODS_ROOT = "$(SRCROOT)"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_NAME = Pods_CircleLabel_Example; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; + SWIFT_VERSION = 3.0; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + ED4AD0122B11D01DD9DA73A6014BE69B /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 681C414FCEC9D345A67B5D4EC39434AD /* CircleLabel.xcconfig */; + buildSettings = { + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = dwarf; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_NO_COMMON_BLOCKS = YES; + GCC_PREFIX_HEADER = "Target Support Files/CircleLabel/CircleLabel-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/CircleLabel/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MODULEMAP_FILE = "Target Support Files/CircleLabel/CircleLabel.modulemap"; + MTL_ENABLE_DEBUG_INFO = YES; + PRODUCT_NAME = CircleLabel; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_SWIFT3_OBJC_INFERENCE = On; + SWIFT_VERSION = 4.0; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 345CC476DF4A7516DBD2220CF5035FF3 /* Debug */, + 717E77604BFBB04BEAF56608A1CB2EDE /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 4CAA145B06BD9775C06B246312F76EEA /* Build configuration list for PBXNativeTarget "Pods-CircleLabel_Tests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 2574AC4F477C62DA6EA2875290FDA46D /* Debug */, + 61A1318D2DD8C433EACF563F97C6A2F0 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 8D36971BA3E771C751154A4BC703E0A6 /* Build configuration list for PBXNativeTarget "CircleLabel" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + ED4AD0122B11D01DD9DA73A6014BE69B /* Debug */, + 585CB92774F066B9D4FE37B7C3587C15 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 9057EB7F19E91F25FFF6AC0D2229DF35 /* Build configuration list for PBXNativeTarget "Pods-CircleLabel_Example" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + B60456DAF17EE191E9F1853B32F79F3D /* Debug */, + E55B413014D7B4565F88C86AA11E95E1 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */; +} diff --git a/Example/Pods/Pods.xcodeproj/xcuserdata/Gio.xcuserdatad/xcschemes/CircleLabel.xcscheme b/Example/Pods/Pods.xcodeproj/xcuserdata/Gio.xcuserdatad/xcschemes/CircleLabel.xcscheme new file mode 100644 index 0000000..e826f3b --- /dev/null +++ b/Example/Pods/Pods.xcodeproj/xcuserdata/Gio.xcuserdatad/xcschemes/CircleLabel.xcscheme @@ -0,0 +1,73 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Example/Pods/Pods.xcodeproj/xcuserdata/Gio.xcuserdatad/xcschemes/Pods-CircleLabel_Example.xcscheme b/Example/Pods/Pods.xcodeproj/xcuserdata/Gio.xcuserdatad/xcschemes/Pods-CircleLabel_Example.xcscheme new file mode 100644 index 0000000..f8b3ad1 --- /dev/null +++ b/Example/Pods/Pods.xcodeproj/xcuserdata/Gio.xcuserdatad/xcschemes/Pods-CircleLabel_Example.xcscheme @@ -0,0 +1,73 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Example/Pods/Pods.xcodeproj/xcuserdata/Gio.xcuserdatad/xcschemes/Pods-CircleLabel_Tests.xcscheme b/Example/Pods/Pods.xcodeproj/xcuserdata/Gio.xcuserdatad/xcschemes/Pods-CircleLabel_Tests.xcscheme new file mode 100644 index 0000000..5a1aff6 --- /dev/null +++ b/Example/Pods/Pods.xcodeproj/xcuserdata/Gio.xcuserdatad/xcschemes/Pods-CircleLabel_Tests.xcscheme @@ -0,0 +1,73 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Example/Pods/Pods.xcodeproj/xcuserdata/Gio.xcuserdatad/xcschemes/xcschememanagement.plist b/Example/Pods/Pods.xcodeproj/xcuserdata/Gio.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 0000000..9a61dfc --- /dev/null +++ b/Example/Pods/Pods.xcodeproj/xcuserdata/Gio.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,26 @@ + + + + + SchemeUserState + + CircleLabel.xcscheme + + isShown + + + Pods-CircleLabel_Example.xcscheme + + isShown + + + Pods-CircleLabel_Tests.xcscheme + + isShown + + + + SuppressBuildableAutocreation + + + diff --git a/Example/Pods/Target Support Files/CircleLabel/CircleLabel-dummy.m b/Example/Pods/Target Support Files/CircleLabel/CircleLabel-dummy.m new file mode 100644 index 0000000..33eaaae --- /dev/null +++ b/Example/Pods/Target Support Files/CircleLabel/CircleLabel-dummy.m @@ -0,0 +1,5 @@ +#import +@interface PodsDummy_CircleLabel : NSObject +@end +@implementation PodsDummy_CircleLabel +@end diff --git a/Example/Pods/Target Support Files/CircleLabel/CircleLabel-prefix.pch b/Example/Pods/Target Support Files/CircleLabel/CircleLabel-prefix.pch new file mode 100644 index 0000000..beb2a24 --- /dev/null +++ b/Example/Pods/Target Support Files/CircleLabel/CircleLabel-prefix.pch @@ -0,0 +1,12 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + diff --git a/Example/Pods/Target Support Files/CircleLabel/CircleLabel-umbrella.h b/Example/Pods/Target Support Files/CircleLabel/CircleLabel-umbrella.h new file mode 100644 index 0000000..f5fda0e --- /dev/null +++ b/Example/Pods/Target Support Files/CircleLabel/CircleLabel-umbrella.h @@ -0,0 +1,16 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + + +FOUNDATION_EXPORT double CircleLabelVersionNumber; +FOUNDATION_EXPORT const unsigned char CircleLabelVersionString[]; + diff --git a/Example/Pods/Target Support Files/CircleLabel/CircleLabel.modulemap b/Example/Pods/Target Support Files/CircleLabel/CircleLabel.modulemap new file mode 100644 index 0000000..740b211 --- /dev/null +++ b/Example/Pods/Target Support Files/CircleLabel/CircleLabel.modulemap @@ -0,0 +1,6 @@ +framework module CircleLabel { + umbrella header "CircleLabel-umbrella.h" + + export * + module * { export * } +} diff --git a/Example/Pods/Target Support Files/CircleLabel/CircleLabel.xcconfig b/Example/Pods/Target Support Files/CircleLabel/CircleLabel.xcconfig new file mode 100644 index 0000000..1ba2b6d --- /dev/null +++ b/Example/Pods/Target Support Files/CircleLabel/CircleLabel.xcconfig @@ -0,0 +1,10 @@ +CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/CircleLabel +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" +OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" +PODS_BUILD_DIR = $BUILD_DIR +PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_ROOT = ${SRCROOT} +PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. +PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} +SKIP_INSTALL = YES diff --git a/Example/Pods/Target Support Files/CircleLabel/Info.plist b/Example/Pods/Target Support Files/CircleLabel/Info.plist new file mode 100644 index 0000000..161a9d3 --- /dev/null +++ b/Example/Pods/Target Support Files/CircleLabel/Info.plist @@ -0,0 +1,26 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + ${PRODUCT_BUNDLE_IDENTIFIER} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + FMWK + CFBundleShortVersionString + 0.1.0 + CFBundleSignature + ???? + CFBundleVersion + ${CURRENT_PROJECT_VERSION} + NSPrincipalClass + + + diff --git a/Example/Pods/Target Support Files/Pods-CircleLabel_Example/Info.plist b/Example/Pods/Target Support Files/Pods-CircleLabel_Example/Info.plist new file mode 100644 index 0000000..2243fe6 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-CircleLabel_Example/Info.plist @@ -0,0 +1,26 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + ${PRODUCT_BUNDLE_IDENTIFIER} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0.0 + CFBundleSignature + ???? + CFBundleVersion + ${CURRENT_PROJECT_VERSION} + NSPrincipalClass + + + diff --git a/Example/Pods/Target Support Files/Pods-CircleLabel_Example/Pods-CircleLabel_Example-acknowledgements.markdown b/Example/Pods/Target Support Files/Pods-CircleLabel_Example/Pods-CircleLabel_Example-acknowledgements.markdown new file mode 100644 index 0000000..224771c --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-CircleLabel_Example/Pods-CircleLabel_Example-acknowledgements.markdown @@ -0,0 +1,26 @@ +# Acknowledgements +This application makes use of the following third party libraries: + +## CircleLabel + +Copyright (c) 2017 Gio Andriadze + +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: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +Generated by CocoaPods - https://cocoapods.org diff --git a/Example/Pods/Target Support Files/Pods-CircleLabel_Example/Pods-CircleLabel_Example-acknowledgements.plist b/Example/Pods/Target Support Files/Pods-CircleLabel_Example/Pods-CircleLabel_Example-acknowledgements.plist new file mode 100644 index 0000000..0d33caa --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-CircleLabel_Example/Pods-CircleLabel_Example-acknowledgements.plist @@ -0,0 +1,58 @@ + + + + + PreferenceSpecifiers + + + FooterText + This application makes use of the following third party libraries: + Title + Acknowledgements + Type + PSGroupSpecifier + + + FooterText + Copyright (c) 2017 Gio Andriadze <g.andriadze2@gmail.com> + +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: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + License + MIT + Title + CircleLabel + Type + PSGroupSpecifier + + + FooterText + Generated by CocoaPods - https://cocoapods.org + Title + + Type + PSGroupSpecifier + + + StringsTable + Acknowledgements + Title + Acknowledgements + + diff --git a/Example/Pods/Target Support Files/Pods-CircleLabel_Example/Pods-CircleLabel_Example-dummy.m b/Example/Pods/Target Support Files/Pods-CircleLabel_Example/Pods-CircleLabel_Example-dummy.m new file mode 100644 index 0000000..f59b4c1 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-CircleLabel_Example/Pods-CircleLabel_Example-dummy.m @@ -0,0 +1,5 @@ +#import +@interface PodsDummy_Pods_CircleLabel_Example : NSObject +@end +@implementation PodsDummy_Pods_CircleLabel_Example +@end diff --git a/Example/Pods/Target Support Files/Pods-CircleLabel_Example/Pods-CircleLabel_Example-frameworks.sh b/Example/Pods/Target Support Files/Pods-CircleLabel_Example/Pods-CircleLabel_Example-frameworks.sh new file mode 100755 index 0000000..8a76b05 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-CircleLabel_Example/Pods-CircleLabel_Example-frameworks.sh @@ -0,0 +1,99 @@ +#!/bin/sh +set -e + +echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" +mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + +SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" + +install_framework() +{ + if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then + local source="${BUILT_PRODUCTS_DIR}/$1" + elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then + local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" + elif [ -r "$1" ]; then + local source="$1" + fi + + local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + + if [ -L "${source}" ]; then + echo "Symlinked..." + source="$(readlink "${source}")" + fi + + # use filter instead of exclude so missing patterns dont' throw errors + echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" + rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" + + local basename + basename="$(basename -s .framework "$1")" + binary="${destination}/${basename}.framework/${basename}" + if ! [ -r "$binary" ]; then + binary="${destination}/${basename}" + fi + + # Strip invalid architectures so "fat" simulator / device frameworks work on device + if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then + strip_invalid_archs "$binary" + fi + + # Resign the code if required by the build settings to avoid unstable apps + code_sign_if_enabled "${destination}/$(basename "$1")" + + # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. + if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then + local swift_runtime_libs + swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) + for lib in $swift_runtime_libs; do + echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" + rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" + code_sign_if_enabled "${destination}/${lib}" + done + fi +} + +# Signs a framework with the provided identity +code_sign_if_enabled() { + if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then + # Use the current code_sign_identitiy + echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" + local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements '$1'" + + if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then + code_sign_cmd="$code_sign_cmd &" + fi + echo "$code_sign_cmd" + eval "$code_sign_cmd" + fi +} + +# Strip invalid architectures +strip_invalid_archs() { + binary="$1" + # Get architectures for current file + archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" + stripped="" + for arch in $archs; do + if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then + # Strip non-valid architectures in-place + lipo -remove "$arch" -output "$binary" "$binary" || exit 1 + stripped="$stripped $arch" + fi + done + if [[ "$stripped" ]]; then + echo "Stripped $binary of architectures:$stripped" + fi +} + + +if [[ "$CONFIGURATION" == "Debug" ]]; then + install_framework "$BUILT_PRODUCTS_DIR/CircleLabel/CircleLabel.framework" +fi +if [[ "$CONFIGURATION" == "Release" ]]; then + install_framework "$BUILT_PRODUCTS_DIR/CircleLabel/CircleLabel.framework" +fi +if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then + wait +fi diff --git a/Example/Pods/Target Support Files/Pods-CircleLabel_Example/Pods-CircleLabel_Example-resources.sh b/Example/Pods/Target Support Files/Pods-CircleLabel_Example/Pods-CircleLabel_Example-resources.sh new file mode 100755 index 0000000..aed060f --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-CircleLabel_Example/Pods-CircleLabel_Example-resources.sh @@ -0,0 +1,102 @@ +#!/bin/sh +set -e + +mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" + +RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt +> "$RESOURCES_TO_COPY" + +XCASSET_FILES=() + +case "${TARGETED_DEVICE_FAMILY}" in + 1,2) + TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" + ;; + 1) + TARGET_DEVICE_ARGS="--target-device iphone" + ;; + 2) + TARGET_DEVICE_ARGS="--target-device ipad" + ;; + 3) + TARGET_DEVICE_ARGS="--target-device tv" + ;; + 4) + TARGET_DEVICE_ARGS="--target-device watch" + ;; + *) + TARGET_DEVICE_ARGS="--target-device mac" + ;; +esac + +install_resource() +{ + if [[ "$1" = /* ]] ; then + RESOURCE_PATH="$1" + else + RESOURCE_PATH="${PODS_ROOT}/$1" + fi + if [[ ! -e "$RESOURCE_PATH" ]] ; then + cat << EOM +error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. +EOM + exit 1 + fi + case $RESOURCE_PATH in + *.storyboard) + echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" + ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} + ;; + *.xib) + echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" + ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} + ;; + *.framework) + echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + echo "rsync -av $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + rsync -av "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + ;; + *.xcdatamodel) + echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" + xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" + ;; + *.xcdatamodeld) + echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" + xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" + ;; + *.xcmappingmodel) + echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" + xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" + ;; + *.xcassets) + ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" + XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") + ;; + *) + echo "$RESOURCE_PATH" + echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" + ;; + esac +} + +mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then + mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" + rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +fi +rm -f "$RESOURCES_TO_COPY" + +if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] +then + # Find all other xcassets (this unfortunately includes those of path pods and other targets). + OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) + while read line; do + if [[ $line != "${PODS_ROOT}*" ]]; then + XCASSET_FILES+=("$line") + fi + done <<<"$OTHER_XCASSETS" + + printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +fi diff --git a/Example/Pods/Target Support Files/Pods-CircleLabel_Example/Pods-CircleLabel_Example-umbrella.h b/Example/Pods/Target Support Files/Pods-CircleLabel_Example/Pods-CircleLabel_Example-umbrella.h new file mode 100644 index 0000000..b023f09 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-CircleLabel_Example/Pods-CircleLabel_Example-umbrella.h @@ -0,0 +1,16 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + + +FOUNDATION_EXPORT double Pods_CircleLabel_ExampleVersionNumber; +FOUNDATION_EXPORT const unsigned char Pods_CircleLabel_ExampleVersionString[]; + diff --git a/Example/Pods/Target Support Files/Pods-CircleLabel_Example/Pods-CircleLabel_Example.debug.xcconfig b/Example/Pods/Target Support Files/Pods-CircleLabel_Example/Pods-CircleLabel_Example.debug.xcconfig new file mode 100644 index 0000000..613392b --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-CircleLabel_Example/Pods-CircleLabel_Example.debug.xcconfig @@ -0,0 +1,11 @@ +ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES +FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/CircleLabel" +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' +OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/CircleLabel/CircleLabel.framework/Headers" +OTHER_LDFLAGS = $(inherited) -framework "CircleLabel" +OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" +PODS_BUILD_DIR = $BUILD_DIR +PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_PODFILE_DIR_PATH = ${SRCROOT}/. +PODS_ROOT = ${SRCROOT}/Pods diff --git a/Example/Pods/Target Support Files/Pods-CircleLabel_Example/Pods-CircleLabel_Example.modulemap b/Example/Pods/Target Support Files/Pods-CircleLabel_Example/Pods-CircleLabel_Example.modulemap new file mode 100644 index 0000000..905cbc6 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-CircleLabel_Example/Pods-CircleLabel_Example.modulemap @@ -0,0 +1,6 @@ +framework module Pods_CircleLabel_Example { + umbrella header "Pods-CircleLabel_Example-umbrella.h" + + export * + module * { export * } +} diff --git a/Example/Pods/Target Support Files/Pods-CircleLabel_Example/Pods-CircleLabel_Example.release.xcconfig b/Example/Pods/Target Support Files/Pods-CircleLabel_Example/Pods-CircleLabel_Example.release.xcconfig new file mode 100644 index 0000000..613392b --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-CircleLabel_Example/Pods-CircleLabel_Example.release.xcconfig @@ -0,0 +1,11 @@ +ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES +FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/CircleLabel" +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' +OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/CircleLabel/CircleLabel.framework/Headers" +OTHER_LDFLAGS = $(inherited) -framework "CircleLabel" +OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" +PODS_BUILD_DIR = $BUILD_DIR +PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_PODFILE_DIR_PATH = ${SRCROOT}/. +PODS_ROOT = ${SRCROOT}/Pods diff --git a/Example/Pods/Target Support Files/Pods-CircleLabel_Tests/Info.plist b/Example/Pods/Target Support Files/Pods-CircleLabel_Tests/Info.plist new file mode 100644 index 0000000..2243fe6 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-CircleLabel_Tests/Info.plist @@ -0,0 +1,26 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + ${PRODUCT_BUNDLE_IDENTIFIER} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0.0 + CFBundleSignature + ???? + CFBundleVersion + ${CURRENT_PROJECT_VERSION} + NSPrincipalClass + + + diff --git a/Example/Pods/Target Support Files/Pods-CircleLabel_Tests/Pods-CircleLabel_Tests-acknowledgements.markdown b/Example/Pods/Target Support Files/Pods-CircleLabel_Tests/Pods-CircleLabel_Tests-acknowledgements.markdown new file mode 100644 index 0000000..102af75 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-CircleLabel_Tests/Pods-CircleLabel_Tests-acknowledgements.markdown @@ -0,0 +1,3 @@ +# Acknowledgements +This application makes use of the following third party libraries: +Generated by CocoaPods - https://cocoapods.org diff --git a/Example/Pods/Target Support Files/Pods-CircleLabel_Tests/Pods-CircleLabel_Tests-acknowledgements.plist b/Example/Pods/Target Support Files/Pods-CircleLabel_Tests/Pods-CircleLabel_Tests-acknowledgements.plist new file mode 100644 index 0000000..7acbad1 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-CircleLabel_Tests/Pods-CircleLabel_Tests-acknowledgements.plist @@ -0,0 +1,29 @@ + + + + + PreferenceSpecifiers + + + FooterText + This application makes use of the following third party libraries: + Title + Acknowledgements + Type + PSGroupSpecifier + + + FooterText + Generated by CocoaPods - https://cocoapods.org + Title + + Type + PSGroupSpecifier + + + StringsTable + Acknowledgements + Title + Acknowledgements + + diff --git a/Example/Pods/Target Support Files/Pods-CircleLabel_Tests/Pods-CircleLabel_Tests-dummy.m b/Example/Pods/Target Support Files/Pods-CircleLabel_Tests/Pods-CircleLabel_Tests-dummy.m new file mode 100644 index 0000000..28a448a --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-CircleLabel_Tests/Pods-CircleLabel_Tests-dummy.m @@ -0,0 +1,5 @@ +#import +@interface PodsDummy_Pods_CircleLabel_Tests : NSObject +@end +@implementation PodsDummy_Pods_CircleLabel_Tests +@end diff --git a/Example/Pods/Target Support Files/Pods-CircleLabel_Tests/Pods-CircleLabel_Tests-frameworks.sh b/Example/Pods/Target Support Files/Pods-CircleLabel_Tests/Pods-CircleLabel_Tests-frameworks.sh new file mode 100755 index 0000000..0f29f13 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-CircleLabel_Tests/Pods-CircleLabel_Tests-frameworks.sh @@ -0,0 +1,92 @@ +#!/bin/sh +set -e + +echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" +mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + +SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" + +install_framework() +{ + if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then + local source="${BUILT_PRODUCTS_DIR}/$1" + elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then + local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" + elif [ -r "$1" ]; then + local source="$1" + fi + + local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + + if [ -L "${source}" ]; then + echo "Symlinked..." + source="$(readlink "${source}")" + fi + + # use filter instead of exclude so missing patterns dont' throw errors + echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" + rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" + + local basename + basename="$(basename -s .framework "$1")" + binary="${destination}/${basename}.framework/${basename}" + if ! [ -r "$binary" ]; then + binary="${destination}/${basename}" + fi + + # Strip invalid architectures so "fat" simulator / device frameworks work on device + if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then + strip_invalid_archs "$binary" + fi + + # Resign the code if required by the build settings to avoid unstable apps + code_sign_if_enabled "${destination}/$(basename "$1")" + + # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. + if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then + local swift_runtime_libs + swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) + for lib in $swift_runtime_libs; do + echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" + rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" + code_sign_if_enabled "${destination}/${lib}" + done + fi +} + +# Signs a framework with the provided identity +code_sign_if_enabled() { + if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then + # Use the current code_sign_identitiy + echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" + local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements '$1'" + + if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then + code_sign_cmd="$code_sign_cmd &" + fi + echo "$code_sign_cmd" + eval "$code_sign_cmd" + fi +} + +# Strip invalid architectures +strip_invalid_archs() { + binary="$1" + # Get architectures for current file + archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" + stripped="" + for arch in $archs; do + if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then + # Strip non-valid architectures in-place + lipo -remove "$arch" -output "$binary" "$binary" || exit 1 + stripped="$stripped $arch" + fi + done + if [[ "$stripped" ]]; then + echo "Stripped $binary of architectures:$stripped" + fi +} + +if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then + wait +fi diff --git a/Example/Pods/Target Support Files/Pods-CircleLabel_Tests/Pods-CircleLabel_Tests-resources.sh b/Example/Pods/Target Support Files/Pods-CircleLabel_Tests/Pods-CircleLabel_Tests-resources.sh new file mode 100755 index 0000000..aed060f --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-CircleLabel_Tests/Pods-CircleLabel_Tests-resources.sh @@ -0,0 +1,102 @@ +#!/bin/sh +set -e + +mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" + +RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt +> "$RESOURCES_TO_COPY" + +XCASSET_FILES=() + +case "${TARGETED_DEVICE_FAMILY}" in + 1,2) + TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" + ;; + 1) + TARGET_DEVICE_ARGS="--target-device iphone" + ;; + 2) + TARGET_DEVICE_ARGS="--target-device ipad" + ;; + 3) + TARGET_DEVICE_ARGS="--target-device tv" + ;; + 4) + TARGET_DEVICE_ARGS="--target-device watch" + ;; + *) + TARGET_DEVICE_ARGS="--target-device mac" + ;; +esac + +install_resource() +{ + if [[ "$1" = /* ]] ; then + RESOURCE_PATH="$1" + else + RESOURCE_PATH="${PODS_ROOT}/$1" + fi + if [[ ! -e "$RESOURCE_PATH" ]] ; then + cat << EOM +error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. +EOM + exit 1 + fi + case $RESOURCE_PATH in + *.storyboard) + echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" + ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} + ;; + *.xib) + echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" + ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} + ;; + *.framework) + echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + echo "rsync -av $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + rsync -av "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + ;; + *.xcdatamodel) + echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" + xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" + ;; + *.xcdatamodeld) + echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" + xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" + ;; + *.xcmappingmodel) + echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" + xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" + ;; + *.xcassets) + ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" + XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") + ;; + *) + echo "$RESOURCE_PATH" + echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" + ;; + esac +} + +mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then + mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" + rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +fi +rm -f "$RESOURCES_TO_COPY" + +if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] +then + # Find all other xcassets (this unfortunately includes those of path pods and other targets). + OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) + while read line; do + if [[ $line != "${PODS_ROOT}*" ]]; then + XCASSET_FILES+=("$line") + fi + done <<<"$OTHER_XCASSETS" + + printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +fi diff --git a/Example/Pods/Target Support Files/Pods-CircleLabel_Tests/Pods-CircleLabel_Tests-umbrella.h b/Example/Pods/Target Support Files/Pods-CircleLabel_Tests/Pods-CircleLabel_Tests-umbrella.h new file mode 100644 index 0000000..9a3b3e8 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-CircleLabel_Tests/Pods-CircleLabel_Tests-umbrella.h @@ -0,0 +1,16 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + + +FOUNDATION_EXPORT double Pods_CircleLabel_TestsVersionNumber; +FOUNDATION_EXPORT const unsigned char Pods_CircleLabel_TestsVersionString[]; + diff --git a/Example/Pods/Target Support Files/Pods-CircleLabel_Tests/Pods-CircleLabel_Tests.debug.xcconfig b/Example/Pods/Target Support Files/Pods-CircleLabel_Tests/Pods-CircleLabel_Tests.debug.xcconfig new file mode 100644 index 0000000..113bb5c --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-CircleLabel_Tests/Pods-CircleLabel_Tests.debug.xcconfig @@ -0,0 +1,8 @@ +FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/CircleLabel" +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' +OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/CircleLabel/CircleLabel.framework/Headers" +PODS_BUILD_DIR = $BUILD_DIR +PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_PODFILE_DIR_PATH = ${SRCROOT}/. +PODS_ROOT = ${SRCROOT}/Pods diff --git a/Example/Pods/Target Support Files/Pods-CircleLabel_Tests/Pods-CircleLabel_Tests.modulemap b/Example/Pods/Target Support Files/Pods-CircleLabel_Tests/Pods-CircleLabel_Tests.modulemap new file mode 100644 index 0000000..33d7a49 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-CircleLabel_Tests/Pods-CircleLabel_Tests.modulemap @@ -0,0 +1,6 @@ +framework module Pods_CircleLabel_Tests { + umbrella header "Pods-CircleLabel_Tests-umbrella.h" + + export * + module * { export * } +} diff --git a/Example/Pods/Target Support Files/Pods-CircleLabel_Tests/Pods-CircleLabel_Tests.release.xcconfig b/Example/Pods/Target Support Files/Pods-CircleLabel_Tests/Pods-CircleLabel_Tests.release.xcconfig new file mode 100644 index 0000000..113bb5c --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-CircleLabel_Tests/Pods-CircleLabel_Tests.release.xcconfig @@ -0,0 +1,8 @@ +FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/CircleLabel" +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' +OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/CircleLabel/CircleLabel.framework/Headers" +PODS_BUILD_DIR = $BUILD_DIR +PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_PODFILE_DIR_PATH = ${SRCROOT}/. +PODS_ROOT = ${SRCROOT}/Pods diff --git a/Example/Tests/Info.plist b/Example/Tests/Info.plist new file mode 100644 index 0000000..ba72822 --- /dev/null +++ b/Example/Tests/Info.plist @@ -0,0 +1,24 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + BNDL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1 + + diff --git a/Example/Tests/Tests.swift b/Example/Tests/Tests.swift new file mode 100644 index 0000000..f4b5878 --- /dev/null +++ b/Example/Tests/Tests.swift @@ -0,0 +1,29 @@ +import UIKit +import XCTest +import CircleLabel + +class Tests: XCTestCase { + + override func setUp() { + super.setUp() + // Put setup code here. This method is called before the invocation of each test method in the class. + } + + override func tearDown() { + // Put teardown code here. This method is called after the invocation of each test method in the class. + super.tearDown() + } + + func testExample() { + // This is an example of a functional test case. + XCTAssert(true, "Pass") + } + + func testPerformanceExample() { + // This is an example of a performance test case. + self.measure() { + // Put the code you want to measure the time of here. + } + } + +} diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..d084e14 --- /dev/null +++ b/LICENSE @@ -0,0 +1,19 @@ +Copyright (c) 2017 Gio Andriadze + +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: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/Lib/CircleLabel.swift b/Lib/CircleLabel.swift new file mode 100644 index 0000000..cb80d23 --- /dev/null +++ b/Lib/CircleLabel.swift @@ -0,0 +1,172 @@ +// +// CircularImageView.swift +// CircularText +// +// Created by Gio Andriadze on 9/27/17. +// Copyright © 2017 Casatrade Ltd. All rights reserved. +// + +import UIKit + +@IBDesignable +class CircleLabel : UIImageView +{ + static let DEFAULT_COLOR_SCHEME:[UInt32] = [ + 0xfff16364, + 0xfff58559, + 0xfff9a43e, + 0xffe4c62e, + 0xff67bf74, + 0xff59a2be, + 0xff2093cd, + 0xffad62a7, + 0xff805781 + ] + + var COLOR_SCHEME:[UInt32] = CircleLabel.DEFAULT_COLOR_SCHEME{ + didSet{ + setCircleAndText(); + } + } + + @IBInspectable var textColor:UIColor = UIColor.white{ + didSet{ + setCircleAndText() + } + } + + @IBInspectable var text:String = "" { + didSet{ + setCircleAndText() + } + } + @IBInspectable var colorFromText:String = ""{ + didSet{ + setCircleAndText() + } + } + @IBInspectable var padding:Float = 0.3{ + didSet{ + setCircleAndText() + } + } + + @IBInspectable var useTextColor:Bool = true{ + didSet{ + setCircleAndText() + } + } + + @IBInspectable var circleColor:UIColor = UIColor.gray{ + didSet{ + if(!useTextColor){ + setCircleAndText() + } + } + } + + @IBInspectable var amountLines:Int = 1{ + didSet{ + setCircleAndText() + } + } + + + override init(frame:CGRect) + { + super.init(frame: frame) + + setCircleAndText(); + } + + init(frame:CGRect, text:String, colorText:String) + { + + super.init(frame: frame) + self.text = text; + self.colorFromText = colorText; + + setCircleAndText(); + } + + required init?(coder aDecoder: NSCoder) { + super.init(coder: aDecoder) + setCircleAndText(); + + } + + private func setCircleAndText() { + self.contentMode = .scaleAspectFit + + let color = (useTextColor ? randomColorFrom(text: colorFromText) : circleColor) + + self.image = circle(diameter: self.frame.size.height, color: color) + self.superview?.layoutIfNeeded() + + } + + + private func circle(diameter: CGFloat, color: UIColor) -> UIImage? { + //temp view to position label + if(padding < 0.3) + { + padding = 0.3 + } + + + let tempView = UIView(frame: CGRect(x: 0, y: 0, width:diameter, height:diameter)); + //main label + let label = UILabel(frame: CGRect(x:0, y: 0, width:diameter/(CGFloat)(1 + padding), height:diameter/(CGFloat)(1 + padding))) + label.backgroundColor = UIColor.clear + label.textColor = self.textColor + label.numberOfLines = amountLines; + label.adjustsFontSizeToFitWidth = true; + label.minimumScaleFactor = 0.01 + label.text = text + label.textAlignment = .center + label.baselineAdjustment = .alignCenters; + label.font = label.font.withSize(diameter) + label.center = tempView.center + + + tempView.addSubview(label) + + UIGraphicsBeginImageContextWithOptions(CGSize(width: diameter, height: diameter), false, 0) + guard let ctx = UIGraphicsGetCurrentContext() else { return nil } + ctx.saveGState() + //Draw the circle + + let rect = CGRect(x: 0, y: 0, width: diameter, height: diameter) + ctx.setFillColor(color.cgColor) + ctx.fillEllipse(in: rect) + ctx.restoreGState() + //render view with label + tempView.layer.render(in:ctx) + + let img = UIGraphicsGetImageFromCurrentImageContext()! + UIGraphicsEndImageContext() + + return img + } + + private func randomColorFrom(text: String) -> UIColor + { + let rgb:UInt32 = COLOR_SCHEME[abs(text.hashValue) % CircleLabel.DEFAULT_COLOR_SCHEME.count] + let red:CGFloat = CGFloat((rgb & 0xFF0000) >> 16)/255.0; + let green = CGFloat((rgb & 0xFF00) >> 8)/255.0; + let blue = CGFloat((rgb & 0xFF))/255.0 + + return UIColor(red: red, green: green, blue: blue, alpha: 1) + + } + + override func prepareForInterfaceBuilder() + { + setCircleAndText(); + } + + + + + +} diff --git a/README.md b/README.md new file mode 100644 index 0000000..3712fc2 --- /dev/null +++ b/README.md @@ -0,0 +1,89 @@ +# CircleLabel + +[![Version](https://img.shields.io/cocoapods/v/CircleLabel.svg?style=flat)](http://cocoapods.org/pods/CircleLabel) +[![License](https://img.shields.io/cocoapods/l/CircleLabel.svg?style=flat)](http://cocoapods.org/pods/CircleLabel) +[![Platform](https://img.shields.io/cocoapods/p/CircleLabel.svg?style=flat)](http://cocoapods.org/pods/CircleLabel) + +## Description and Features + +Lib automatically creates labels with circular backgrounds(Like in contacts app in Android). + +Library is written in swift +```swift + iOS Version >= 8.0 +``` + +It is highly customizable. +It has text based color generator(Same text will always be same color) +It has full Storyboard integration. + +## Installation + +CircleLabel is available through [CocoaPods](http://cocoapods.org). +To install it, simply add the following line to your Podfile: + +```ruby +pod 'CircleLabel' +``` + +### Manual Installation + +Dowload files from lib folder and copy them into your project. + + +## Usage + +CircleLabel extends UIImageView. It has full Storyboard support you will see how it looks directly in Interface Builder. + + +```swift +import CircleLabel +``` + +### StoryBoard +Drag UIView to your view and set class to CircleLabel. + +You can set parameters directly from Storyboard or Manually from code. + + + + +### Parameters +```swift + +var circle:CircleLabel + +//Set text within color +circle.text = "From Code" + +//This text will be used to generate circle color +circle.colorFromText = "GUARAM" + +//Use custom color scheme +circle.COLOR_SCHEME = [ 0xffe57373, 0xfff06292 ...] + +//Generate color based on text or user defined parameter +circle.useTextColor = true; + +//If useTextColor == false - this value will be used for circle color +circle.circleColor = UIColor.blue + +//Change text color +circle.textColor = UIColor.white + +//Padding of inner text +circle.padding = 0.3 + +//Amount of lines +circle!.amountLines = 1 + +``` + + +## Author + +Gio Andriadze, g.andriadze2@gmail.com + +## License + +CircleLabel is available under the MIT license. See the LICENSE file for more info. diff --git a/_Pods.xcodeproj b/_Pods.xcodeproj new file mode 120000 index 0000000..3c5a8e7 --- /dev/null +++ b/_Pods.xcodeproj @@ -0,0 +1 @@ +Example/Pods/Pods.xcodeproj \ No newline at end of file