diff --git a/.swiftlint.yml b/.swiftlint.yml index f0db4ab..d4ee5c7 100644 --- a/.swiftlint.yml +++ b/.swiftlint.yml @@ -12,3 +12,11 @@ line_length: type_body_length: - 150 - 150 + +identifier_name: + excluded: + - c + - m + - to + - id + \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index d0fe56d..9aff4d9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,20 @@ # CHANGELOG ``` -### Added for new features. -### Changed for changes in existing functionality. -### Deprecated for once-stable features removed in upcoming releases. -### Removed for deprecated features removed in this release. -### Fixed for any bug fixes. +#### Added for new features. +#### Changed for changes in existing functionality. +#### Deprecated for once-stable features removed in upcoming releases. +#### Removed for deprecated features removed in this release. +#### Fixed for any bug fixes. +``` + +### 1.2.0 + +- Implemented builder pattern + +#### Changed +- `LAK` prefix renamed to `LK` + +### 1.1.9 + +- Added Xcode 11 support \ No newline at end of file diff --git a/LetterAvatarKit.podspec b/LetterAvatarKit.podspec index d49c073..d73789d 100644 --- a/LetterAvatarKit.podspec +++ b/LetterAvatarKit.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |spec| spec.name = 'LetterAvatarKit' spec.platform = :ios, '8.0' - spec.version = '1.1.9' + spec.version = '1.2.0' spec.license = { :type => 'MIT' } spec.homepage = 'https://github.com/vpeschenkov/LetterAvatarKit' spec.authors = { 'Viktor Peschenkov' => 'v.peschenkov@gmail.com' } diff --git a/LetterAvatarKit.xcodeproj/project.pbxproj b/LetterAvatarKit.xcodeproj/project.pbxproj index f4d5103..92942a5 100644 --- a/LetterAvatarKit.xcodeproj/project.pbxproj +++ b/LetterAvatarKit.xcodeproj/project.pbxproj @@ -12,6 +12,9 @@ 351F38A51FAA38D10077F001 /* LetterAvatarSingleLetterTestImage@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 351F38A41FAA38D10077F001 /* LetterAvatarSingleLetterTestImage@2x.png */; }; 351F6CEF1FA3F9A8003059D2 /* LetterAvatarOneWordTestImage@3x.png in Resources */ = {isa = PBXBuildFile; fileRef = 351F6CED1FA3F9A8003059D2 /* LetterAvatarOneWordTestImage@3x.png */; }; 351F6CF01FA3F9A8003059D2 /* LetterAvatarOneWordTestImage@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 351F6CEE1FA3F9A8003059D2 /* LetterAvatarOneWordTestImage@2x.png */; }; + 3591E079233C233F0041B834 /* LetterAvatarMakerExtendable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3591E078233C233F0041B834 /* LetterAvatarMakerExtendable.swift */; }; + 3591E07B233C24830041B834 /* LetterAvatarMaker.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3591E07A233C24830041B834 /* LetterAvatarMaker.swift */; }; + 3591E07D233C26A50041B834 /* LetterAvatarMakerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3591E07C233C26A50041B834 /* LetterAvatarMakerTests.swift */; }; 35AD1DA81FA8F4FC0059BC9A /* String+LetterAvatarKit.swift in Sources */ = {isa = PBXBuildFile; fileRef = 35AD1DA71FA8F4FC0059BC9A /* String+LetterAvatarKit.swift */; }; 35AD1DAA1FA929720059BC9A /* String+LetterAvatarKitTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 35AD1DA91FA929720059BC9A /* String+LetterAvatarKitTests.swift */; }; EB516B651F8810D200BEA1F2 /* Character+LetterAvatarKit.swift in Sources */ = {isa = PBXBuildFile; fileRef = EB516B621F8810D200BEA1F2 /* Character+LetterAvatarKit.swift */; }; @@ -47,6 +50,9 @@ 351F38A41FAA38D10077F001 /* LetterAvatarSingleLetterTestImage@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "LetterAvatarSingleLetterTestImage@2x.png"; sourceTree = ""; }; 351F6CED1FA3F9A8003059D2 /* LetterAvatarOneWordTestImage@3x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "LetterAvatarOneWordTestImage@3x.png"; sourceTree = ""; }; 351F6CEE1FA3F9A8003059D2 /* LetterAvatarOneWordTestImage@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "LetterAvatarOneWordTestImage@2x.png"; sourceTree = ""; }; + 3591E078233C233F0041B834 /* LetterAvatarMakerExtendable.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LetterAvatarMakerExtendable.swift; sourceTree = ""; }; + 3591E07A233C24830041B834 /* LetterAvatarMaker.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LetterAvatarMaker.swift; sourceTree = ""; }; + 3591E07C233C26A50041B834 /* LetterAvatarMakerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LetterAvatarMakerTests.swift; sourceTree = ""; }; 35AD1DA71FA8F4FC0059BC9A /* String+LetterAvatarKit.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "String+LetterAvatarKit.swift"; sourceTree = ""; }; 35AD1DA91FA929720059BC9A /* String+LetterAvatarKitTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "String+LetterAvatarKitTests.swift"; sourceTree = ""; }; EB516B621F8810D200BEA1F2 /* Character+LetterAvatarKit.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "Character+LetterAvatarKit.swift"; sourceTree = ""; }; @@ -157,7 +163,9 @@ EB516B611F8810D200BEA1F2 /* Extensions */, EB8EC40C1F85929E000B7641 /* LetterAvatarKit.h */, EB8EC4231F859382000B7641 /* LetterAvatarBuilder.swift */, + 3591E078233C233F0041B834 /* LetterAvatarMakerExtendable.swift */, 35089432210272B20024E7CA /* LetterAvatarBuilderConfiguration.swift */, + 3591E07A233C24830041B834 /* LetterAvatarMaker.swift */, EB8EC40D1F85929E000B7641 /* Info.plist */, ); path = LetterAvatarKit; @@ -170,6 +178,7 @@ EB821DF11F98B906009B3775 /* Resources */, EB516B681F88110A00BEA1F2 /* Extensions */, EB8EC4171F85929E000B7641 /* LetterAvatarBuilderTests.swift */, + 3591E07C233C26A50041B834 /* LetterAvatarMakerTests.swift */, EB8EC4191F85929E000B7641 /* Info.plist */, ); path = LetterAvatarKitTests; @@ -297,10 +306,12 @@ buildActionMask = 2147483647; files = ( EB8EC4241F859382000B7641 /* LetterAvatarBuilder.swift in Sources */, + 3591E07B233C24830041B834 /* LetterAvatarMaker.swift in Sources */, 35AD1DA81FA8F4FC0059BC9A /* String+LetterAvatarKit.swift in Sources */, EB516B651F8810D200BEA1F2 /* Character+LetterAvatarKit.swift in Sources */, 35089433210272B20024E7CA /* LetterAvatarBuilderConfiguration.swift in Sources */, EB516B661F8810D200BEA1F2 /* UIColor+LetterAvatarKit.swift in Sources */, + 3591E079233C233F0041B834 /* LetterAvatarMakerExtendable.swift in Sources */, EB516B671F8810D200BEA1F2 /* UIImage+LetterAvatarKit.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; @@ -314,6 +325,7 @@ EB516B6D1F88110A00BEA1F2 /* UIColor+LetterAvatarKitTests.swift in Sources */, EB516B6C1F88110A00BEA1F2 /* Character+LetterAvatarKitTests.swift in Sources */, EB821DFC1F98C233009B3775 /* UIImage+TestsUtilities.swift in Sources */, + 3591E07D233C26A50041B834 /* LetterAvatarMakerTests.swift in Sources */, EB516B6E1F88110A00BEA1F2 /* UIImage+LetterAvatarKitTests.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; @@ -465,7 +477,7 @@ INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; IPHONEOS_DEPLOYMENT_TARGET = 8.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MARKETING_VERSION = 1.1.9; + MARKETING_VERSION = 1.2.0; PRODUCT_BUNDLE_IDENTIFIER = org.peschenkov.LetterAvatarKit; PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; SKIP_INSTALL = YES; @@ -490,7 +502,7 @@ INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; IPHONEOS_DEPLOYMENT_TARGET = 8.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MARKETING_VERSION = 1.1.9; + MARKETING_VERSION = 1.2.0; PRODUCT_BUNDLE_IDENTIFIER = org.peschenkov.LetterAvatarKit; PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; SKIP_INSTALL = YES; diff --git a/LetterAvatarKit/Extensions/UIColor+LetterAvatarKit.swift b/LetterAvatarKit/Extensions/UIColor+LetterAvatarKit.swift index 4cdf279..e431612 100644 --- a/LetterAvatarKit/Extensions/UIColor+LetterAvatarKit.swift +++ b/LetterAvatarKit/Extensions/UIColor+LetterAvatarKit.swift @@ -31,8 +31,8 @@ import Foundation /// - Parameters: /// - hex: HEX code. /// - Returns: The color by HEX code. -func LAKUIColorByHEX(_ hex: Int) -> UIColor { - return LAKUIColorByRGB( +func LKUIColorByHEX(_ hex: Int) -> UIColor { + return LKUIColorByRGB( red: CGFloat((hex & 0xFF0000) >> 16), green: CGFloat((hex & 0x00FF00) >> 8), blue: CGFloat((hex & 0x0000FF)) @@ -46,7 +46,7 @@ func LAKUIColorByHEX(_ hex: Int) -> UIColor { /// - green: A value of the green color component. /// - blue: A value of the blue color component. /// - Returns: A UIColor instance. -func LAKUIColorByRGB(red: CGFloat, green: CGFloat, blue: CGFloat) -> UIColor { +func LKUIColorByRGB(red: CGFloat, green: CGFloat, blue: CGFloat) -> UIColor { return UIColor(red: red / 255, green: green / 255, blue: blue / 255, alpha: CGFloat(1.0)) } @@ -99,25 +99,25 @@ extension UIColor { var colors = objc_getAssociatedObject(self, &ColorKey.value) if colors == nil { colors = [ - LAKUIColorByHEX(HEXColor.turquoiseColor), - LAKUIColorByHEX(HEXColor.emeraldColor), - LAKUIColorByHEX(HEXColor.piterRiverColor), - LAKUIColorByHEX(HEXColor.amethystColor), - LAKUIColorByHEX(HEXColor.wetAsphaltColor), - LAKUIColorByHEX(HEXColor.greenSeaColor), - LAKUIColorByHEX(HEXColor.nephritisColor), - LAKUIColorByHEX(HEXColor.belizeHoldeColor), - LAKUIColorByHEX(HEXColor.wisteriaColor), - LAKUIColorByHEX(HEXColor.midnightBlueColor), - LAKUIColorByHEX(HEXColor.sunflowerColor), - LAKUIColorByHEX(HEXColor.carrotColor), - LAKUIColorByHEX(HEXColor.alizarinColor), - LAKUIColorByHEX(HEXColor.concreteColor), - LAKUIColorByHEX(HEXColor.orangeColor), - LAKUIColorByHEX(HEXColor.pumpkinColor), - LAKUIColorByHEX(HEXColor.pomegranateColor), - LAKUIColorByHEX(HEXColor.silverColor), - LAKUIColorByHEX(HEXColor.asbestosColor) + LKUIColorByHEX(HEXColor.turquoiseColor), + LKUIColorByHEX(HEXColor.emeraldColor), + LKUIColorByHEX(HEXColor.piterRiverColor), + LKUIColorByHEX(HEXColor.amethystColor), + LKUIColorByHEX(HEXColor.wetAsphaltColor), + LKUIColorByHEX(HEXColor.greenSeaColor), + LKUIColorByHEX(HEXColor.nephritisColor), + LKUIColorByHEX(HEXColor.belizeHoldeColor), + LKUIColorByHEX(HEXColor.wisteriaColor), + LKUIColorByHEX(HEXColor.midnightBlueColor), + LKUIColorByHEX(HEXColor.sunflowerColor), + LKUIColorByHEX(HEXColor.carrotColor), + LKUIColorByHEX(HEXColor.alizarinColor), + LKUIColorByHEX(HEXColor.concreteColor), + LKUIColorByHEX(HEXColor.orangeColor), + LKUIColorByHEX(HEXColor.pumpkinColor), + LKUIColorByHEX(HEXColor.pomegranateColor), + LKUIColorByHEX(HEXColor.silverColor), + LKUIColorByHEX(HEXColor.asbestosColor) ] objc_setAssociatedObject(self, &ColorKey.value, colors, .OBJC_ASSOCIATION_RETAIN_NONATOMIC) return colors as? [ UIColor ] ?? [] diff --git a/LetterAvatarKit/Extensions/UIImage+LetterAvatarKit.swift b/LetterAvatarKit/Extensions/UIImage+LetterAvatarKit.swift index 7c2495c..20910dd 100644 --- a/LetterAvatarKit/Extensions/UIImage+LetterAvatarKit.swift +++ b/LetterAvatarKit/Extensions/UIImage+LetterAvatarKit.swift @@ -33,7 +33,7 @@ extension UIImage { /// letter-based avatar image. /// /// - Returns: Returns whether an instance of UIImage or nil. - @objc(lak_makeLetterAvatarWithConfiguration:) + @objc(lk_makeLetterAvatarWithConfiguration:) static public func makeLetterAvatar( withConfiguration configuration: LetterAvatarBuilderConfiguration ) -> UIImage? { @@ -47,7 +47,7 @@ extension UIImage { /// letter-based avatar image. /// /// - Returns: Returns whether an instance of UIImage or nil. - @objc(lak_makeLetterAvatarWithUsername:) + @objc(lk_makeLetterAvatarWithUsername:) static public func makeLetterAvatar(withUsername username: String?) -> UIImage? { let configuration = LetterAvatarBuilderConfiguration() configuration.username = username @@ -62,7 +62,7 @@ extension UIImage { /// - size: The avatar size. /// /// - Returns: Returns whether an instance of UIImage or nil. - @objc(lak_makeLetterAvatarWithUsername:size:) + @objc(lk_makeLetterAvatarWithUsername:size:) static public func makeLetterAvatar(withUsername username: String?, size: CGSize) -> UIImage? { let configuration = LetterAvatarBuilderConfiguration() configuration.username = username diff --git a/LetterAvatarKit/LetterAvatarBuilder.swift b/LetterAvatarKit/LetterAvatarBuilder.swift index 4c3deb6..fbbecc9 100644 --- a/LetterAvatarKit/LetterAvatarBuilder.swift +++ b/LetterAvatarKit/LetterAvatarBuilder.swift @@ -26,7 +26,7 @@ import UIKit /// Uses for making letter-based avatar images. -@objc(LAKLetterAvatarBuilder) +@objc(LKLetterAvatarBuilder) open class LetterAvatarBuilder: NSObject { /// Makes a letter-based avatar image by using a given configuration. /// diff --git a/LetterAvatarKit/LetterAvatarBuilderConfiguration.swift b/LetterAvatarKit/LetterAvatarBuilderConfiguration.swift index 618c133..6d52c74 100644 --- a/LetterAvatarKit/LetterAvatarBuilderConfiguration.swift +++ b/LetterAvatarKit/LetterAvatarBuilderConfiguration.swift @@ -26,7 +26,7 @@ import Foundation /// Uses for configurating a LetterAvatarBuilder instance. -@objc(LAKLetterAvatarBuilderConfiguration) +@objc(LKLetterAvatarBuilderConfiguration) open class LetterAvatarBuilderConfiguration: NSObject { /// The size of an avatar image. @objc(size) @@ -42,7 +42,7 @@ open class LetterAvatarBuilderConfiguration: NSObject { open var lettersFont: UIFont? /// The letters colors. @objc(lettersColor) - open var lettersColor: UIColor = LAKUIColorByRGB(red: 236, green: 240, blue: 241) + open var lettersColor: UIColor = LKUIColorByRGB(red: 236, green: 240, blue: 241) /// The background colors of a letter-based avatar. @objc(backgroundColors) open var backgroundColors: [UIColor] = UIColor.colors diff --git a/LetterAvatarKit/LetterAvatarMaker.swift b/LetterAvatarKit/LetterAvatarMaker.swift new file mode 100644 index 0000000..52bd22b --- /dev/null +++ b/LetterAvatarKit/LetterAvatarMaker.swift @@ -0,0 +1,85 @@ +// +// LetterAvatarMaker.swift +// LetterAvatarKit +// +// Copyright 2017 Victor Peschenkov +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// o 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. +// + +import Foundation + +open class LetterAvatarMaker: NSObject { + fileprivate var configuration = LetterAvatarBuilderConfiguration() +} + +extension LetterAvatarMaker: LetterAvatarMakerExtendable { + @discardableResult + public func setSize(_ size: CGSize) -> LetterAvatarMakerExtendable { + configuration.size = size + return self + } + + @discardableResult + public func setUsername(_ username: String) -> LetterAvatarMakerExtendable { + configuration.username = username + return self + } + + @discardableResult + public func setSingleLetter(_ singleLetter: Bool) -> LetterAvatarMakerExtendable { + configuration.singleLetter = singleLetter + return self + } + + @discardableResult + public func setLettersFont(_ lettersFont: UIFont?) -> LetterAvatarMakerExtendable { + configuration.lettersFont = lettersFont + return self + } + + @discardableResult + public func setLettersColor(_ lettersColor: UIColor) -> LetterAvatarMakerExtendable { + configuration.lettersColor = lettersColor + return self + } + + @discardableResult + public func setBackgroundColors(_ backgroundColors: [UIColor]) -> LetterAvatarMakerExtendable { + configuration.backgroundColors = backgroundColors + return self + } + + @discardableResult + public func setLettersFontAttributes( + _ lettersFontAttributes: [NSAttributedString.Key: Any]? + ) -> LetterAvatarMakerExtendable { + configuration.lettersFontAttributes = lettersFontAttributes + return self + } + + public func build(maker: (LetterAvatarBuilderConfiguration) -> Void) -> UIImage? { + maker(configuration) + return UIImage.makeLetterAvatar(withConfiguration: configuration) + } + + public func build() -> UIImage? { + return UIImage.makeLetterAvatar(withConfiguration: configuration) + } +} diff --git a/LetterAvatarKit/LetterAvatarMakerExtendable.swift b/LetterAvatarKit/LetterAvatarMakerExtendable.swift new file mode 100644 index 0000000..127073d --- /dev/null +++ b/LetterAvatarKit/LetterAvatarMakerExtendable.swift @@ -0,0 +1,40 @@ +// +// LetterAvatarMakerExtendable.swift +// LetterAvatarKit +// +// Copyright 2017 Victor Peschenkov +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// o 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. +// + +import Foundation + +public protocol LetterAvatarMakerExtendable: NSObjectProtocol { + func setSize(_ size: CGSize) -> LetterAvatarMakerExtendable + func setUsername(_ username: String) -> LetterAvatarMakerExtendable + func setSingleLetter(_ singleLetter: Bool) -> LetterAvatarMakerExtendable + func setLettersFont(_ lettersFont: UIFont?) -> LetterAvatarMakerExtendable + func setLettersColor(_ lettersColor: UIColor) -> LetterAvatarMakerExtendable + func setBackgroundColors(_ backgroundColors: [UIColor]) -> LetterAvatarMakerExtendable + func setLettersFontAttributes( + _ lettersFontAttributes: [NSAttributedString.Key: Any]? + ) -> LetterAvatarMakerExtendable + func build(maker: (LetterAvatarBuilderConfiguration) -> Void) -> UIImage? + func build() -> UIImage? +} diff --git a/LetterAvatarKitExample/LetterAvatarKitExample.xcodeproj/project.pbxproj b/LetterAvatarKitExample/LetterAvatarKitExample.xcodeproj/project.pbxproj index 44e071d..3766e57 100644 --- a/LetterAvatarKitExample/LetterAvatarKitExample.xcodeproj/project.pbxproj +++ b/LetterAvatarKitExample/LetterAvatarKitExample.xcodeproj/project.pbxproj @@ -7,21 +7,21 @@ objects = { /* Begin PBXBuildFile section */ + 35DF42E2233D1B8700BFCE8F /* LetterAvatarController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 35DF42E1233D1B8700BFCE8F /* LetterAvatarController.swift */; }; 53EC603A9A5C9D5425EA0719 /* Pods_LetterAvatarKitExample.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C60F9A63D0FF5102AEB4115D /* Pods_LetterAvatarKitExample.framework */; }; EBEC63BE1F8CF49B00CE334B /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = EBEC63BD1F8CF49B00CE334B /* AppDelegate.swift */; }; - EBEC63C01F8CF49B00CE334B /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = EBEC63BF1F8CF49B00CE334B /* ViewController.swift */; }; EBEC63C31F8CF49B00CE334B /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = EBEC63C11F8CF49B00CE334B /* Main.storyboard */; }; EBEC63C51F8CF49B00CE334B /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = EBEC63C41F8CF49B00CE334B /* Assets.xcassets */; }; EBEC63C81F8CF49B00CE334B /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = EBEC63C61F8CF49B00CE334B /* LaunchScreen.storyboard */; }; /* End PBXBuildFile section */ /* Begin PBXFileReference section */ + 35DF42E1233D1B8700BFCE8F /* LetterAvatarController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = LetterAvatarController.swift; sourceTree = ""; }; 471BABD137CB14DB31046E88 /* Pods-LetterAvatarKitExample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-LetterAvatarKitExample.release.xcconfig"; path = "Pods/Target Support Files/Pods-LetterAvatarKitExample/Pods-LetterAvatarKitExample.release.xcconfig"; sourceTree = ""; }; 9716DC5024FBA0C45BC52A33 /* Pods-LetterAvatarKitExample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-LetterAvatarKitExample.debug.xcconfig"; path = "Pods/Target Support Files/Pods-LetterAvatarKitExample/Pods-LetterAvatarKitExample.debug.xcconfig"; sourceTree = ""; }; C60F9A63D0FF5102AEB4115D /* Pods_LetterAvatarKitExample.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_LetterAvatarKitExample.framework; sourceTree = BUILT_PRODUCTS_DIR; }; EBEC63BA1F8CF49B00CE334B /* LetterAvatarKitExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = LetterAvatarKitExample.app; sourceTree = BUILT_PRODUCTS_DIR; }; EBEC63BD1F8CF49B00CE334B /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; - EBEC63BF1F8CF49B00CE334B /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; EBEC63C21F8CF49B00CE334B /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; EBEC63C41F8CF49B00CE334B /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; EBEC63C71F8CF49B00CE334B /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; @@ -57,6 +57,17 @@ name = Pods; sourceTree = ""; }; + 35DF42DE233D1B3C00BFCE8F /* Support Files */ = { + isa = PBXGroup; + children = ( + EBEC63C11F8CF49B00CE334B /* Main.storyboard */, + EBEC63C61F8CF49B00CE334B /* LaunchScreen.storyboard */, + EBEC63C41F8CF49B00CE334B /* Assets.xcassets */, + EBEC63C91F8CF49B00CE334B /* Info.plist */, + ); + name = "Support Files"; + sourceTree = ""; + }; EBEC63B11F8CF49B00CE334B = { isa = PBXGroup; children = ( @@ -79,11 +90,8 @@ isa = PBXGroup; children = ( EBEC63BD1F8CF49B00CE334B /* AppDelegate.swift */, - EBEC63BF1F8CF49B00CE334B /* ViewController.swift */, - EBEC63C11F8CF49B00CE334B /* Main.storyboard */, - EBEC63C41F8CF49B00CE334B /* Assets.xcassets */, - EBEC63C61F8CF49B00CE334B /* LaunchScreen.storyboard */, - EBEC63C91F8CF49B00CE334B /* Info.plist */, + 35DF42E1233D1B8700BFCE8F /* LetterAvatarController.swift */, + 35DF42DE233D1B3C00BFCE8F /* Support Files */, ); path = LetterAvatarKitExample; sourceTree = ""; @@ -202,7 +210,7 @@ isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - EBEC63C01F8CF49B00CE334B /* ViewController.swift in Sources */, + 35DF42E2233D1B8700BFCE8F /* LetterAvatarController.swift in Sources */, EBEC63BE1F8CF49B00CE334B /* AppDelegate.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; diff --git a/LetterAvatarKitExample/LetterAvatarKitExample/Base.lproj/Main.storyboard b/LetterAvatarKitExample/LetterAvatarKitExample/Base.lproj/Main.storyboard index 4b65d46..81ee95a 100644 --- a/LetterAvatarKitExample/LetterAvatarKitExample/Base.lproj/Main.storyboard +++ b/LetterAvatarKitExample/LetterAvatarKitExample/Base.lproj/Main.storyboard @@ -1,24 +1,21 @@ - - - - + - + - + - + - + - - + + diff --git a/LetterAvatarKitExample/LetterAvatarKitExample/ViewController.swift b/LetterAvatarKitExample/LetterAvatarKitExample/LetterAvatarController.swift similarity index 75% rename from LetterAvatarKitExample/LetterAvatarKitExample/ViewController.swift rename to LetterAvatarKitExample/LetterAvatarKitExample/LetterAvatarController.swift index dda68d1..cc7e466 100644 --- a/LetterAvatarKitExample/LetterAvatarKitExample/ViewController.swift +++ b/LetterAvatarKitExample/LetterAvatarKitExample/LetterAvatarController.swift @@ -26,16 +26,18 @@ import UIKit import LetterAvatarKit -class ViewController: UIViewController { - @IBOutlet weak var avatarImageView: UIImageView! +class LetterAvatarController: UIViewController { + @IBOutlet var avatarImageView: UIImageView! override func viewDidLoad() { super.viewDidLoad() - - let configuration = LetterAvatarBuilderConfiguration() - configuration.size = CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width) - configuration.username = "Letter Avatar" - avatarImageView?.image = UIImage.makeLetterAvatar(withConfiguration: configuration) + let width = UIScreen.main.bounds.size.width + let height = width + let avatarImage = LetterAvatarMaker() + .setUsername("Letter Avatar") + .setSize(CGSize(width: width, height: height)) + .build() + avatarImageView.image = avatarImage } } diff --git a/LetterAvatarKitExample/Podfile.lock b/LetterAvatarKitExample/Podfile.lock index f73181f..279329b 100644 --- a/LetterAvatarKitExample/Podfile.lock +++ b/LetterAvatarKitExample/Podfile.lock @@ -1,5 +1,5 @@ PODS: - - LetterAvatarKit (1.1.9) + - LetterAvatarKit (1.2.0) DEPENDENCIES: - LetterAvatarKit (from `../`) @@ -9,7 +9,7 @@ EXTERNAL SOURCES: :path: "../" SPEC CHECKSUMS: - LetterAvatarKit: 1d87ca816c4fedd77e3bf0142c5d0549918c9e97 + LetterAvatarKit: c824c86667ced81269df529dfeaee3d83769e434 PODFILE CHECKSUM: 407d67c5c51bb4907e98b407342cb20aaddc7148 diff --git a/LetterAvatarKitExample/Pods/Local Podspecs/LetterAvatarKit.podspec.json b/LetterAvatarKitExample/Pods/Local Podspecs/LetterAvatarKit.podspec.json index 9390048..6f238f2 100644 --- a/LetterAvatarKitExample/Pods/Local Podspecs/LetterAvatarKit.podspec.json +++ b/LetterAvatarKitExample/Pods/Local Podspecs/LetterAvatarKit.podspec.json @@ -3,7 +3,7 @@ "platforms": { "ios": "8.0" }, - "version": "1.1.9", + "version": "1.2.0", "license": { "type": "MIT" }, @@ -14,7 +14,7 @@ "summary": "An extension that generates letter-based avatars written in Swift", "source": { "git": "https://github.com/vpeschenkov/LetterAvatarKit.git", - "tag": "1.1.9" + "tag": "1.2.0" }, "source_files": [ "LetterAvatarKit/*.{h,swift}", diff --git a/LetterAvatarKitExample/Pods/Manifest.lock b/LetterAvatarKitExample/Pods/Manifest.lock index f73181f..279329b 100644 --- a/LetterAvatarKitExample/Pods/Manifest.lock +++ b/LetterAvatarKitExample/Pods/Manifest.lock @@ -1,5 +1,5 @@ PODS: - - LetterAvatarKit (1.1.9) + - LetterAvatarKit (1.2.0) DEPENDENCIES: - LetterAvatarKit (from `../`) @@ -9,7 +9,7 @@ EXTERNAL SOURCES: :path: "../" SPEC CHECKSUMS: - LetterAvatarKit: 1d87ca816c4fedd77e3bf0142c5d0549918c9e97 + LetterAvatarKit: c824c86667ced81269df529dfeaee3d83769e434 PODFILE CHECKSUM: 407d67c5c51bb4907e98b407342cb20aaddc7148 diff --git a/LetterAvatarKitExample/Pods/Pods.xcodeproj/project.pbxproj b/LetterAvatarKitExample/Pods/Pods.xcodeproj/project.pbxproj index f8ede38..fed77ff 100644 --- a/LetterAvatarKitExample/Pods/Pods.xcodeproj/project.pbxproj +++ b/LetterAvatarKitExample/Pods/Pods.xcodeproj/project.pbxproj @@ -8,19 +8,21 @@ /* Begin PBXBuildFile section */ 105ABB7FF29B74C023838608E44B3098 /* Pods-LetterAvatarKitExample-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 40198B54A560D6FF978CA658C437ED6C /* Pods-LetterAvatarKitExample-dummy.m */; }; - 48F441EAE634F43E5C0213745D86384E /* Character+LetterAvatarKit.swift in Sources */ = {isa = PBXBuildFile; fileRef = D5148B28F5DBBF74F99C3AE160204FD0 /* Character+LetterAvatarKit.swift */; }; - 498B86FFE54DB7417B3CC155AFF2DBB6 /* LetterAvatarBuilder.swift in Sources */ = {isa = PBXBuildFile; fileRef = E623EABD30041CC1ED3867E4E1E628E2 /* LetterAvatarBuilder.swift */; }; - 56162E71C7173D5A240B12406A50DAC9 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 312B988EF117AE4DE76A268D970131FE /* UIKit.framework */; }; - 58034752DC95608E9BB79FCABECFE12D /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 436BAA54A31999B53B3CC7115C55FE50 /* Foundation.framework */; }; - 663AF4B7786C4A88332392FDD8D6AD3F /* LetterAvatarBuilderConfiguration.swift in Sources */ = {isa = PBXBuildFile; fileRef = 94665CE8D2BE3C7E3EC678E5E21D834A /* LetterAvatarBuilderConfiguration.swift */; }; + 31C19330A09EA010A3F16331279E4278 /* LetterAvatarKit-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 21E0337A40C0CC27C19C79BF69EBAEC7 /* LetterAvatarKit-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 3EAC7C4CAD6C4D39A1371DDBC49CC1D8 /* Character+LetterAvatarKit.swift in Sources */ = {isa = PBXBuildFile; fileRef = 134AFCC40658873E4A66582E7D6251D9 /* Character+LetterAvatarKit.swift */; }; + 5FE050AE22C3F548BD61D2EDD086D61C /* LetterAvatarKit.h in Headers */ = {isa = PBXBuildFile; fileRef = DA36A783EC9FA9D48E1B18E71667478E /* LetterAvatarKit.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 775BA76DFD2A0DE79C8F2D7438F42B35 /* UIImage+LetterAvatarKit.swift in Sources */ = {isa = PBXBuildFile; fileRef = AB994812843A301A2818FA9B2DCD92F1 /* UIImage+LetterAvatarKit.swift */; }; 7ADADF10FC8885FA6E8DF21B56C268A6 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 436BAA54A31999B53B3CC7115C55FE50 /* Foundation.framework */; }; - 7C29F37D8F15D2C5743A32690858B617 /* LetterAvatarKit-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 436780FE7976C70FC501264BCFFF1B14 /* LetterAvatarKit-dummy.m */; }; - 7F754C8408056601A29CEBD16256A104 /* UIColor+LetterAvatarKit.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9EB336BE20B223DE5D0FCD0DAA42828E /* UIColor+LetterAvatarKit.swift */; }; - 7FFA5BA9DB7598F211BC205B6CE89FD3 /* LetterAvatarKit-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = E40D606BAF7B10E1EC60C0ED99623179 /* LetterAvatarKit-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 87B67D15C5C69D725F234F032436077A /* UIImage+LetterAvatarKit.swift in Sources */ = {isa = PBXBuildFile; fileRef = CB12ABD274961F35F93FB43E112D9462 /* UIImage+LetterAvatarKit.swift */; }; + 84E9878917DE3C1002D47A74D33E4AD7 /* LetterAvatarMakerExtendable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2E1164DFB7B5015AF78953F67B6AB608 /* LetterAvatarMakerExtendable.swift */; }; + 88603C964B151DC40E6B24B96D201FE3 /* LetterAvatarKit-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 4D4CCEFEA020D9F85DC0D7030A5FAC39 /* LetterAvatarKit-dummy.m */; }; 8C03148AC34C773B1F61B23118CD5AEE /* Pods-LetterAvatarKitExample-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = AA2B03CF8197BA22E571A2B412493463 /* Pods-LetterAvatarKitExample-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 8C6D3E33B3FF4FFB2A18C648D7330606 /* String+LetterAvatarKit.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7B602F46A1091A6DAB55DDC1E7FFCD0E /* String+LetterAvatarKit.swift */; }; - BBF9267D180690116360159D87CA53C1 /* LetterAvatarKit.h in Headers */ = {isa = PBXBuildFile; fileRef = E2EC45DCF54FAE506DADFE058EE9DCB5 /* LetterAvatarKit.h */; settings = {ATTRIBUTES = (Public, ); }; }; + AF0D1F005C4B6E8A60CFE21F061D1046 /* UIColor+LetterAvatarKit.swift in Sources */ = {isa = PBXBuildFile; fileRef = C7161015586C1406A701D43AA1DA2906 /* UIColor+LetterAvatarKit.swift */; }; + B350CC59DE13BBB76419ABDB7F945814 /* LetterAvatarBuilder.swift in Sources */ = {isa = PBXBuildFile; fileRef = 051748D918B7E064BEF29445CB1C64A5 /* LetterAvatarBuilder.swift */; }; + B58EAABF9B2A52A942D58EF8A7B7BFC6 /* String+LetterAvatarKit.swift in Sources */ = {isa = PBXBuildFile; fileRef = 126C66A5520E1439C9701B6652CFFD79 /* String+LetterAvatarKit.swift */; }; + B9DAF5BAC6CE2077BCDE8AD5AFD48B9C /* LetterAvatarMaker.swift in Sources */ = {isa = PBXBuildFile; fileRef = 563A06B41B6A69A46728B4933FEF5E74 /* LetterAvatarMaker.swift */; }; + D74AEE3035A37B4370BE770B833C071F /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 312B988EF117AE4DE76A268D970131FE /* UIKit.framework */; }; + D7BFE5ED63239496A5F8D21165DD050F /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 436BAA54A31999B53B3CC7115C55FE50 /* Foundation.framework */; }; + E39D3B670AF23127D1C9834507FD11E6 /* LetterAvatarBuilderConfiguration.swift in Sources */ = {isa = PBXBuildFile; fileRef = E31070D68E030C8C0BF29AF147FA9D96 /* LetterAvatarBuilderConfiguration.swift */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -34,69 +36,71 @@ /* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ - 08A0FE95F6ADA9F8C3271E063F16B16E /* UIImage.html */ = {isa = PBXFileReference; includeInIndex = 1; name = UIImage.html; path = docs/docsets/LetterAvatarKit.docset/Contents/Resources/Documents/Extensions/UIImage.html; sourceTree = ""; }; - 09BCBEE21D3C396292237C95E91D108F /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; path = README.md; sourceTree = ""; }; - 14A67F7F83C405D73105B29772FD8474 /* badge.svg */ = {isa = PBXFileReference; includeInIndex = 1; name = badge.svg; path = docs/badge.svg; sourceTree = ""; }; - 17E79B1F0E3EDAFB9FC74BD921CA6A94 /* LetterAvatarKit.tgz */ = {isa = PBXFileReference; includeInIndex = 1; name = LetterAvatarKit.tgz; path = docs/docsets/LetterAvatarKit.tgz; sourceTree = ""; }; - 1C5F4DA38A07FF6ECE040848CF5CC55C /* jazzy.css */ = {isa = PBXFileReference; includeInIndex = 1; name = jazzy.css; path = docs/css/jazzy.css; sourceTree = ""; }; - 293F7833FC5727944E3A2D8D78FE59DB /* carat.png */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = image.png; name = carat.png; path = docs/docsets/LetterAvatarKit.docset/Contents/Resources/Documents/img/carat.png; sourceTree = ""; }; - 2ED38A1E9B92A8589E83814DD9EDB770 /* jquery.min.js */ = {isa = PBXFileReference; includeInIndex = 1; name = jquery.min.js; path = docs/js/jquery.min.js; sourceTree = ""; }; + 02347244252A43F342B946A9215C10A9 /* dash.png */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = image.png; name = dash.png; path = docs/img/dash.png; sourceTree = ""; }; + 02A420D2E468EEFAD46554238AB2B66F /* index.html */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.html; name = index.html; path = docs/index.html; sourceTree = ""; }; + 051748D918B7E064BEF29445CB1C64A5 /* LetterAvatarBuilder.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = LetterAvatarBuilder.swift; path = LetterAvatarKit/LetterAvatarBuilder.swift; sourceTree = ""; }; + 111D2E3D5B4FF55F8A5A49020B648871 /* gh.png */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = image.png; name = gh.png; path = docs/docsets/LetterAvatarKit.docset/Contents/Resources/Documents/img/gh.png; sourceTree = ""; }; + 126C66A5520E1439C9701B6652CFFD79 /* String+LetterAvatarKit.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = "String+LetterAvatarKit.swift"; sourceTree = ""; }; + 134AFCC40658873E4A66582E7D6251D9 /* Character+LetterAvatarKit.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = "Character+LetterAvatarKit.swift"; sourceTree = ""; }; + 13941C10C76D0E7953AFC126D3AD5BEE /* LetterAvatarKit-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "LetterAvatarKit-Info.plist"; sourceTree = ""; }; + 147E7EDB04486E9D84EF953E055E4055 /* carat.png */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = image.png; name = carat.png; path = docs/img/carat.png; sourceTree = ""; }; + 165AAC3B42EDCF22AF6D92E2B950F627 /* LetterAvatarKit.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = LetterAvatarKit.xcconfig; sourceTree = ""; }; + 1829B160FFD0C70B5AF42007EBB9F35A /* badge.svg */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = badge.svg; path = docs/badge.svg; sourceTree = ""; }; + 21E0337A40C0CC27C19C79BF69EBAEC7 /* LetterAvatarKit-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "LetterAvatarKit-umbrella.h"; sourceTree = ""; }; + 237D9CB8A8EFC923C415D0718EFF73C1 /* Classes.html */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.html; name = Classes.html; path = docs/Classes.html; sourceTree = ""; }; + 28507827F85BB9B2B21C31CB3A11488F /* LetterAvatarKit-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "LetterAvatarKit-prefix.pch"; sourceTree = ""; }; + 2D31B3D68A0264A4E2D915C4DC2A361D /* LetterAvatarKit.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = LetterAvatarKit.modulemap; sourceTree = ""; }; + 2E1164DFB7B5015AF78953F67B6AB608 /* LetterAvatarMakerExtendable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = LetterAvatarMakerExtendable.swift; path = LetterAvatarKit/LetterAvatarMakerExtendable.swift; sourceTree = ""; }; + 2F9A4A8C8BC8A125FA63A3A540A8CE38 /* jazzy.css */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.css; name = jazzy.css; path = docs/css/jazzy.css; sourceTree = ""; }; 312B988EF117AE4DE76A268D970131FE /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.2.sdk/System/Library/Frameworks/UIKit.framework; sourceTree = DEVELOPER_DIR; }; - 34AE623D05FECD712545E48B2D37DF29 /* Extensions.html */ = {isa = PBXFileReference; includeInIndex = 1; name = Extensions.html; path = docs/docsets/LetterAvatarKit.docset/Contents/Resources/Documents/Extensions.html; sourceTree = ""; }; - 3A0B7E9B5350FC91084002760CAE36A7 /* LetterAvatarKit-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "LetterAvatarKit-prefix.pch"; sourceTree = ""; }; + 3223BA57906ABD4C7234904939EB85CB /* dash.png */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = image.png; name = dash.png; path = docs/docsets/LetterAvatarKit.docset/Contents/Resources/Documents/img/dash.png; sourceTree = ""; }; + 3268CB8A64D62299CF131B94DAF6DD10 /* LetterAvatarBuilder.html */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.html; name = LetterAvatarBuilder.html; path = docs/Classes/LetterAvatarBuilder.html; sourceTree = ""; }; + 3E0ED63E2016E5B9EC19B8008D1CFDD0 /* carat.png */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = image.png; name = carat.png; path = docs/docsets/LetterAvatarKit.docset/Contents/Resources/Documents/img/carat.png; sourceTree = ""; }; + 3E489BA71192D3DD2C48C42BBE4D80AF /* LetterAvatarBuilderConfiguration.html */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.html.documentation; name = LetterAvatarBuilderConfiguration.html; path = docs/docsets/LetterAvatarKit.docset/Contents/Resources/Documents/Classes/LetterAvatarBuilderConfiguration.html; sourceTree = ""; }; 40198B54A560D6FF978CA658C437ED6C /* Pods-LetterAvatarKitExample-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-LetterAvatarKitExample-dummy.m"; sourceTree = ""; }; - 436780FE7976C70FC501264BCFFF1B14 /* LetterAvatarKit-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "LetterAvatarKit-dummy.m"; sourceTree = ""; }; 436BAA54A31999B53B3CC7115C55FE50 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.2.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; 4A51E649052DB879CDBEA2CCC245EA7B /* Pods-LetterAvatarKitExample-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-LetterAvatarKitExample-Info.plist"; sourceTree = ""; }; - 55D3D65E701B55C19AAF72634C040972 /* Classes.html */ = {isa = PBXFileReference; includeInIndex = 1; name = Classes.html; path = docs/Classes.html; sourceTree = ""; }; + 4D4CCEFEA020D9F85DC0D7030A5FAC39 /* LetterAvatarKit-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "LetterAvatarKit-dummy.m"; sourceTree = ""; }; + 54CB47704816B384CFFF13C5BF80F75A /* search.json */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.json; name = search.json; path = docs/search.json; sourceTree = ""; }; 5613593FA2D562E2C2A59A286DACAC36 /* Pods-LetterAvatarKitExample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-LetterAvatarKitExample.release.xcconfig"; sourceTree = ""; }; - 563250A697FB009E508EB46B20DE1ADA /* LetterAvatarKit.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = LetterAvatarKit.framework; path = LetterAvatarKit.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 5CFAB45B2594E7E2C88140E96C5B3460 /* dash.png */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = image.png; name = dash.png; path = docs/docsets/LetterAvatarKit.docset/Contents/Resources/Documents/img/dash.png; sourceTree = ""; }; - 5DE6486707E5B020BD789B5982718F39 /* gh.png */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = image.png; name = gh.png; path = docs/img/gh.png; sourceTree = ""; }; - 5E1CC32158A59DB27D4FA08A26D1E6E9 /* LetterAvatarBuilderConfiguration.html */ = {isa = PBXFileReference; includeInIndex = 1; name = LetterAvatarBuilderConfiguration.html; path = docs/docsets/LetterAvatarKit.docset/Contents/Resources/Documents/Classes/LetterAvatarBuilderConfiguration.html; sourceTree = ""; }; - 5E6C198AB8C8C041845A4E32BEB8A300 /* LetterAvatarBuilder.html */ = {isa = PBXFileReference; includeInIndex = 1; name = LetterAvatarBuilder.html; path = docs/docsets/LetterAvatarKit.docset/Contents/Resources/Documents/Classes/LetterAvatarBuilder.html; sourceTree = ""; }; - 631C45B286E8BD050A54A1A861A4AF0C /* jquery.min.js */ = {isa = PBXFileReference; includeInIndex = 1; name = jquery.min.js; path = docs/docsets/LetterAvatarKit.docset/Contents/Resources/Documents/js/jquery.min.js; sourceTree = ""; }; - 6B2A5F971D00C7A64B56374D9CC3BD9B /* Classes.html */ = {isa = PBXFileReference; includeInIndex = 1; name = Classes.html; path = docs/docsets/LetterAvatarKit.docset/Contents/Resources/Documents/Classes.html; sourceTree = ""; }; - 704DC09B96568D8D9D5CDB63A74719CF /* jazzy.js */ = {isa = PBXFileReference; includeInIndex = 1; name = jazzy.js; path = docs/docsets/LetterAvatarKit.docset/Contents/Resources/Documents/js/jazzy.js; sourceTree = ""; }; - 70BBB5E9E0FDBBAC8D380E0873EDAE91 /* dash.png */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = image.png; name = dash.png; path = docs/img/dash.png; sourceTree = ""; }; - 7398588BA01CA26797EE3FD5F9959408 /* undocumented.json */ = {isa = PBXFileReference; includeInIndex = 1; name = undocumented.json; path = docs/undocumented.json; sourceTree = ""; }; - 7B602F46A1091A6DAB55DDC1E7FFCD0E /* String+LetterAvatarKit.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = "String+LetterAvatarKit.swift"; sourceTree = ""; }; + 563250A697FB009E508EB46B20DE1ADA /* LetterAvatarKit.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = LetterAvatarKit.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 563A06B41B6A69A46728B4933FEF5E74 /* LetterAvatarMaker.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = LetterAvatarMaker.swift; path = LetterAvatarKit/LetterAvatarMaker.swift; sourceTree = ""; }; + 5B54EDD5C79043EEE8C7EB938F3197E6 /* search.json */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.json; name = search.json; path = docs/docsets/LetterAvatarKit.docset/Contents/Resources/Documents/search.json; sourceTree = ""; }; + 5C88439D7D6988233A1E20DFFD795264 /* jazzy.js */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.javascript; name = jazzy.js; path = docs/docsets/LetterAvatarKit.docset/Contents/Resources/Documents/js/jazzy.js; sourceTree = ""; }; + 7241205AB69AAA49B54BECA943353399 /* undocumented.json */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.json; name = undocumented.json; path = docs/undocumented.json; sourceTree = ""; }; + 7376DA307DBDFD6C8951A67018A964D3 /* gh.png */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = image.png; name = gh.png; path = docs/img/gh.png; sourceTree = ""; }; + 74C05924566A28F4AD2C94E310C2F3B7 /* docSet.dsidx */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = file; name = docSet.dsidx; path = docs/docsets/LetterAvatarKit.docset/Contents/Resources/docSet.dsidx; sourceTree = ""; }; + 7953AA31D9B792E36C0988B8A0AE5BAE /* jquery.min.js */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.javascript; name = jquery.min.js; path = docs/docsets/LetterAvatarKit.docset/Contents/Resources/Documents/js/jquery.min.js; sourceTree = ""; }; 7C139543A6DA4CDC72FEB3847D84FAFC /* Pods-LetterAvatarKitExample.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-LetterAvatarKitExample.modulemap"; sourceTree = ""; }; - 7C6FDB518543BDEEFF25E1B4F2823580 /* carat.png */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = image.png; name = carat.png; path = docs/img/carat.png; sourceTree = ""; }; - 83307F7A38B9962B1730B0D337E51AE5 /* LetterAvatarKit.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; lastKnownFileType = text; path = LetterAvatarKit.podspec; sourceTree = ""; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; - 838182327E69ADA8BDCF37181F14A569 /* highlight.css */ = {isa = PBXFileReference; includeInIndex = 1; name = highlight.css; path = docs/css/highlight.css; sourceTree = ""; }; - 84D3FCC3D214DDF83474EF508ACA8CA3 /* Pods_LetterAvatarKitExample.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_LetterAvatarKitExample.framework; path = "Pods-LetterAvatarKitExample.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; - 8561329E31FB17405BC04CAB3A746C1C /* jazzy.js */ = {isa = PBXFileReference; includeInIndex = 1; name = jazzy.js; path = docs/js/jazzy.js; sourceTree = ""; }; - 8A3F8F2FF69901290A1CE25F88820A49 /* LetterAvatarBuilder.html */ = {isa = PBXFileReference; includeInIndex = 1; name = LetterAvatarBuilder.html; path = docs/Classes/LetterAvatarBuilder.html; sourceTree = ""; }; - 94665CE8D2BE3C7E3EC678E5E21D834A /* LetterAvatarBuilderConfiguration.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = LetterAvatarBuilderConfiguration.swift; path = LetterAvatarKit/LetterAvatarBuilderConfiguration.swift; sourceTree = ""; }; - 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; - 9E2820ABD58C8E32BB11F6DE98C4503A /* search.json */ = {isa = PBXFileReference; includeInIndex = 1; name = search.json; path = docs/search.json; sourceTree = ""; }; - 9EB336BE20B223DE5D0FCD0DAA42828E /* UIColor+LetterAvatarKit.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = "UIColor+LetterAvatarKit.swift"; sourceTree = ""; }; - A092E1DBA8DBE64C980CFB15A9E1F1F8 /* Extensions.html */ = {isa = PBXFileReference; includeInIndex = 1; name = Extensions.html; path = docs/Extensions.html; sourceTree = ""; }; + 7C48477C57F1FC34DF78CA94984975DB /* Classes.html */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.html.documentation; name = Classes.html; path = docs/docsets/LetterAvatarKit.docset/Contents/Resources/Documents/Classes.html; sourceTree = ""; }; + 82AAF98A325F11FDA079B53FA8CF7EE2 /* jazzy.css */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.css; name = jazzy.css; path = docs/docsets/LetterAvatarKit.docset/Contents/Resources/Documents/css/jazzy.css; sourceTree = ""; }; + 8487C44E4CC01F40F38763AFA959A84C /* LetterAvatarBuilder.html */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.html.documentation; name = LetterAvatarBuilder.html; path = docs/docsets/LetterAvatarKit.docset/Contents/Resources/Documents/Classes/LetterAvatarBuilder.html; sourceTree = ""; }; + 84D3FCC3D214DDF83474EF508ACA8CA3 /* Pods_LetterAvatarKitExample.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_LetterAvatarKitExample.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 86D24F2D2ADD77E9E4EC3504967D1DFA /* Extensions.html */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.html.documentation; name = Extensions.html; path = docs/docsets/LetterAvatarKit.docset/Contents/Resources/Documents/Extensions.html; sourceTree = ""; }; + 8D53564377EB5C066E27DCFB4B66E3FA /* Extensions.html */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.html; name = Extensions.html; path = docs/Extensions.html; sourceTree = ""; }; + 971C46C171BEB80A4F1F1DD0F90B9425 /* LetterAvatarBuilderConfiguration.html */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.html; name = LetterAvatarBuilderConfiguration.html; path = docs/Classes/LetterAvatarBuilderConfiguration.html; sourceTree = ""; }; + 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; + A0E9A1E6D4655124BCB0AB658BE30DB4 /* highlight.css */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.css; name = highlight.css; path = docs/docsets/LetterAvatarKit.docset/Contents/Resources/Documents/css/highlight.css; sourceTree = ""; }; + A1EFCE078259E0201E0EE0504E0C4614 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = ""; }; A5A17CBD7D237CA57B9F4DFD30BA728A /* Pods-LetterAvatarKitExample-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-LetterAvatarKitExample-acknowledgements.markdown"; sourceTree = ""; }; AA2B03CF8197BA22E571A2B412493463 /* Pods-LetterAvatarKitExample-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-LetterAvatarKitExample-umbrella.h"; sourceTree = ""; }; - B98C949BD1F8D9599712F3F9C9B2091F /* UIImage.html */ = {isa = PBXFileReference; includeInIndex = 1; name = UIImage.html; path = docs/Extensions/UIImage.html; sourceTree = ""; }; - BC0954BDD31E4912C211C9E12FB2BA6E /* index.html */ = {isa = PBXFileReference; includeInIndex = 1; name = index.html; path = docs/docsets/LetterAvatarKit.docset/Contents/Resources/Documents/index.html; sourceTree = ""; }; - BC5542CD82E8BD71161EA86890075900 /* LetterAvatarKit-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "LetterAvatarKit-Info.plist"; sourceTree = ""; }; - C0CF1A45698FEF65EAA1FB9AE2491DBE /* LetterAvatarKit.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = LetterAvatarKit.xcconfig; sourceTree = ""; }; - C12F7B3259438EFA77DEB4D6C9D74AD4 /* LetterAvatarBuilderConfiguration.html */ = {isa = PBXFileReference; includeInIndex = 1; name = LetterAvatarBuilderConfiguration.html; path = docs/Classes/LetterAvatarBuilderConfiguration.html; sourceTree = ""; }; + AB994812843A301A2818FA9B2DCD92F1 /* UIImage+LetterAvatarKit.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = "UIImage+LetterAvatarKit.swift"; sourceTree = ""; }; + B0235DDA79495DB9ECF4D50A6453251E /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; name = Info.plist; path = docs/docsets/LetterAvatarKit.docset/Contents/Info.plist; sourceTree = ""; }; + B4D71207119AE74E3256A2FF98C2E9E3 /* LetterAvatarKit.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; path = LetterAvatarKit.podspec; sourceTree = ""; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; + C4CE1CA7DD579FB650BB7537DEEB0EF5 /* jazzy.js */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.javascript; name = jazzy.js; path = docs/js/jazzy.js; sourceTree = ""; }; + C591D076E1F006B9E684E6115CD36427 /* UIImage.html */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.html; name = UIImage.html; path = docs/Extensions/UIImage.html; sourceTree = ""; }; C6062C2E3488782FC6CF04FFB602A40D /* Pods-LetterAvatarKitExample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-LetterAvatarKitExample.debug.xcconfig"; sourceTree = ""; }; - C9155015ACBB35D3DFB8B54C19903B6B /* jazzy.css */ = {isa = PBXFileReference; includeInIndex = 1; name = jazzy.css; path = docs/docsets/LetterAvatarKit.docset/Contents/Resources/Documents/css/jazzy.css; sourceTree = ""; }; - CB12ABD274961F35F93FB43E112D9462 /* UIImage+LetterAvatarKit.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = "UIImage+LetterAvatarKit.swift"; sourceTree = ""; }; - CEFF9BFF33F6F82509F4B1DC57C85E85 /* search.json */ = {isa = PBXFileReference; includeInIndex = 1; name = search.json; path = docs/docsets/LetterAvatarKit.docset/Contents/Resources/Documents/search.json; sourceTree = ""; }; + C7161015586C1406A701D43AA1DA2906 /* UIColor+LetterAvatarKit.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = "UIColor+LetterAvatarKit.swift"; sourceTree = ""; }; + CE629276881DE09ECC814D658EEA7576 /* jquery.min.js */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.javascript; name = jquery.min.js; path = docs/js/jquery.min.js; sourceTree = ""; }; CFBB4F97F4782C61036EF5FB38226D62 /* Pods-LetterAvatarKitExample-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-LetterAvatarKitExample-frameworks.sh"; sourceTree = ""; }; - D06D3A627B7D36DB2B3CC966202F4C60 /* LetterAvatarKit.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = LetterAvatarKit.modulemap; sourceTree = ""; }; - D5148B28F5DBBF74F99C3AE160204FD0 /* Character+LetterAvatarKit.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = "Character+LetterAvatarKit.swift"; sourceTree = ""; }; - D6DF997306502DF344603B71D423F2EF /* gh.png */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = image.png; name = gh.png; path = docs/docsets/LetterAvatarKit.docset/Contents/Resources/Documents/img/gh.png; sourceTree = ""; }; - E2EC45DCF54FAE506DADFE058EE9DCB5 /* LetterAvatarKit.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LetterAvatarKit.h; path = LetterAvatarKit/LetterAvatarKit.h; sourceTree = ""; }; - E40D606BAF7B10E1EC60C0ED99623179 /* LetterAvatarKit-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "LetterAvatarKit-umbrella.h"; sourceTree = ""; }; - E5BA1BA40891615D829B41BB0F87EF96 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; path = LICENSE; sourceTree = ""; }; - E623EABD30041CC1ED3867E4E1E628E2 /* LetterAvatarBuilder.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = LetterAvatarBuilder.swift; path = LetterAvatarKit/LetterAvatarBuilder.swift; sourceTree = ""; }; - ED3A13D7DA2ADF1DEE409DB3960043E0 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; name = Info.plist; path = docs/docsets/LetterAvatarKit.docset/Contents/Info.plist; sourceTree = ""; }; + D2680548ACF4959F37542ED3FDDC4B8D /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = LICENSE; sourceTree = ""; }; + DA36A783EC9FA9D48E1B18E71667478E /* LetterAvatarKit.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LetterAvatarKit.h; path = LetterAvatarKit/LetterAvatarKit.h; sourceTree = ""; }; + DAAB8C45B559950351782E519B465310 /* UIImage.html */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.html.documentation; name = UIImage.html; path = docs/docsets/LetterAvatarKit.docset/Contents/Resources/Documents/Extensions/UIImage.html; sourceTree = ""; }; + DE184F83D5F8A733E6D237D303C4C203 /* highlight.css */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.css; name = highlight.css; path = docs/css/highlight.css; sourceTree = ""; }; + DF2079B79EC5D1902EC2A1EBE433B693 /* index.html */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.html.documentation; name = index.html; path = docs/docsets/LetterAvatarKit.docset/Contents/Resources/Documents/index.html; sourceTree = ""; }; + E31070D68E030C8C0BF29AF147FA9D96 /* LetterAvatarBuilderConfiguration.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = LetterAvatarBuilderConfiguration.swift; path = LetterAvatarKit/LetterAvatarBuilderConfiguration.swift; sourceTree = ""; }; + EBD83E5B4C5AECDECC7A27507BD8A7E3 /* LetterAvatarKit.tgz */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = file; name = LetterAvatarKit.tgz; path = docs/docsets/LetterAvatarKit.tgz; sourceTree = ""; }; F060D03B5C7C8CD118DAB586E4936064 /* Pods-LetterAvatarKitExample-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-LetterAvatarKitExample-acknowledgements.plist"; sourceTree = ""; }; - F5D20FC290905D9296244C0C770465C3 /* docSet.dsidx */ = {isa = PBXFileReference; includeInIndex = 1; name = docSet.dsidx; path = docs/docsets/LetterAvatarKit.docset/Contents/Resources/docSet.dsidx; sourceTree = ""; }; - FDA294F817BDDB1E9DFC767C78F4C1E3 /* index.html */ = {isa = PBXFileReference; includeInIndex = 1; name = index.html; path = docs/index.html; sourceTree = ""; }; - FFE90B7E47A2EBC2CF67CC5C3AAF497F /* highlight.css */ = {isa = PBXFileReference; includeInIndex = 1; name = highlight.css; path = docs/docsets/LetterAvatarKit.docset/Contents/Resources/Documents/css/highlight.css; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -108,12 +112,12 @@ ); runOnlyForDeploymentPostprocessing = 0; }; - 3C9380D469808DB2D47C4894D5CB46A6 /* Frameworks */ = { + 5733BFB46B66285653A00F6C379A296E /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 58034752DC95608E9BB79FCABECFE12D /* Foundation.framework in Frameworks */, - 56162E71C7173D5A240B12406A50DAC9 /* UIKit.framework in Frameworks */, + D7BFE5ED63239496A5F8D21165DD050F /* Foundation.framework in Frameworks */, + D74AEE3035A37B4370BE770B833C071F /* UIKit.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -137,13 +141,13 @@ name = Products; sourceTree = ""; }; - 4DB79AE5A8A936820B4EFFF99A87889F /* Extensions */ = { + 6AACD11F071142597FBCC1CB7A4FF56D /* Extensions */ = { isa = PBXGroup; children = ( - D5148B28F5DBBF74F99C3AE160204FD0 /* Character+LetterAvatarKit.swift */, - 7B602F46A1091A6DAB55DDC1E7FFCD0E /* String+LetterAvatarKit.swift */, - 9EB336BE20B223DE5D0FCD0DAA42828E /* UIColor+LetterAvatarKit.swift */, - CB12ABD274961F35F93FB43E112D9462 /* UIImage+LetterAvatarKit.swift */, + 134AFCC40658873E4A66582E7D6251D9 /* Character+LetterAvatarKit.swift */, + 126C66A5520E1439C9701B6652CFFD79 /* String+LetterAvatarKit.swift */, + C7161015586C1406A701D43AA1DA2906 /* UIColor+LetterAvatarKit.swift */, + AB994812843A301A2818FA9B2DCD92F1 /* UIImage+LetterAvatarKit.swift */, ); name = Extensions; path = LetterAvatarKit/Extensions; @@ -174,68 +178,78 @@ name = "Targets Support Files"; sourceTree = ""; }; - 96EF761B5BDEC9F142592BFE85F8083B /* Pod */ = { + 8F3745D8092ED23B1BCE421532D6593F /* LetterAvatarKit */ = { isa = PBXGroup; children = ( - 14A67F7F83C405D73105B29772FD8474 /* badge.svg */, - 7C6FDB518543BDEEFF25E1B4F2823580 /* carat.png */, - 293F7833FC5727944E3A2D8D78FE59DB /* carat.png */, - 6B2A5F971D00C7A64B56374D9CC3BD9B /* Classes.html */, - 55D3D65E701B55C19AAF72634C040972 /* Classes.html */, - 5CFAB45B2594E7E2C88140E96C5B3460 /* dash.png */, - 70BBB5E9E0FDBBAC8D380E0873EDAE91 /* dash.png */, - F5D20FC290905D9296244C0C770465C3 /* docSet.dsidx */, - 34AE623D05FECD712545E48B2D37DF29 /* Extensions.html */, - A092E1DBA8DBE64C980CFB15A9E1F1F8 /* Extensions.html */, - 5DE6486707E5B020BD789B5982718F39 /* gh.png */, - D6DF997306502DF344603B71D423F2EF /* gh.png */, - FFE90B7E47A2EBC2CF67CC5C3AAF497F /* highlight.css */, - 838182327E69ADA8BDCF37181F14A569 /* highlight.css */, - FDA294F817BDDB1E9DFC767C78F4C1E3 /* index.html */, - BC0954BDD31E4912C211C9E12FB2BA6E /* index.html */, - ED3A13D7DA2ADF1DEE409DB3960043E0 /* Info.plist */, - 1C5F4DA38A07FF6ECE040848CF5CC55C /* jazzy.css */, - C9155015ACBB35D3DFB8B54C19903B6B /* jazzy.css */, - 8561329E31FB17405BC04CAB3A746C1C /* jazzy.js */, - 704DC09B96568D8D9D5CDB63A74719CF /* jazzy.js */, - 631C45B286E8BD050A54A1A861A4AF0C /* jquery.min.js */, - 2ED38A1E9B92A8589E83814DD9EDB770 /* jquery.min.js */, - 8A3F8F2FF69901290A1CE25F88820A49 /* LetterAvatarBuilder.html */, - 5E6C198AB8C8C041845A4E32BEB8A300 /* LetterAvatarBuilder.html */, - C12F7B3259438EFA77DEB4D6C9D74AD4 /* LetterAvatarBuilderConfiguration.html */, - 5E1CC32158A59DB27D4FA08A26D1E6E9 /* LetterAvatarBuilderConfiguration.html */, - 83307F7A38B9962B1730B0D337E51AE5 /* LetterAvatarKit.podspec */, - 17E79B1F0E3EDAFB9FC74BD921CA6A94 /* LetterAvatarKit.tgz */, - E5BA1BA40891615D829B41BB0F87EF96 /* LICENSE */, - 09BCBEE21D3C396292237C95E91D108F /* README.md */, - CEFF9BFF33F6F82509F4B1DC57C85E85 /* search.json */, - 9E2820ABD58C8E32BB11F6DE98C4503A /* search.json */, - 08A0FE95F6ADA9F8C3271E063F16B16E /* UIImage.html */, - B98C949BD1F8D9599712F3F9C9B2091F /* UIImage.html */, - 7398588BA01CA26797EE3FD5F9959408 /* undocumented.json */, + 051748D918B7E064BEF29445CB1C64A5 /* LetterAvatarBuilder.swift */, + E31070D68E030C8C0BF29AF147FA9D96 /* LetterAvatarBuilderConfiguration.swift */, + DA36A783EC9FA9D48E1B18E71667478E /* LetterAvatarKit.h */, + 563A06B41B6A69A46728B4933FEF5E74 /* LetterAvatarMaker.swift */, + 2E1164DFB7B5015AF78953F67B6AB608 /* LetterAvatarMakerExtendable.swift */, + 6AACD11F071142597FBCC1CB7A4FF56D /* Extensions */, + AED32F75FEEDD60B796CCBD98463A7B9 /* Pod */, + FBA093CF121826D87304DA897A67406C /* Support Files */, + ); + name = LetterAvatarKit; + path = ../..; + sourceTree = ""; + }; + AED32F75FEEDD60B796CCBD98463A7B9 /* Pod */ = { + isa = PBXGroup; + children = ( + 1829B160FFD0C70B5AF42007EBB9F35A /* badge.svg */, + 147E7EDB04486E9D84EF953E055E4055 /* carat.png */, + 3E0ED63E2016E5B9EC19B8008D1CFDD0 /* carat.png */, + 7C48477C57F1FC34DF78CA94984975DB /* Classes.html */, + 237D9CB8A8EFC923C415D0718EFF73C1 /* Classes.html */, + 3223BA57906ABD4C7234904939EB85CB /* dash.png */, + 02347244252A43F342B946A9215C10A9 /* dash.png */, + 74C05924566A28F4AD2C94E310C2F3B7 /* docSet.dsidx */, + 86D24F2D2ADD77E9E4EC3504967D1DFA /* Extensions.html */, + 8D53564377EB5C066E27DCFB4B66E3FA /* Extensions.html */, + 7376DA307DBDFD6C8951A67018A964D3 /* gh.png */, + 111D2E3D5B4FF55F8A5A49020B648871 /* gh.png */, + A0E9A1E6D4655124BCB0AB658BE30DB4 /* highlight.css */, + DE184F83D5F8A733E6D237D303C4C203 /* highlight.css */, + 02A420D2E468EEFAD46554238AB2B66F /* index.html */, + DF2079B79EC5D1902EC2A1EBE433B693 /* index.html */, + B0235DDA79495DB9ECF4D50A6453251E /* Info.plist */, + 2F9A4A8C8BC8A125FA63A3A540A8CE38 /* jazzy.css */, + 82AAF98A325F11FDA079B53FA8CF7EE2 /* jazzy.css */, + C4CE1CA7DD579FB650BB7537DEEB0EF5 /* jazzy.js */, + 5C88439D7D6988233A1E20DFFD795264 /* jazzy.js */, + 7953AA31D9B792E36C0988B8A0AE5BAE /* jquery.min.js */, + CE629276881DE09ECC814D658EEA7576 /* jquery.min.js */, + 3268CB8A64D62299CF131B94DAF6DD10 /* LetterAvatarBuilder.html */, + 8487C44E4CC01F40F38763AFA959A84C /* LetterAvatarBuilder.html */, + 971C46C171BEB80A4F1F1DD0F90B9425 /* LetterAvatarBuilderConfiguration.html */, + 3E489BA71192D3DD2C48C42BBE4D80AF /* LetterAvatarBuilderConfiguration.html */, + B4D71207119AE74E3256A2FF98C2E9E3 /* LetterAvatarKit.podspec */, + EBD83E5B4C5AECDECC7A27507BD8A7E3 /* LetterAvatarKit.tgz */, + D2680548ACF4959F37542ED3FDDC4B8D /* LICENSE */, + A1EFCE078259E0201E0EE0504E0C4614 /* README.md */, + 5B54EDD5C79043EEE8C7EB938F3197E6 /* search.json */, + 54CB47704816B384CFFF13C5BF80F75A /* search.json */, + DAAB8C45B559950351782E519B465310 /* UIImage.html */, + C591D076E1F006B9E684E6115CD36427 /* UIImage.html */, + 7241205AB69AAA49B54BECA943353399 /* undocumented.json */, ); name = Pod; sourceTree = ""; }; - BFC9FAC41B23A07BACC34E8D2000BA47 /* Support Files */ = { + B6B8708A128F98BB45BCA3A4939BB12B /* Development Pods */ = { isa = PBXGroup; children = ( - D06D3A627B7D36DB2B3CC966202F4C60 /* LetterAvatarKit.modulemap */, - C0CF1A45698FEF65EAA1FB9AE2491DBE /* LetterAvatarKit.xcconfig */, - 436780FE7976C70FC501264BCFFF1B14 /* LetterAvatarKit-dummy.m */, - BC5542CD82E8BD71161EA86890075900 /* LetterAvatarKit-Info.plist */, - 3A0B7E9B5350FC91084002760CAE36A7 /* LetterAvatarKit-prefix.pch */, - E40D606BAF7B10E1EC60C0ED99623179 /* LetterAvatarKit-umbrella.h */, + 8F3745D8092ED23B1BCE421532D6593F /* LetterAvatarKit */, ); - name = "Support Files"; - path = "LetterAvatarKitExample/Pods/Target Support Files/LetterAvatarKit"; + name = "Development Pods"; sourceTree = ""; }; CF1408CF629C7361332E53B88F7BD30C = { isa = PBXGroup; children = ( 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */, - F52409D6DDB2B4F842FAD03B0D40AB75 /* Development Pods */, + B6B8708A128F98BB45BCA3A4939BB12B /* Development Pods */, 1628BF05B4CAFDCC3549A101F5A10A17 /* Frameworks */, 348C19588B47F9A9F6165157340FD05A /* Products */, 816DB557BE3676FC27AC301789050CBF /* Targets Support Files */, @@ -251,26 +265,18 @@ name = iOS; sourceTree = ""; }; - E33DFE07B83A3088CBEE4BFB8E7448F8 /* LetterAvatarKit */ = { - isa = PBXGroup; - children = ( - E623EABD30041CC1ED3867E4E1E628E2 /* LetterAvatarBuilder.swift */, - 94665CE8D2BE3C7E3EC678E5E21D834A /* LetterAvatarBuilderConfiguration.swift */, - E2EC45DCF54FAE506DADFE058EE9DCB5 /* LetterAvatarKit.h */, - 4DB79AE5A8A936820B4EFFF99A87889F /* Extensions */, - 96EF761B5BDEC9F142592BFE85F8083B /* Pod */, - BFC9FAC41B23A07BACC34E8D2000BA47 /* Support Files */, - ); - name = LetterAvatarKit; - path = ../..; - sourceTree = ""; - }; - F52409D6DDB2B4F842FAD03B0D40AB75 /* Development Pods */ = { + FBA093CF121826D87304DA897A67406C /* Support Files */ = { isa = PBXGroup; children = ( - E33DFE07B83A3088CBEE4BFB8E7448F8 /* LetterAvatarKit */, + 2D31B3D68A0264A4E2D915C4DC2A361D /* LetterAvatarKit.modulemap */, + 165AAC3B42EDCF22AF6D92E2B950F627 /* LetterAvatarKit.xcconfig */, + 4D4CCEFEA020D9F85DC0D7030A5FAC39 /* LetterAvatarKit-dummy.m */, + 13941C10C76D0E7953AFC126D3AD5BEE /* LetterAvatarKit-Info.plist */, + 28507827F85BB9B2B21C31CB3A11488F /* LetterAvatarKit-prefix.pch */, + 21E0337A40C0CC27C19C79BF69EBAEC7 /* LetterAvatarKit-umbrella.h */, ); - name = "Development Pods"; + name = "Support Files"; + path = "LetterAvatarKitExample/Pods/Target Support Files/LetterAvatarKit"; sourceTree = ""; }; /* End PBXGroup section */ @@ -284,12 +290,12 @@ ); runOnlyForDeploymentPostprocessing = 0; }; - 8E8525DED48E578DB856D406D9CD7FB6 /* Headers */ = { + B0EB1381E102FE58DB288352AB4D573C /* Headers */ = { isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; files = ( - 7FFA5BA9DB7598F211BC205B6CE89FD3 /* LetterAvatarKit-umbrella.h in Headers */, - BBF9267D180690116360159D87CA53C1 /* LetterAvatarKit.h in Headers */, + 31C19330A09EA010A3F16331279E4278 /* LetterAvatarKit-umbrella.h in Headers */, + 5FE050AE22C3F548BD61D2EDD086D61C /* LetterAvatarKit.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -317,12 +323,12 @@ }; D9F7736046D8F388E749400613707326 /* LetterAvatarKit */ = { isa = PBXNativeTarget; - buildConfigurationList = A76239540E37A428AFFDDACF43D6EAF7 /* Build configuration list for PBXNativeTarget "LetterAvatarKit" */; + buildConfigurationList = 8A46E85A0AD40FE9108AC26D4CD0105B /* Build configuration list for PBXNativeTarget "LetterAvatarKit" */; buildPhases = ( - 8E8525DED48E578DB856D406D9CD7FB6 /* Headers */, - 814A58C8202417FD0D3E3233B6FAEC15 /* Sources */, - 3C9380D469808DB2D47C4894D5CB46A6 /* Frameworks */, - 09F976A1EDC1780EA12E515F176BA03A /* Resources */, + B0EB1381E102FE58DB288352AB4D573C /* Headers */, + 275851725C9F5328722FA5FADB3F30A2 /* Sources */, + 5733BFB46B66285653A00F6C379A296E /* Frameworks */, + 52610AE02381C5ED6305C6D17AFEB92A /* Resources */, ); buildRules = ( ); @@ -348,6 +354,7 @@ hasScannedForEncodings = 0; knownRegions = ( en, + Base, ); mainGroup = CF1408CF629C7361332E53B88F7BD30C; productRefGroup = 348C19588B47F9A9F6165157340FD05A /* Products */; @@ -361,7 +368,7 @@ /* End PBXProject section */ /* Begin PBXResourcesBuildPhase section */ - 09F976A1EDC1780EA12E515F176BA03A /* Resources */ = { + 52610AE02381C5ED6305C6D17AFEB92A /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( @@ -378,25 +385,27 @@ /* End PBXResourcesBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ - 56353E06465B2166E7B8055B7A08F950 /* Sources */ = { + 275851725C9F5328722FA5FADB3F30A2 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - 105ABB7FF29B74C023838608E44B3098 /* Pods-LetterAvatarKitExample-dummy.m in Sources */, + 3EAC7C4CAD6C4D39A1371DDBC49CC1D8 /* Character+LetterAvatarKit.swift in Sources */, + B350CC59DE13BBB76419ABDB7F945814 /* LetterAvatarBuilder.swift in Sources */, + E39D3B670AF23127D1C9834507FD11E6 /* LetterAvatarBuilderConfiguration.swift in Sources */, + 88603C964B151DC40E6B24B96D201FE3 /* LetterAvatarKit-dummy.m in Sources */, + B9DAF5BAC6CE2077BCDE8AD5AFD48B9C /* LetterAvatarMaker.swift in Sources */, + 84E9878917DE3C1002D47A74D33E4AD7 /* LetterAvatarMakerExtendable.swift in Sources */, + B58EAABF9B2A52A942D58EF8A7B7BFC6 /* String+LetterAvatarKit.swift in Sources */, + AF0D1F005C4B6E8A60CFE21F061D1046 /* UIColor+LetterAvatarKit.swift in Sources */, + 775BA76DFD2A0DE79C8F2D7438F42B35 /* UIImage+LetterAvatarKit.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; - 814A58C8202417FD0D3E3233B6FAEC15 /* Sources */ = { + 56353E06465B2166E7B8055B7A08F950 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - 48F441EAE634F43E5C0213745D86384E /* Character+LetterAvatarKit.swift in Sources */, - 498B86FFE54DB7417B3CC155AFF2DBB6 /* LetterAvatarBuilder.swift in Sources */, - 663AF4B7786C4A88332392FDD8D6AD3F /* LetterAvatarBuilderConfiguration.swift in Sources */, - 7C29F37D8F15D2C5743A32690858B617 /* LetterAvatarKit-dummy.m in Sources */, - 8C6D3E33B3FF4FFB2A18C648D7330606 /* String+LetterAvatarKit.swift in Sources */, - 7F754C8408056601A29CEBD16256A104 /* UIColor+LetterAvatarKit.swift in Sources */, - 87B67D15C5C69D725F234F032436077A /* UIImage+LetterAvatarKit.swift in Sources */, + 105ABB7FF29B74C023838608E44B3098 /* Pods-LetterAvatarKitExample-dummy.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -412,9 +421,9 @@ /* End PBXTargetDependency section */ /* Begin XCBuildConfiguration section */ - 4998DEA4DF0ABEB41DDC96254BA6D19E /* Release */ = { + 3150EF79E3048F685C2A517E3ECEE3D9 /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = C0CF1A45698FEF65EAA1FB9AE2491DBE /* LetterAvatarKit.xcconfig */; + baseConfigurationReference = 165AAC3B42EDCF22AF6D92E2B950F627 /* LetterAvatarKit.xcconfig */; buildSettings = { CODE_SIGN_IDENTITY = ""; "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; @@ -438,11 +447,10 @@ SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; }; - name = Release; + name = Debug; }; 4BE66A09A74FD25164AAB3C2645B9B93 /* Release */ = { isa = XCBuildConfiguration; @@ -497,8 +505,7 @@ MTL_FAST_MATH = YES; PRODUCT_NAME = "$(TARGET_NAME)"; STRIP_INSTALLED_PRODUCT = NO; - SWIFT_COMPILATION_MODE = wholemodule; - SWIFT_OPTIMIZATION_LEVEL = "-O"; + SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; SWIFT_VERSION = 5.0; SYMROOT = "${SRCROOT}/../build"; }; @@ -635,9 +642,9 @@ }; name = Debug; }; - F9E986E51B4ACF671F63540F5FDB37A4 /* Debug */ = { + F477C4E74012C11A2C07C3063D202FC8 /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = C0CF1A45698FEF65EAA1FB9AE2491DBE /* LetterAvatarKit.xcconfig */; + baseConfigurationReference = 165AAC3B42EDCF22AF6D92E2B950F627 /* LetterAvatarKit.xcconfig */; buildSettings = { CODE_SIGN_IDENTITY = ""; "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; @@ -661,10 +668,11 @@ SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; }; - name = Debug; + name = Release; }; /* End XCBuildConfiguration section */ @@ -687,11 +695,11 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - A76239540E37A428AFFDDACF43D6EAF7 /* Build configuration list for PBXNativeTarget "LetterAvatarKit" */ = { + 8A46E85A0AD40FE9108AC26D4CD0105B /* Build configuration list for PBXNativeTarget "LetterAvatarKit" */ = { isa = XCConfigurationList; buildConfigurations = ( - F9E986E51B4ACF671F63540F5FDB37A4 /* Debug */, - 4998DEA4DF0ABEB41DDC96254BA6D19E /* Release */, + 3150EF79E3048F685C2A517E3ECEE3D9 /* Debug */, + F477C4E74012C11A2C07C3063D202FC8 /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; diff --git a/LetterAvatarKitExample/Pods/Target Support Files/LetterAvatarKit/LetterAvatarKit-Info.plist b/LetterAvatarKitExample/Pods/Target Support Files/LetterAvatarKit/LetterAvatarKit-Info.plist index 05bf6cb..2a9158a 100644 --- a/LetterAvatarKitExample/Pods/Target Support Files/LetterAvatarKit/LetterAvatarKit-Info.plist +++ b/LetterAvatarKitExample/Pods/Target Support Files/LetterAvatarKit/LetterAvatarKit-Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 1.1.9 + 1.2.0 CFBundleSignature ???? CFBundleVersion diff --git a/LetterAvatarKitObjcExample/LetterAvatarKitObjcExample/ViewController.m b/LetterAvatarKitObjcExample/LetterAvatarKitObjcExample/ViewController.m index 6344fae..c836e30 100644 --- a/LetterAvatarKitObjcExample/LetterAvatarKitObjcExample/ViewController.m +++ b/LetterAvatarKitObjcExample/LetterAvatarKitObjcExample/ViewController.m @@ -38,11 +38,11 @@ @implementation ViewController - (void)viewDidLoad { [super viewDidLoad]; - LAKLetterAvatarBuilderConfiguration *configuration = [[LAKLetterAvatarBuilderConfiguration alloc] init]; + LKLetterAvatarBuilderConfiguration *configuration = [[LKLetterAvatarBuilderConfiguration alloc] init]; configuration.size = CGSizeMake([UIScreen mainScreen].bounds.size.width, [UIScreen mainScreen].bounds.size.width); configuration.username = @"Letter Avatar"; - self.avatarImageView.image = [UIImage lak_makeLetterAvatarWithConfiguration:configuration]; + self.avatarImageView.image = [UIImage lk_makeLetterAvatarWithConfiguration:configuration]; } @end diff --git a/LetterAvatarKitObjcExample/Podfile.lock b/LetterAvatarKitObjcExample/Podfile.lock index 0be5fbb..8281323 100644 --- a/LetterAvatarKitObjcExample/Podfile.lock +++ b/LetterAvatarKitObjcExample/Podfile.lock @@ -1,5 +1,5 @@ PODS: - - LetterAvatarKit (1.1.9) + - LetterAvatarKit (1.2.0) DEPENDENCIES: - LetterAvatarKit (from `../`) @@ -9,7 +9,7 @@ EXTERNAL SOURCES: :path: "../" SPEC CHECKSUMS: - LetterAvatarKit: 1d87ca816c4fedd77e3bf0142c5d0549918c9e97 + LetterAvatarKit: c824c86667ced81269df529dfeaee3d83769e434 PODFILE CHECKSUM: acab86cc8cc5517bd2b945abae924096efac0c35 diff --git a/LetterAvatarKitObjcExample/Pods/Local Podspecs/LetterAvatarKit.podspec.json b/LetterAvatarKitObjcExample/Pods/Local Podspecs/LetterAvatarKit.podspec.json index 9390048..6f238f2 100644 --- a/LetterAvatarKitObjcExample/Pods/Local Podspecs/LetterAvatarKit.podspec.json +++ b/LetterAvatarKitObjcExample/Pods/Local Podspecs/LetterAvatarKit.podspec.json @@ -3,7 +3,7 @@ "platforms": { "ios": "8.0" }, - "version": "1.1.9", + "version": "1.2.0", "license": { "type": "MIT" }, @@ -14,7 +14,7 @@ "summary": "An extension that generates letter-based avatars written in Swift", "source": { "git": "https://github.com/vpeschenkov/LetterAvatarKit.git", - "tag": "1.1.9" + "tag": "1.2.0" }, "source_files": [ "LetterAvatarKit/*.{h,swift}", diff --git a/LetterAvatarKitObjcExample/Pods/Manifest.lock b/LetterAvatarKitObjcExample/Pods/Manifest.lock index 0be5fbb..8281323 100644 --- a/LetterAvatarKitObjcExample/Pods/Manifest.lock +++ b/LetterAvatarKitObjcExample/Pods/Manifest.lock @@ -1,5 +1,5 @@ PODS: - - LetterAvatarKit (1.1.9) + - LetterAvatarKit (1.2.0) DEPENDENCIES: - LetterAvatarKit (from `../`) @@ -9,7 +9,7 @@ EXTERNAL SOURCES: :path: "../" SPEC CHECKSUMS: - LetterAvatarKit: 1d87ca816c4fedd77e3bf0142c5d0549918c9e97 + LetterAvatarKit: c824c86667ced81269df529dfeaee3d83769e434 PODFILE CHECKSUM: acab86cc8cc5517bd2b945abae924096efac0c35 diff --git a/LetterAvatarKitObjcExample/Pods/Pods.xcodeproj/project.pbxproj b/LetterAvatarKitObjcExample/Pods/Pods.xcodeproj/project.pbxproj index c92b0cf..ff250d9 100644 --- a/LetterAvatarKitObjcExample/Pods/Pods.xcodeproj/project.pbxproj +++ b/LetterAvatarKitObjcExample/Pods/Pods.xcodeproj/project.pbxproj @@ -8,19 +8,21 @@ /* Begin PBXBuildFile section */ 0978367E3F5451F340CA495C4FFDB859 /* Pods-LetterAvatarKitObjcExample-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 88633E760E91F5DB5655075DC75A60E1 /* Pods-LetterAvatarKitObjcExample-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 48F441EAE634F43E5C0213745D86384E /* Character+LetterAvatarKit.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9E898E3A6E7495BFC809439C6EEBDADD /* Character+LetterAvatarKit.swift */; }; - 498B86FFE54DB7417B3CC155AFF2DBB6 /* LetterAvatarBuilder.swift in Sources */ = {isa = PBXBuildFile; fileRef = BEE1D16C085A94F09A4ED84C09768074 /* LetterAvatarBuilder.swift */; }; - 56162E71C7173D5A240B12406A50DAC9 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 312B988EF117AE4DE76A268D970131FE /* UIKit.framework */; }; - 58034752DC95608E9BB79FCABECFE12D /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 436BAA54A31999B53B3CC7115C55FE50 /* Foundation.framework */; }; - 663AF4B7786C4A88332392FDD8D6AD3F /* LetterAvatarBuilderConfiguration.swift in Sources */ = {isa = PBXBuildFile; fileRef = 28341ADD9B634EB84195E9002D0614C5 /* LetterAvatarBuilderConfiguration.swift */; }; - 7C29F37D8F15D2C5743A32690858B617 /* LetterAvatarKit-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = C205B0A9F8411FA1BD55A9CF826980C1 /* LetterAvatarKit-dummy.m */; }; - 7F754C8408056601A29CEBD16256A104 /* UIColor+LetterAvatarKit.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4318105BA66E24CFD241D6F396EA0F5F /* UIColor+LetterAvatarKit.swift */; }; - 7FFA5BA9DB7598F211BC205B6CE89FD3 /* LetterAvatarKit-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = B96E6173E4EBEF8AB526D2376DD3A6C8 /* LetterAvatarKit-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 87B67D15C5C69D725F234F032436077A /* UIImage+LetterAvatarKit.swift in Sources */ = {isa = PBXBuildFile; fileRef = DD1FD7174A23BEBECE3C10DD0798CCAD /* UIImage+LetterAvatarKit.swift */; }; - 8C6D3E33B3FF4FFB2A18C648D7330606 /* String+LetterAvatarKit.swift in Sources */ = {isa = PBXBuildFile; fileRef = E920DEED994A332794FFDC35AE5F3D07 /* String+LetterAvatarKit.swift */; }; + 31C19330A09EA010A3F16331279E4278 /* LetterAvatarKit-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = C2DF75344145864544FBAD0071A5193A /* LetterAvatarKit-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 3EAC7C4CAD6C4D39A1371DDBC49CC1D8 /* Character+LetterAvatarKit.swift in Sources */ = {isa = PBXBuildFile; fileRef = 091BB612808CA8A85704AEA7D3963340 /* Character+LetterAvatarKit.swift */; }; + 5FE050AE22C3F548BD61D2EDD086D61C /* LetterAvatarKit.h in Headers */ = {isa = PBXBuildFile; fileRef = E9780D36A1F0725F274FA4A5881A1915 /* LetterAvatarKit.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 775BA76DFD2A0DE79C8F2D7438F42B35 /* UIImage+LetterAvatarKit.swift in Sources */ = {isa = PBXBuildFile; fileRef = A5BC50D6688CF055905D245F8DAC6B87 /* UIImage+LetterAvatarKit.swift */; }; + 84E9878917DE3C1002D47A74D33E4AD7 /* LetterAvatarMakerExtendable.swift in Sources */ = {isa = PBXBuildFile; fileRef = FE442884C5DC6143CBD27E6FAC513852 /* LetterAvatarMakerExtendable.swift */; }; + 88603C964B151DC40E6B24B96D201FE3 /* LetterAvatarKit-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 2C6E097EB4811FA8FCCCA1F8AA51C2F3 /* LetterAvatarKit-dummy.m */; }; + AF0D1F005C4B6E8A60CFE21F061D1046 /* UIColor+LetterAvatarKit.swift in Sources */ = {isa = PBXBuildFile; fileRef = 30DAD5F8C3D58BEA98CEA402AC718511 /* UIColor+LetterAvatarKit.swift */; }; AF7D8AFC7327015369033C95DABFA39F /* Pods-LetterAvatarKitObjcExample-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C50D087AE41542C5113C0257B89E33B /* Pods-LetterAvatarKitObjcExample-dummy.m */; }; - BBF9267D180690116360159D87CA53C1 /* LetterAvatarKit.h in Headers */ = {isa = PBXBuildFile; fileRef = 7C63E42E9C2F8B89B76999A4A6AB2E8C /* LetterAvatarKit.h */; settings = {ATTRIBUTES = (Public, ); }; }; + B350CC59DE13BBB76419ABDB7F945814 /* LetterAvatarBuilder.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5513DFB623FEF9F5DC4C6E112F8BCB82 /* LetterAvatarBuilder.swift */; }; + B58EAABF9B2A52A942D58EF8A7B7BFC6 /* String+LetterAvatarKit.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0F3AD5131AF5BDC64B64BF4724C70254 /* String+LetterAvatarKit.swift */; }; + B9DAF5BAC6CE2077BCDE8AD5AFD48B9C /* LetterAvatarMaker.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8320AC2954D41608D06513E5877DFBF6 /* LetterAvatarMaker.swift */; }; C93C3F559078166255FF89BE6FD61702 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 436BAA54A31999B53B3CC7115C55FE50 /* Foundation.framework */; }; + D74AEE3035A37B4370BE770B833C071F /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 312B988EF117AE4DE76A268D970131FE /* UIKit.framework */; }; + D7BFE5ED63239496A5F8D21165DD050F /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 436BAA54A31999B53B3CC7115C55FE50 /* Foundation.framework */; }; + E39D3B670AF23127D1C9834507FD11E6 /* LetterAvatarBuilderConfiguration.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1DD091DA3DF05EAEA62F720EA60DAB65 /* LetterAvatarBuilderConfiguration.swift */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -34,78 +36,80 @@ /* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ - 07D4869F8CB9B2EE6EFE595A05C48CAD /* jazzy.css */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.css; name = jazzy.css; path = docs/css/jazzy.css; sourceTree = ""; }; - 119572BC70A99E8C6FCADD41E575A2CD /* LetterAvatarKit-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "LetterAvatarKit-Info.plist"; sourceTree = ""; }; + 04C84C194331C42EA371262EFD843010 /* docSet.dsidx */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = file; name = docSet.dsidx; path = docs/docsets/LetterAvatarKit.docset/Contents/Resources/docSet.dsidx; sourceTree = ""; }; + 087A82C3D01620996D70D255A5DDCCE0 /* highlight.css */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.css; name = highlight.css; path = docs/docsets/LetterAvatarKit.docset/Contents/Resources/Documents/css/highlight.css; sourceTree = ""; }; + 091BB612808CA8A85704AEA7D3963340 /* Character+LetterAvatarKit.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = "Character+LetterAvatarKit.swift"; sourceTree = ""; }; + 0F3AD5131AF5BDC64B64BF4724C70254 /* String+LetterAvatarKit.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = "String+LetterAvatarKit.swift"; sourceTree = ""; }; + 128FCDA4A788FAE0F33FFE2CF31722FB /* carat.png */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = image.png; name = carat.png; path = docs/docsets/LetterAvatarKit.docset/Contents/Resources/Documents/img/carat.png; sourceTree = ""; }; 15F9CCA5786FEF74B11D867FB973DEE0 /* Pods-LetterAvatarKitObjcExample-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-LetterAvatarKitObjcExample-frameworks.sh"; sourceTree = ""; }; - 239BE633C543848E7BCD4E1F7006C65B /* carat.png */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = image.png; name = carat.png; path = docs/img/carat.png; sourceTree = ""; }; - 28341ADD9B634EB84195E9002D0614C5 /* LetterAvatarBuilderConfiguration.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = LetterAvatarBuilderConfiguration.swift; path = LetterAvatarKit/LetterAvatarBuilderConfiguration.swift; sourceTree = ""; }; - 2AF6E6D22594BDF20A9618A6AA973E37 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = ""; }; + 1608D59F01782D1356104EDFF6E4B3FE /* LetterAvatarKit.tgz */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = file; name = LetterAvatarKit.tgz; path = docs/docsets/LetterAvatarKit.tgz; sourceTree = ""; }; + 1DD091DA3DF05EAEA62F720EA60DAB65 /* LetterAvatarBuilderConfiguration.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = LetterAvatarBuilderConfiguration.swift; path = LetterAvatarKit/LetterAvatarBuilderConfiguration.swift; sourceTree = ""; }; + 1DEAFB481E68CAE4159E1B091BDEABE7 /* LetterAvatarKit-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "LetterAvatarKit-Info.plist"; sourceTree = ""; }; + 1FA1866AF7E1090D4ED3E98A2897C73F /* LetterAvatarKit-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "LetterAvatarKit-prefix.pch"; sourceTree = ""; }; + 21E380550FE288A5A213C9C7369DCFA0 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = ""; }; + 24DB9D4D86EDE5616A7FF0936AE20D50 /* LetterAvatarKit.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; path = LetterAvatarKit.podspec; sourceTree = ""; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; + 2658F7A7631BF207DFC4C00BA3355C2C /* jquery.min.js */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.javascript; name = jquery.min.js; path = docs/js/jquery.min.js; sourceTree = ""; }; + 288D92F759F015E16DCBC461EA234906 /* LetterAvatarBuilderConfiguration.html */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.html.documentation; name = LetterAvatarBuilderConfiguration.html; path = docs/docsets/LetterAvatarKit.docset/Contents/Resources/Documents/Classes/LetterAvatarBuilderConfiguration.html; sourceTree = ""; }; + 2C6E097EB4811FA8FCCCA1F8AA51C2F3 /* LetterAvatarKit-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "LetterAvatarKit-dummy.m"; sourceTree = ""; }; + 2F36B3B130BD441758DE37B113F29E83 /* jazzy.css */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.css; name = jazzy.css; path = docs/docsets/LetterAvatarKit.docset/Contents/Resources/Documents/css/jazzy.css; sourceTree = ""; }; + 2F690EFD56143B5304BA65F621E2A9EB /* jazzy.css */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.css; name = jazzy.css; path = docs/css/jazzy.css; sourceTree = ""; }; + 30DAD5F8C3D58BEA98CEA402AC718511 /* UIColor+LetterAvatarKit.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = "UIColor+LetterAvatarKit.swift"; sourceTree = ""; }; 312B988EF117AE4DE76A268D970131FE /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.2.sdk/System/Library/Frameworks/UIKit.framework; sourceTree = DEVELOPER_DIR; }; - 357DE5B6F6A607E31CE40E6E9E112895 /* jazzy.js */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.javascript; name = jazzy.js; path = docs/docsets/LetterAvatarKit.docset/Contents/Resources/Documents/js/jazzy.js; sourceTree = ""; }; - 3D89CBA18922A6AEBB8CC48882738B41 /* gh.png */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = image.png; name = gh.png; path = docs/img/gh.png; sourceTree = ""; }; - 3F41FB2EC7ACB7BD7FDE1329F22B2486 /* LetterAvatarBuilder.html */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.html.documentation; name = LetterAvatarBuilder.html; path = docs/docsets/LetterAvatarKit.docset/Contents/Resources/Documents/Classes/LetterAvatarBuilder.html; sourceTree = ""; }; + 32914F5E3E272C0E329A2319500ACCF8 /* Extensions.html */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.html; name = Extensions.html; path = docs/Extensions.html; sourceTree = ""; }; 3F75AFED5837C88AEF197D47BAA22140 /* Pods-LetterAvatarKitObjcExample-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-LetterAvatarKitObjcExample-Info.plist"; sourceTree = ""; }; - 4318105BA66E24CFD241D6F396EA0F5F /* UIColor+LetterAvatarKit.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = "UIColor+LetterAvatarKit.swift"; sourceTree = ""; }; + 3FD3CB358DF937204C75835BBC1E1F84 /* badge.svg */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = badge.svg; path = docs/badge.svg; sourceTree = ""; }; 436BAA54A31999B53B3CC7115C55FE50 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.2.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; - 44B2BF6CC917ED3AF5A168135F452236 /* LetterAvatarKit.tgz */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = file; name = LetterAvatarKit.tgz; path = docs/docsets/LetterAvatarKit.tgz; sourceTree = ""; }; - 45D1A6385028D2A5559B2A3D7BE2D14D /* LetterAvatarBuilderConfiguration.html */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.html.documentation; name = LetterAvatarBuilderConfiguration.html; path = docs/docsets/LetterAvatarKit.docset/Contents/Resources/Documents/Classes/LetterAvatarBuilderConfiguration.html; sourceTree = ""; }; - 46CA5CE3B26DEA13CC2F92D543CC34FD /* jazzy.css */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.css; name = jazzy.css; path = docs/docsets/LetterAvatarKit.docset/Contents/Resources/Documents/css/jazzy.css; sourceTree = ""; }; + 440EF9603912CC15CDDB0E67B435B892 /* carat.png */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = image.png; name = carat.png; path = docs/img/carat.png; sourceTree = ""; }; + 47BF3370EE3758E4E5141F750130C9B0 /* search.json */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.json; name = search.json; path = docs/docsets/LetterAvatarKit.docset/Contents/Resources/Documents/search.json; sourceTree = ""; }; + 499F988B65BBCA5FCEC8E5703B62EDCB /* index.html */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.html; name = index.html; path = docs/index.html; sourceTree = ""; }; 4C50D087AE41542C5113C0257B89E33B /* Pods-LetterAvatarKitObjcExample-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-LetterAvatarKitObjcExample-dummy.m"; sourceTree = ""; }; - 4CD52C3FEC8E3C7B3983C43057308BE3 /* UIImage.html */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.html.documentation; name = UIImage.html; path = docs/docsets/LetterAvatarKit.docset/Contents/Resources/Documents/Extensions/UIImage.html; sourceTree = ""; }; - 4D774F4C4631052A1F09B689B37C90E6 /* highlight.css */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.css; name = highlight.css; path = docs/css/highlight.css; sourceTree = ""; }; - 4F033F53B713B6B3EAECB4516ECCA267 /* dash.png */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = image.png; name = dash.png; path = docs/img/dash.png; sourceTree = ""; }; - 4F88F65EB4A59A1DF6745FC637E061BB /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = LICENSE; sourceTree = ""; }; - 52E039EEFB1022949EC97D969ED4F316 /* search.json */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.json; name = search.json; path = docs/docsets/LetterAvatarKit.docset/Contents/Resources/Documents/search.json; sourceTree = ""; }; - 55CBA6A46CA1FB306B18E0BA95E678FE /* LetterAvatarBuilderConfiguration.html */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.html; name = LetterAvatarBuilderConfiguration.html; path = docs/Classes/LetterAvatarBuilderConfiguration.html; sourceTree = ""; }; + 5513DFB623FEF9F5DC4C6E112F8BCB82 /* LetterAvatarBuilder.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = LetterAvatarBuilder.swift; path = LetterAvatarKit/LetterAvatarBuilder.swift; sourceTree = ""; }; 563250A697FB009E508EB46B20DE1ADA /* LetterAvatarKit.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = LetterAvatarKit.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 57DA105AAD84B0803F512F9AEAC73BE0 /* Pods-LetterAvatarKitObjcExample-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-LetterAvatarKitObjcExample-acknowledgements.plist"; sourceTree = ""; }; - 59D91D3575E7B6396F3BADB2F9A5205B /* undocumented.json */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.json; name = undocumented.json; path = docs/undocumented.json; sourceTree = ""; }; - 63308CD65CE4F93C1CE2F07E82C2DA3A /* Classes.html */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.html; name = Classes.html; path = docs/Classes.html; sourceTree = ""; }; - 6BB335C2B328D5A47F36C39EB5B6F613 /* jquery.min.js */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.javascript; name = jquery.min.js; path = docs/js/jquery.min.js; sourceTree = ""; }; - 6D35778107FF6819E407EF0F3163B387 /* dash.png */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = image.png; name = dash.png; path = docs/docsets/LetterAvatarKit.docset/Contents/Resources/Documents/img/dash.png; sourceTree = ""; }; + 5A870F85A7EB9C75F90179000AC784DB /* LetterAvatarKit.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = LetterAvatarKit.modulemap; sourceTree = ""; }; 72BBB8D54CE353B808481EBAFCAD212B /* Pods-LetterAvatarKitObjcExample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-LetterAvatarKitObjcExample.release.xcconfig"; sourceTree = ""; }; - 7501C02FB17FB9A6086CB8B97E2114A2 /* gh.png */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = image.png; name = gh.png; path = docs/docsets/LetterAvatarKit.docset/Contents/Resources/Documents/img/gh.png; sourceTree = ""; }; + 76F432FC8CB5B42508EF47626C5B245A /* index.html */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.html.documentation; name = index.html; path = docs/docsets/LetterAvatarKit.docset/Contents/Resources/Documents/index.html; sourceTree = ""; }; + 79111A0BCB398516C39D33B55EED7CC2 /* search.json */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.json; name = search.json; path = docs/search.json; sourceTree = ""; }; 7A59E7C021AB8A1E75725C609C654583 /* Pods-LetterAvatarKitObjcExample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-LetterAvatarKitObjcExample.debug.xcconfig"; sourceTree = ""; }; - 7C63E42E9C2F8B89B76999A4A6AB2E8C /* LetterAvatarKit.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LetterAvatarKit.h; path = LetterAvatarKit/LetterAvatarKit.h; sourceTree = ""; }; - 7F4C83EA1653A04A5929CED1DBA31279 /* highlight.css */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.css; name = highlight.css; path = docs/docsets/LetterAvatarKit.docset/Contents/Resources/Documents/css/highlight.css; sourceTree = ""; }; - 812A4254EF18606F2ABF3DF7AC7B0302 /* index.html */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.html; name = index.html; path = docs/index.html; sourceTree = ""; }; + 8307B5D1B02867FB16F8E0FF4C929CDC /* gh.png */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = image.png; name = gh.png; path = docs/docsets/LetterAvatarKit.docset/Contents/Resources/Documents/img/gh.png; sourceTree = ""; }; + 8320AC2954D41608D06513E5877DFBF6 /* LetterAvatarMaker.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = LetterAvatarMaker.swift; path = LetterAvatarKit/LetterAvatarMaker.swift; sourceTree = ""; }; + 8325C5C35A9FB30F36600704070AABCD /* jazzy.js */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.javascript; name = jazzy.js; path = docs/js/jazzy.js; sourceTree = ""; }; 83D3FFFE41744BA1AB17EE94FB5D3222 /* Pods-LetterAvatarKitObjcExample-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-LetterAvatarKitObjcExample-acknowledgements.markdown"; sourceTree = ""; }; 88633E760E91F5DB5655075DC75A60E1 /* Pods-LetterAvatarKitObjcExample-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-LetterAvatarKitObjcExample-umbrella.h"; sourceTree = ""; }; - 8EBA9DFBC331FD6808D3C973D547BCD8 /* index.html */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.html.documentation; name = index.html; path = docs/docsets/LetterAvatarKit.docset/Contents/Resources/Documents/index.html; sourceTree = ""; }; - 9D7DD393E51532E5D8C2925E9ACC1336 /* Extensions.html */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.html; name = Extensions.html; path = docs/Extensions.html; sourceTree = ""; }; + 8E5CE5A2BCC118459D150C7A447865F6 /* LetterAvatarBuilderConfiguration.html */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.html; name = LetterAvatarBuilderConfiguration.html; path = docs/Classes/LetterAvatarBuilderConfiguration.html; sourceTree = ""; }; + 8F50CDF4DE88CDA6AD71461BA5F5D042 /* LetterAvatarBuilder.html */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.html; name = LetterAvatarBuilder.html; path = docs/Classes/LetterAvatarBuilder.html; sourceTree = ""; }; + 932732F9AFCEA473ED78F93093E5FD2A /* LetterAvatarKit.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = LetterAvatarKit.xcconfig; sourceTree = ""; }; + 955A7C1D8BEEFEB46A2553C59BB7E169 /* highlight.css */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.css; name = highlight.css; path = docs/css/highlight.css; sourceTree = ""; }; 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; - 9E898E3A6E7495BFC809439C6EEBDADD /* Character+LetterAvatarKit.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = "Character+LetterAvatarKit.swift"; sourceTree = ""; }; + A0024D10DB3E64CFA7C064766A5B6733 /* UIImage.html */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.html.documentation; name = UIImage.html; path = docs/docsets/LetterAvatarKit.docset/Contents/Resources/Documents/Extensions/UIImage.html; sourceTree = ""; }; A02E7590AEC392D630C1121387CA581B /* Pods_LetterAvatarKitObjcExample.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_LetterAvatarKitObjcExample.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - A0A46B2F47EDD237BC11158A1862D1CC /* docSet.dsidx */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = file; name = docSet.dsidx; path = docs/docsets/LetterAvatarKit.docset/Contents/Resources/docSet.dsidx; sourceTree = ""; }; - A19CF64920BE7BAA97D018A000DF6B2E /* carat.png */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = image.png; name = carat.png; path = docs/docsets/LetterAvatarKit.docset/Contents/Resources/Documents/img/carat.png; sourceTree = ""; }; - B0884234CBFFA4CB7042BAC4F030B5AD /* Classes.html */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.html.documentation; name = Classes.html; path = docs/docsets/LetterAvatarKit.docset/Contents/Resources/Documents/Classes.html; sourceTree = ""; }; - B1101ED8D7E8F0A4319235C677AAFDAB /* search.json */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.json; name = search.json; path = docs/search.json; sourceTree = ""; }; - B1F337793C139373F3C12D4300767D5D /* LetterAvatarKit.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; path = LetterAvatarKit.podspec; sourceTree = ""; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; - B96E6173E4EBEF8AB526D2376DD3A6C8 /* LetterAvatarKit-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "LetterAvatarKit-umbrella.h"; sourceTree = ""; }; - BEE1D16C085A94F09A4ED84C09768074 /* LetterAvatarBuilder.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = LetterAvatarBuilder.swift; path = LetterAvatarKit/LetterAvatarBuilder.swift; sourceTree = ""; }; - C205B0A9F8411FA1BD55A9CF826980C1 /* LetterAvatarKit-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "LetterAvatarKit-dummy.m"; sourceTree = ""; }; - C58A17F8ED263332C0D3006D917EEAF0 /* jazzy.js */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.javascript; name = jazzy.js; path = docs/js/jazzy.js; sourceTree = ""; }; - C7C527D35039E328BF409F8CEDCB7621 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; name = Info.plist; path = docs/docsets/LetterAvatarKit.docset/Contents/Info.plist; sourceTree = ""; }; - D38B1FEBBB520142AEDCC4D5335A40B5 /* LetterAvatarKit.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = LetterAvatarKit.modulemap; sourceTree = ""; }; - D756BD267397B21633E4C1C961DED852 /* UIImage.html */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.html; name = UIImage.html; path = docs/Extensions/UIImage.html; sourceTree = ""; }; - DD1FD7174A23BEBECE3C10DD0798CCAD /* UIImage+LetterAvatarKit.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = "UIImage+LetterAvatarKit.swift"; sourceTree = ""; }; - E6215BBC25F6D4A945C229F69457AE03 /* jquery.min.js */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.javascript; name = jquery.min.js; path = docs/docsets/LetterAvatarKit.docset/Contents/Resources/Documents/js/jquery.min.js; sourceTree = ""; }; - E920DEED994A332794FFDC35AE5F3D07 /* String+LetterAvatarKit.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = "String+LetterAvatarKit.swift"; sourceTree = ""; }; - EACF3A480858F2299D5CE33484A8B6A8 /* LetterAvatarBuilder.html */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.html; name = LetterAvatarBuilder.html; path = docs/Classes/LetterAvatarBuilder.html; sourceTree = ""; }; - ECD45BF11715A2D4343DF0D20F6EB719 /* LetterAvatarKit-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "LetterAvatarKit-prefix.pch"; sourceTree = ""; }; - FB3EDAF7C8C36EF224BBD49332D02BE7 /* LetterAvatarKit.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = LetterAvatarKit.xcconfig; sourceTree = ""; }; - FF6BA7002A867EE7A65DFD8D2AA6DDF7 /* Extensions.html */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.html.documentation; name = Extensions.html; path = docs/docsets/LetterAvatarKit.docset/Contents/Resources/Documents/Extensions.html; sourceTree = ""; }; + A5BC50D6688CF055905D245F8DAC6B87 /* UIImage+LetterAvatarKit.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = "UIImage+LetterAvatarKit.swift"; sourceTree = ""; }; + AFA80D75287B549D7A6396D867FFB817 /* Extensions.html */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.html.documentation; name = Extensions.html; path = docs/docsets/LetterAvatarKit.docset/Contents/Resources/Documents/Extensions.html; sourceTree = ""; }; + B350555474AA1C1547754147C58AFA9C /* undocumented.json */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.json; name = undocumented.json; path = docs/undocumented.json; sourceTree = ""; }; + B6DF8D7FA00FB51A15E0279018A5D2D4 /* gh.png */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = image.png; name = gh.png; path = docs/img/gh.png; sourceTree = ""; }; + B7AEA1870E73FC120C1941F8A21C5A44 /* Classes.html */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.html.documentation; name = Classes.html; path = docs/docsets/LetterAvatarKit.docset/Contents/Resources/Documents/Classes.html; sourceTree = ""; }; + C113579E252A83266C4D6F9AD15610A0 /* UIImage.html */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.html; name = UIImage.html; path = docs/Extensions/UIImage.html; sourceTree = ""; }; + C1FC820DBADBDCB802D97EEABB86C02D /* dash.png */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = image.png; name = dash.png; path = docs/img/dash.png; sourceTree = ""; }; + C2DF75344145864544FBAD0071A5193A /* LetterAvatarKit-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "LetterAvatarKit-umbrella.h"; sourceTree = ""; }; + CC8AA712BD8686BC4C578549C88ECBE2 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; name = Info.plist; path = docs/docsets/LetterAvatarKit.docset/Contents/Info.plist; sourceTree = ""; }; + D53B0B5625685CDD5A9795AD6B455E3C /* jazzy.js */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.javascript; name = jazzy.js; path = docs/docsets/LetterAvatarKit.docset/Contents/Resources/Documents/js/jazzy.js; sourceTree = ""; }; + D7E6B979DAB09B37AF1CF9AD6589FD2B /* dash.png */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = image.png; name = dash.png; path = docs/docsets/LetterAvatarKit.docset/Contents/Resources/Documents/img/dash.png; sourceTree = ""; }; + E53F63FF5075E0EB64045CCA842896FE /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = LICENSE; sourceTree = ""; }; + E9780D36A1F0725F274FA4A5881A1915 /* LetterAvatarKit.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LetterAvatarKit.h; path = LetterAvatarKit/LetterAvatarKit.h; sourceTree = ""; }; + EC9DD0B200226A8BE9F63DE2023A224A /* Classes.html */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.html; name = Classes.html; path = docs/Classes.html; sourceTree = ""; }; + EEEFD8B460AD1FF56FE48A7616DC4AE9 /* LetterAvatarBuilder.html */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.html.documentation; name = LetterAvatarBuilder.html; path = docs/docsets/LetterAvatarKit.docset/Contents/Resources/Documents/Classes/LetterAvatarBuilder.html; sourceTree = ""; }; + FE442884C5DC6143CBD27E6FAC513852 /* LetterAvatarMakerExtendable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = LetterAvatarMakerExtendable.swift; path = LetterAvatarKit/LetterAvatarMakerExtendable.swift; sourceTree = ""; }; + FF4013405D2A274D7872C334EDFA3198 /* jquery.min.js */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.javascript; name = jquery.min.js; path = docs/docsets/LetterAvatarKit.docset/Contents/Resources/Documents/js/jquery.min.js; sourceTree = ""; }; FF7453E93E928A00990323F089EE81DD /* Pods-LetterAvatarKitObjcExample.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-LetterAvatarKitObjcExample.modulemap"; sourceTree = ""; }; - FF7A15FBDE919245200914BF59E265D7 /* badge.svg */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = badge.svg; path = docs/badge.svg; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ - 3C9380D469808DB2D47C4894D5CB46A6 /* Frameworks */ = { + 5733BFB46B66285653A00F6C379A296E /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 58034752DC95608E9BB79FCABECFE12D /* Foundation.framework in Frameworks */, - 56162E71C7173D5A240B12406A50DAC9 /* UIKit.framework in Frameworks */, + D7BFE5ED63239496A5F8D21165DD050F /* Foundation.framework in Frameworks */, + D74AEE3035A37B4370BE770B833C071F /* UIKit.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -128,63 +132,99 @@ name = Frameworks; sourceTree = ""; }; - 661CC71838B07E97AA00F92A00F51B2D /* Support Files */ = { + 24C097C22D986CC3CD4164634EBC87EA /* LetterAvatarKit */ = { isa = PBXGroup; children = ( - D38B1FEBBB520142AEDCC4D5335A40B5 /* LetterAvatarKit.modulemap */, - FB3EDAF7C8C36EF224BBD49332D02BE7 /* LetterAvatarKit.xcconfig */, - C205B0A9F8411FA1BD55A9CF826980C1 /* LetterAvatarKit-dummy.m */, - 119572BC70A99E8C6FCADD41E575A2CD /* LetterAvatarKit-Info.plist */, - ECD45BF11715A2D4343DF0D20F6EB719 /* LetterAvatarKit-prefix.pch */, - B96E6173E4EBEF8AB526D2376DD3A6C8 /* LetterAvatarKit-umbrella.h */, + 5513DFB623FEF9F5DC4C6E112F8BCB82 /* LetterAvatarBuilder.swift */, + 1DD091DA3DF05EAEA62F720EA60DAB65 /* LetterAvatarBuilderConfiguration.swift */, + E9780D36A1F0725F274FA4A5881A1915 /* LetterAvatarKit.h */, + 8320AC2954D41608D06513E5877DFBF6 /* LetterAvatarMaker.swift */, + FE442884C5DC6143CBD27E6FAC513852 /* LetterAvatarMakerExtendable.swift */, + 348F5355D652ADB13BC9B5556A0B9267 /* Extensions */, + B6A1D1611973078B4600193A5156938C /* Pod */, + 42DA5B1361068FCFC0790771E9FA3AF8 /* Support Files */, + ); + name = LetterAvatarKit; + path = ../..; + sourceTree = ""; + }; + 348F5355D652ADB13BC9B5556A0B9267 /* Extensions */ = { + isa = PBXGroup; + children = ( + 091BB612808CA8A85704AEA7D3963340 /* Character+LetterAvatarKit.swift */, + 0F3AD5131AF5BDC64B64BF4724C70254 /* String+LetterAvatarKit.swift */, + 30DAD5F8C3D58BEA98CEA402AC718511 /* UIColor+LetterAvatarKit.swift */, + A5BC50D6688CF055905D245F8DAC6B87 /* UIImage+LetterAvatarKit.swift */, + ); + name = Extensions; + path = LetterAvatarKit/Extensions; + sourceTree = ""; + }; + 42DA5B1361068FCFC0790771E9FA3AF8 /* Support Files */ = { + isa = PBXGroup; + children = ( + 5A870F85A7EB9C75F90179000AC784DB /* LetterAvatarKit.modulemap */, + 932732F9AFCEA473ED78F93093E5FD2A /* LetterAvatarKit.xcconfig */, + 2C6E097EB4811FA8FCCCA1F8AA51C2F3 /* LetterAvatarKit-dummy.m */, + 1DEAFB481E68CAE4159E1B091BDEABE7 /* LetterAvatarKit-Info.plist */, + 1FA1866AF7E1090D4ED3E98A2897C73F /* LetterAvatarKit-prefix.pch */, + C2DF75344145864544FBAD0071A5193A /* LetterAvatarKit-umbrella.h */, ); name = "Support Files"; path = "LetterAvatarKitObjcExample/Pods/Target Support Files/LetterAvatarKit"; sourceTree = ""; }; - 7376F0EDF7E681AE4F24E51589FA1EF3 /* Pod */ = { + B6A1D1611973078B4600193A5156938C /* Pod */ = { isa = PBXGroup; children = ( - FF7A15FBDE919245200914BF59E265D7 /* badge.svg */, - 239BE633C543848E7BCD4E1F7006C65B /* carat.png */, - A19CF64920BE7BAA97D018A000DF6B2E /* carat.png */, - B0884234CBFFA4CB7042BAC4F030B5AD /* Classes.html */, - 63308CD65CE4F93C1CE2F07E82C2DA3A /* Classes.html */, - 6D35778107FF6819E407EF0F3163B387 /* dash.png */, - 4F033F53B713B6B3EAECB4516ECCA267 /* dash.png */, - A0A46B2F47EDD237BC11158A1862D1CC /* docSet.dsidx */, - FF6BA7002A867EE7A65DFD8D2AA6DDF7 /* Extensions.html */, - 9D7DD393E51532E5D8C2925E9ACC1336 /* Extensions.html */, - 3D89CBA18922A6AEBB8CC48882738B41 /* gh.png */, - 7501C02FB17FB9A6086CB8B97E2114A2 /* gh.png */, - 7F4C83EA1653A04A5929CED1DBA31279 /* highlight.css */, - 4D774F4C4631052A1F09B689B37C90E6 /* highlight.css */, - 812A4254EF18606F2ABF3DF7AC7B0302 /* index.html */, - 8EBA9DFBC331FD6808D3C973D547BCD8 /* index.html */, - C7C527D35039E328BF409F8CEDCB7621 /* Info.plist */, - 07D4869F8CB9B2EE6EFE595A05C48CAD /* jazzy.css */, - 46CA5CE3B26DEA13CC2F92D543CC34FD /* jazzy.css */, - C58A17F8ED263332C0D3006D917EEAF0 /* jazzy.js */, - 357DE5B6F6A607E31CE40E6E9E112895 /* jazzy.js */, - E6215BBC25F6D4A945C229F69457AE03 /* jquery.min.js */, - 6BB335C2B328D5A47F36C39EB5B6F613 /* jquery.min.js */, - EACF3A480858F2299D5CE33484A8B6A8 /* LetterAvatarBuilder.html */, - 3F41FB2EC7ACB7BD7FDE1329F22B2486 /* LetterAvatarBuilder.html */, - 55CBA6A46CA1FB306B18E0BA95E678FE /* LetterAvatarBuilderConfiguration.html */, - 45D1A6385028D2A5559B2A3D7BE2D14D /* LetterAvatarBuilderConfiguration.html */, - B1F337793C139373F3C12D4300767D5D /* LetterAvatarKit.podspec */, - 44B2BF6CC917ED3AF5A168135F452236 /* LetterAvatarKit.tgz */, - 4F88F65EB4A59A1DF6745FC637E061BB /* LICENSE */, - 2AF6E6D22594BDF20A9618A6AA973E37 /* README.md */, - 52E039EEFB1022949EC97D969ED4F316 /* search.json */, - B1101ED8D7E8F0A4319235C677AAFDAB /* search.json */, - 4CD52C3FEC8E3C7B3983C43057308BE3 /* UIImage.html */, - D756BD267397B21633E4C1C961DED852 /* UIImage.html */, - 59D91D3575E7B6396F3BADB2F9A5205B /* undocumented.json */, + 3FD3CB358DF937204C75835BBC1E1F84 /* badge.svg */, + 440EF9603912CC15CDDB0E67B435B892 /* carat.png */, + 128FCDA4A788FAE0F33FFE2CF31722FB /* carat.png */, + B7AEA1870E73FC120C1941F8A21C5A44 /* Classes.html */, + EC9DD0B200226A8BE9F63DE2023A224A /* Classes.html */, + D7E6B979DAB09B37AF1CF9AD6589FD2B /* dash.png */, + C1FC820DBADBDCB802D97EEABB86C02D /* dash.png */, + 04C84C194331C42EA371262EFD843010 /* docSet.dsidx */, + AFA80D75287B549D7A6396D867FFB817 /* Extensions.html */, + 32914F5E3E272C0E329A2319500ACCF8 /* Extensions.html */, + B6DF8D7FA00FB51A15E0279018A5D2D4 /* gh.png */, + 8307B5D1B02867FB16F8E0FF4C929CDC /* gh.png */, + 087A82C3D01620996D70D255A5DDCCE0 /* highlight.css */, + 955A7C1D8BEEFEB46A2553C59BB7E169 /* highlight.css */, + 499F988B65BBCA5FCEC8E5703B62EDCB /* index.html */, + 76F432FC8CB5B42508EF47626C5B245A /* index.html */, + CC8AA712BD8686BC4C578549C88ECBE2 /* Info.plist */, + 2F690EFD56143B5304BA65F621E2A9EB /* jazzy.css */, + 2F36B3B130BD441758DE37B113F29E83 /* jazzy.css */, + 8325C5C35A9FB30F36600704070AABCD /* jazzy.js */, + D53B0B5625685CDD5A9795AD6B455E3C /* jazzy.js */, + FF4013405D2A274D7872C334EDFA3198 /* jquery.min.js */, + 2658F7A7631BF207DFC4C00BA3355C2C /* jquery.min.js */, + 8F50CDF4DE88CDA6AD71461BA5F5D042 /* LetterAvatarBuilder.html */, + EEEFD8B460AD1FF56FE48A7616DC4AE9 /* LetterAvatarBuilder.html */, + 8E5CE5A2BCC118459D150C7A447865F6 /* LetterAvatarBuilderConfiguration.html */, + 288D92F759F015E16DCBC461EA234906 /* LetterAvatarBuilderConfiguration.html */, + 24DB9D4D86EDE5616A7FF0936AE20D50 /* LetterAvatarKit.podspec */, + 1608D59F01782D1356104EDFF6E4B3FE /* LetterAvatarKit.tgz */, + E53F63FF5075E0EB64045CCA842896FE /* LICENSE */, + 21E380550FE288A5A213C9C7369DCFA0 /* README.md */, + 47BF3370EE3758E4E5141F750130C9B0 /* search.json */, + 79111A0BCB398516C39D33B55EED7CC2 /* search.json */, + A0024D10DB3E64CFA7C064766A5B6733 /* UIImage.html */, + C113579E252A83266C4D6F9AD15610A0 /* UIImage.html */, + B350555474AA1C1547754147C58AFA9C /* undocumented.json */, ); name = Pod; sourceTree = ""; }; + B6B8708A128F98BB45BCA3A4939BB12B /* Development Pods */ = { + isa = PBXGroup; + children = ( + 24C097C22D986CC3CD4164634EBC87EA /* LetterAvatarKit */, + ); + name = "Development Pods"; + sourceTree = ""; + }; C2000A16CE439504DB37FF631AE029F7 /* Pods-LetterAvatarKitObjcExample */ = { isa = PBXGroup; children = ( @@ -223,7 +263,7 @@ isa = PBXGroup; children = ( 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */, - F52409D6DDB2B4F842FAD03B0D40AB75 /* Development Pods */, + B6B8708A128F98BB45BCA3A4939BB12B /* Development Pods */, 1628BF05B4CAFDCC3549A101F5A10A17 /* Frameworks */, CBBA3580666EF57882AD99C9D40D1EDE /* Products */, C57FF64956861DD3957C59EDAA1C4299 /* Targets Support Files */, @@ -239,40 +279,6 @@ name = iOS; sourceTree = ""; }; - F52409D6DDB2B4F842FAD03B0D40AB75 /* Development Pods */ = { - isa = PBXGroup; - children = ( - FA342A14E8CE8BA26EAC3F06783FF4D0 /* LetterAvatarKit */, - ); - name = "Development Pods"; - sourceTree = ""; - }; - FA342A14E8CE8BA26EAC3F06783FF4D0 /* LetterAvatarKit */ = { - isa = PBXGroup; - children = ( - BEE1D16C085A94F09A4ED84C09768074 /* LetterAvatarBuilder.swift */, - 28341ADD9B634EB84195E9002D0614C5 /* LetterAvatarBuilderConfiguration.swift */, - 7C63E42E9C2F8B89B76999A4A6AB2E8C /* LetterAvatarKit.h */, - FB9D4E063FBA7F8317713F2891B2330E /* Extensions */, - 7376F0EDF7E681AE4F24E51589FA1EF3 /* Pod */, - 661CC71838B07E97AA00F92A00F51B2D /* Support Files */, - ); - name = LetterAvatarKit; - path = ../..; - sourceTree = ""; - }; - FB9D4E063FBA7F8317713F2891B2330E /* Extensions */ = { - isa = PBXGroup; - children = ( - 9E898E3A6E7495BFC809439C6EEBDADD /* Character+LetterAvatarKit.swift */, - E920DEED994A332794FFDC35AE5F3D07 /* String+LetterAvatarKit.swift */, - 4318105BA66E24CFD241D6F396EA0F5F /* UIColor+LetterAvatarKit.swift */, - DD1FD7174A23BEBECE3C10DD0798CCAD /* UIImage+LetterAvatarKit.swift */, - ); - name = Extensions; - path = LetterAvatarKit/Extensions; - sourceTree = ""; - }; /* End PBXGroup section */ /* Begin PBXHeadersBuildPhase section */ @@ -284,12 +290,12 @@ ); runOnlyForDeploymentPostprocessing = 0; }; - 8E8525DED48E578DB856D406D9CD7FB6 /* Headers */ = { + B0EB1381E102FE58DB288352AB4D573C /* Headers */ = { isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; files = ( - 7FFA5BA9DB7598F211BC205B6CE89FD3 /* LetterAvatarKit-umbrella.h in Headers */, - BBF9267D180690116360159D87CA53C1 /* LetterAvatarKit.h in Headers */, + 31C19330A09EA010A3F16331279E4278 /* LetterAvatarKit-umbrella.h in Headers */, + 5FE050AE22C3F548BD61D2EDD086D61C /* LetterAvatarKit.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -317,12 +323,12 @@ }; D9F7736046D8F388E749400613707326 /* LetterAvatarKit */ = { isa = PBXNativeTarget; - buildConfigurationList = A76239540E37A428AFFDDACF43D6EAF7 /* Build configuration list for PBXNativeTarget "LetterAvatarKit" */; + buildConfigurationList = 8A46E85A0AD40FE9108AC26D4CD0105B /* Build configuration list for PBXNativeTarget "LetterAvatarKit" */; buildPhases = ( - 8E8525DED48E578DB856D406D9CD7FB6 /* Headers */, - 814A58C8202417FD0D3E3233B6FAEC15 /* Sources */, - 3C9380D469808DB2D47C4894D5CB46A6 /* Frameworks */, - 09F976A1EDC1780EA12E515F176BA03A /* Resources */, + B0EB1381E102FE58DB288352AB4D573C /* Headers */, + 275851725C9F5328722FA5FADB3F30A2 /* Sources */, + 5733BFB46B66285653A00F6C379A296E /* Frameworks */, + 52610AE02381C5ED6305C6D17AFEB92A /* Resources */, ); buildRules = ( ); @@ -362,14 +368,14 @@ /* End PBXProject section */ /* Begin PBXResourcesBuildPhase section */ - 09F976A1EDC1780EA12E515F176BA03A /* Resources */ = { + 32800F4E0ECC325B952B7ECA9AEB3B4E /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( ); runOnlyForDeploymentPostprocessing = 0; }; - 32800F4E0ECC325B952B7ECA9AEB3B4E /* Resources */ = { + 52610AE02381C5ED6305C6D17AFEB92A /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( @@ -387,17 +393,19 @@ ); runOnlyForDeploymentPostprocessing = 0; }; - 814A58C8202417FD0D3E3233B6FAEC15 /* Sources */ = { + 275851725C9F5328722FA5FADB3F30A2 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - 48F441EAE634F43E5C0213745D86384E /* Character+LetterAvatarKit.swift in Sources */, - 498B86FFE54DB7417B3CC155AFF2DBB6 /* LetterAvatarBuilder.swift in Sources */, - 663AF4B7786C4A88332392FDD8D6AD3F /* LetterAvatarBuilderConfiguration.swift in Sources */, - 7C29F37D8F15D2C5743A32690858B617 /* LetterAvatarKit-dummy.m in Sources */, - 8C6D3E33B3FF4FFB2A18C648D7330606 /* String+LetterAvatarKit.swift in Sources */, - 7F754C8408056601A29CEBD16256A104 /* UIColor+LetterAvatarKit.swift in Sources */, - 87B67D15C5C69D725F234F032436077A /* UIImage+LetterAvatarKit.swift in Sources */, + 3EAC7C4CAD6C4D39A1371DDBC49CC1D8 /* Character+LetterAvatarKit.swift in Sources */, + B350CC59DE13BBB76419ABDB7F945814 /* LetterAvatarBuilder.swift in Sources */, + E39D3B670AF23127D1C9834507FD11E6 /* LetterAvatarBuilderConfiguration.swift in Sources */, + 88603C964B151DC40E6B24B96D201FE3 /* LetterAvatarKit-dummy.m in Sources */, + B9DAF5BAC6CE2077BCDE8AD5AFD48B9C /* LetterAvatarMaker.swift in Sources */, + 84E9878917DE3C1002D47A74D33E4AD7 /* LetterAvatarMakerExtendable.swift in Sources */, + B58EAABF9B2A52A942D58EF8A7B7BFC6 /* String+LetterAvatarKit.swift in Sources */, + AF0D1F005C4B6E8A60CFE21F061D1046 /* UIColor+LetterAvatarKit.swift in Sources */, + 775BA76DFD2A0DE79C8F2D7438F42B35 /* UIImage+LetterAvatarKit.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -446,9 +454,9 @@ }; name = Debug; }; - 4998DEA4DF0ABEB41DDC96254BA6D19E /* Release */ = { + 3150EF79E3048F685C2A517E3ECEE3D9 /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = FB3EDAF7C8C36EF224BBD49332D02BE7 /* LetterAvatarKit.xcconfig */; + baseConfigurationReference = 932732F9AFCEA473ED78F93093E5FD2A /* LetterAvatarKit.xcconfig */; buildSettings = { CODE_SIGN_IDENTITY = ""; "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; @@ -472,11 +480,10 @@ SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; }; - name = Release; + name = Debug; }; 8F17DC3A99F99FBAD606CE6963886315 /* Release */ = { isa = XCBuildConfiguration; @@ -635,9 +642,9 @@ }; name = Release; }; - F9E986E51B4ACF671F63540F5FDB37A4 /* Debug */ = { + F477C4E74012C11A2C07C3063D202FC8 /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = FB3EDAF7C8C36EF224BBD49332D02BE7 /* LetterAvatarKit.xcconfig */; + baseConfigurationReference = 932732F9AFCEA473ED78F93093E5FD2A /* LetterAvatarKit.xcconfig */; buildSettings = { CODE_SIGN_IDENTITY = ""; "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; @@ -661,10 +668,11 @@ SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; }; - name = Debug; + name = Release; }; /* End XCBuildConfiguration section */ @@ -678,11 +686,11 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - A76239540E37A428AFFDDACF43D6EAF7 /* Build configuration list for PBXNativeTarget "LetterAvatarKit" */ = { + 8A46E85A0AD40FE9108AC26D4CD0105B /* Build configuration list for PBXNativeTarget "LetterAvatarKit" */ = { isa = XCConfigurationList; buildConfigurations = ( - F9E986E51B4ACF671F63540F5FDB37A4 /* Debug */, - 4998DEA4DF0ABEB41DDC96254BA6D19E /* Release */, + 3150EF79E3048F685C2A517E3ECEE3D9 /* Debug */, + F477C4E74012C11A2C07C3063D202FC8 /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; diff --git a/LetterAvatarKitObjcExample/Pods/Target Support Files/LetterAvatarKit/LetterAvatarKit-Info.plist b/LetterAvatarKitObjcExample/Pods/Target Support Files/LetterAvatarKit/LetterAvatarKit-Info.plist index 05bf6cb..2a9158a 100644 --- a/LetterAvatarKitObjcExample/Pods/Target Support Files/LetterAvatarKit/LetterAvatarKit-Info.plist +++ b/LetterAvatarKitObjcExample/Pods/Target Support Files/LetterAvatarKit/LetterAvatarKit-Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 1.1.9 + 1.2.0 CFBundleSignature ???? CFBundleVersion diff --git a/LetterAvatarKitTests/Extensions/UIColor+LetterAvatarKitTests.swift b/LetterAvatarKitTests/Extensions/UIColor+LetterAvatarKitTests.swift index 89415db..b236c1f 100644 --- a/LetterAvatarKitTests/Extensions/UIColor+LetterAvatarKitTests.swift +++ b/LetterAvatarKitTests/Extensions/UIColor+LetterAvatarKitTests.swift @@ -30,7 +30,7 @@ import Foundation class UIColorLetterAvatarKitTests: XCTestCase { func testColorByHEX() { // TURQUOISE - let color = LAKUIColorByHEX(UIColor.HEXColor.turquoiseColor) + let color = LKUIColorByHEX(UIColor.HEXColor.turquoiseColor) XCTAssertEqual(CIColor(color: color).red, 26 / 255) XCTAssertEqual(CIColor(color: color).green, 188 / 255) XCTAssertEqual(CIColor(color: color).blue, 156 / 255) @@ -38,7 +38,7 @@ class UIColorLetterAvatarKitTests: XCTestCase { func testColorByRGB() { // TURQUOISE - let color = LAKUIColorByRGB(red: 26, green: 188, blue: 156) + let color = LKUIColorByRGB(red: 26, green: 188, blue: 156) XCTAssertEqual(CIColor(color: color).red, 26 / 255) XCTAssertEqual(CIColor(color: color).green, 188 / 255) XCTAssertEqual(CIColor(color: color).blue, 156 / 255) diff --git a/LetterAvatarKitTests/LetterAvatarBuilderTests.swift b/LetterAvatarKitTests/LetterAvatarBuilderTests.swift index 1da44a6..bc3ab51 100644 --- a/LetterAvatarKitTests/LetterAvatarBuilderTests.swift +++ b/LetterAvatarKitTests/LetterAvatarBuilderTests.swift @@ -51,34 +51,34 @@ class LetterAvatarBuilderTests: XCTestCase { configuration.singleLetter = true // Make images let avatarImage = LetterAvatarBuilder().makeAvatar(with: configuration) - let testAvatarImage = UIImage(named: "LetterAvatarSingleLetterTestImage") + let testImage = UIImage(named: "LetterAvatarSingleLetterTestImage") // Test them XCTAssertTrue(avatarImage?.size.width == configuration.size.width) XCTAssertTrue(avatarImage?.size.height == configuration.size.height) - XCTAssertEqual(avatarImage, testAvatarImage) + XCTAssertEqual(avatarImage, testImage) } func testAvatarBuildWithEmptyUsername() { let configuration = LetterAvatarBuilderConfiguration() let avatarImage = LetterAvatarBuilder().makeAvatar(with: configuration) - let testAvatarImage = UIImage(named: "LetterAvatarEmptyTestImage") - XCTAssertEqual(avatarImage, testAvatarImage) + let testImage = UIImage(named: "LetterAvatarEmptyTestImage") + XCTAssertEqual(avatarImage, testImage) } func testAvatarBuildWithOneWordUsername() { let configuration = LetterAvatarBuilderConfiguration() configuration.username = "Avatar" let avatarImage = LetterAvatarBuilder().makeAvatar(with: configuration) - let testAvatarImage = UIImage(named: "LetterAvatarOneWordTestImage") - XCTAssertEqual(avatarImage, testAvatarImage) + let testImage = UIImage(named: "LetterAvatarOneWordTestImage") + XCTAssertEqual(avatarImage, testImage) } func testAvatarBuildWithMoreThanTwoWordsUsername() { let configuration = LetterAvatarBuilderConfiguration() configuration.username = "Letter Test Avatar" let avatarImage = LetterAvatarBuilder().makeAvatar(with: configuration) - let testAvatarImage = UIImage(named: "LetterAvatarTestImage") - XCTAssertEqual(avatarImage, testAvatarImage) + let testImage = UIImage(named: "LetterAvatarTestImage") + XCTAssertEqual(avatarImage, testImage) } func testAvatarBuildWithOneWordUsernameAndSingleLetterFlag() { @@ -86,8 +86,8 @@ class LetterAvatarBuilderTests: XCTestCase { configuration.username = "Avatar" configuration.singleLetter = true let avatarImage = LetterAvatarBuilder().makeAvatar(with: configuration) - let testAvatarImage = UIImage(named: "LetterAvatarSingleLetterTestImage") - XCTAssertEqual(avatarImage, testAvatarImage) + let testImage = UIImage(named: "LetterAvatarSingleLetterTestImage") + XCTAssertEqual(avatarImage, testImage) } func testAvatarBuildWithOnlyOneBackgroundColor() { @@ -99,12 +99,13 @@ class LetterAvatarBuilderTests: XCTestCase { XCTAssertNotNil(avatarImage) } - /// If single Letter is passed as false but the string is a single char, + /// If a single letter is passed as false but the string is a single char, /// this line fails due to out of bounds exception. /// https://github.com/vpeschenkov/LetterAvatarKit/issues/11 func testAvatarBuildFailureCannotIncrementBeyondEndIndex() { let configuration = LetterAvatarBuilderConfiguration() - configuration.username = "" + configuration.username = "N" + configuration.singleLetter = true configuration.backgroundColors = [ .red ] let avatarImage = LetterAvatarBuilder().makeAvatar(with: configuration) XCTAssertNotNil(avatarImage) diff --git a/LetterAvatarKitTests/LetterAvatarMakerTests.swift b/LetterAvatarKitTests/LetterAvatarMakerTests.swift new file mode 100644 index 0000000..59d8491 --- /dev/null +++ b/LetterAvatarKitTests/LetterAvatarMakerTests.swift @@ -0,0 +1,118 @@ +// +// LetterAvatarMakerTests.swift +// LetterAvatarKitTests +// +// Copyright 2017 Victor Peschenkov +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// o 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. +// + +import XCTest +@testable import LetterAvatarKit + +class LetterAvatarMakerTests: XCTestCase { + func testAvatarBuild() { + let avatarImage = LetterAvatarMaker() + .setUsername("Letter Avatar") + .build() + let testImage = UIImage(named: "LetterAvatarTestImage") + XCTAssertEqual(avatarImage, testImage) + } + + func testAvatarBuildWithCustomSize() { + let size = CGSize(width: 100, height: 100) + let avatarImage = LetterAvatarMaker() + .setUsername("Letter Avatar") + .setSize(size) + .build() + XCTAssertTrue(avatarImage?.size.width == size.width) + XCTAssertTrue(avatarImage?.size.height == size.height) + } + + func testAvatarBuildSingleLetterFlag() { + // Make images + let avatarImage = LetterAvatarMaker() + .setUsername("Avatar Test") + .setSingleLetter(true) + .build() + let testImage = UIImage(named: "LetterAvatarSingleLetterTestImage") + XCTAssertEqual(avatarImage, testImage) + } + + func testAvatarBuildWithEmptyUsername() { + let avatarImage = LetterAvatarMaker().build() + let testImage = UIImage(named: "LetterAvatarEmptyTestImage") + XCTAssertEqual(avatarImage, testImage) + } + + func testAvatarBuildWithOneWordUsername() { + let avatarImage = LetterAvatarMaker() + .setUsername("Avatar") + .build() + let testImage = UIImage(named: "LetterAvatarOneWordTestImage") + XCTAssertEqual(avatarImage, testImage) + } + + func testAvatarBuildWithMoreThanTwoWordsUsername() { + let avatarImage = LetterAvatarMaker() + .setUsername("Letter Test Avatar") + .build() + let testImage = UIImage(named: "LetterAvatarTestImage") + XCTAssertEqual(avatarImage, testImage) + } + + func testAvatarBuildWithOneWordUsernameAndSingleLetterFlag() { + let avatarImage = LetterAvatarMaker() + .setUsername("Avatar") + .setSingleLetter(true) + .build() + let testImage = UIImage(named: "LetterAvatarSingleLetterTestImage") + XCTAssertEqual(avatarImage, testImage) + } + + func testAvatarBuildWithOnlyOneBackgroundColor() { + let avatarImage = LetterAvatarMaker() + .setUsername("Avatar") + .setSingleLetter(true) + .setBackgroundColors([ .red ]) + .build() + XCTAssertNotNil(avatarImage) + } + + /// If a single letter is passed as false but the string is a single char, + /// this line fails due to out of bounds exception. + /// https://github.com/vpeschenkov/LetterAvatarKit/issues/11 + func testAvatarBuildFailureCannotIncrementBeyondEndIndex() { + let avatarImage = LetterAvatarMaker() + .setUsername("N") + .setSingleLetter(true) + .setBackgroundColors([ .red ]) + .build() + XCTAssertNotNil(avatarImage) + } + + func testAvatarBuildWithClosure() { + let avatarImage = LetterAvatarMaker() + .build { c in + c.username = "Letter Avatar" + } + let testImage = UIImage(named: "LetterAvatarTestImage") + XCTAssertEqual(avatarImage, testImage) + } +} diff --git a/README.md b/README.md index 22f55f4..308e68b 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ `LetterAvatarKit` is available through [CocoaPods](https://cocoapods.org). To install it, simply add the following line to your Podfile: ```ruby -pod "LetterAvatarKit", "1.1.9" # Swift 5.0 +pod "LetterAvatarKit", "1.2.0" # Swift 5.0 pod "LetterAvatarKit", "1.1.7" # Swift 4.2 pod "LetterAvatarKit", "1.1.5" # Swift 4.0 ``` @@ -27,7 +27,7 @@ pod "LetterAvatarKit", "1.1.5" # Swift 4.0 Add this to `Cartfile` ```ruby -github "vpeschenkov/LetterAvatarKit" == 1.1.9 # Swift 5.0 +github "vpeschenkov/LetterAvatarKit" == 1.2.0 # Swift 5.0 github "vpeschenkov/LetterAvatarKit" == 1.1.7 # Swift 4.2 github "vpeschenkov/LetterAvatarKit" == 1.1.5 # Swift 4.0 ``` @@ -40,28 +40,44 @@ $ carthage update ### Swift -By `LetterAvatarBuilderConfiguration`: +Using `LetterAvatarMaker`: +```swift +let avatarImage = LetterAvatarMaker() + .setUsername("Letter Avatar") + .build() +avatarImageView.image = avatarImage + +// Using closures +let avatarImage = LetterAvatarMaker() + .build { c in + c.username = "Letter Avatar" + } +avatarImageView.image = avatarImage +``` + +Using `LetterAvatarBuilderConfiguration`: ```swift let configuration = LetterAvatarBuilderConfiguration() configuration.username = "Letter Avatar" -avatarImageView?.image = UIImage.makeLetterAvatar(withConfiguration: configuration) +avatarImageView.image = UIImage.makeLetterAvatar(withConfiguration: configuration) ``` -or simplier without the one: + +Using UIImage extension: ```swift -avatarImageView?.image = UIImage.makeLetterAvatar(withUsername: "Letter Avatar") +avatarImageView.image = UIImage.makeLetterAvatar(withUsername: "Letter Avatar") ``` ### Objective-C -Using a configuration: +Using `LKLetterAvatarBuilderCongiguration`: ```objc -LAKLetterAvatarBuilderCongiguration *configuration = [[LAKLetterAvatarBuilderCongiguration alloc] init]; +LKLetterAvatarBuilderCongiguration *configuration = [[LKLetterAvatarBuilderCongiguration alloc] init]; configuration.username = @"Letter Avatar"; -self.avatarImageView.image = [UIImage lak_makeLetterAvatarWithConfiguration:configuration]; +self.avatarImageView.image = [UIImage lk_makeLetterAvatarWithConfiguration:configuration]; ``` -or simplier without the one: +Using UIImage extension: ```objc -self.avatarImageView.image = [UIImage lak_makeLetterAvatarWithUsername:@"Letter Avatar"]; +self.avatarImageView.image = [UIImage lk_makeLetterAvatarWithUsername:@"Letter Avatar"]; ``` ## Customization @@ -90,7 +106,7 @@ open var lettersFont: UIFont = UIFont.systemFont(ofSize: 16.0) ```swift /// The letters colors -open var lettersColor: UIColor = LAKUIColorByRGB(red: 236, green: 240, blue: 241) +open var lettersColor: UIColor = LKUIColorByRGB(red: 236, green: 240, blue: 241) ``` ```swift diff --git a/docs/Classes.html b/docs/Classes.html index 9fb8041..f3fc56b 100644 --- a/docs/Classes.html +++ b/docs/Classes.html @@ -14,7 +14,7 @@
-

LetterAvatarKit Docs (100% documented)

+

LetterAvatarKit Docs (78% documented)

View on GitHub

@@ -42,6 +42,12 @@