├── .gitignore
├── .swift-version
├── .travis.yml
├── Demo-iOS
├── AppDelegate.swift
├── Assets.xcassets
│ └── AppIcon.appiconset
│ │ └── Contents.json
├── Base.lproj
│ ├── LaunchScreen.storyboard
│ └── Main.storyboard
├── CustomCell.swift
├── Info.plist
└── ViewController.swift
├── Demo-iOSTests
├── Demo_iOSTests.swift
└── Info.plist
├── LICENSE
├── README.md
├── TriLabelView.podspec
├── TriLabelView.xcodeproj
├── project.pbxproj
├── project.xcworkspace
│ └── contents.xcworkspacedata
└── xcshareddata
│ └── xcschemes
│ └── TriLabelView.xcscheme
├── TriLabelView
├── 0.1.0
│ └── TriLabelView.podspec
├── Info.plist
├── TriLabelView.h
└── TriLabelView.swift
├── TriLabelViewTests
├── Info.plist
└── TriLabelViewTests.swift
└── graphics
├── add_to_storyboard.png
├── attributes_inspector.png
├── favicon.png
├── favicon.svg
├── first_example.png
├── logotype-a.png
├── logotype-a.svg
├── logotype-b.png
├── logotype-b.svg
└── second_example.png
/.gitignore:
--------------------------------------------------------------------------------
1 | # Xcode
2 | #
3 | build/
4 | *.pbxuser
5 | !default.pbxuser
6 | *.mode1v3
7 | !default.mode1v3
8 | *.mode2v3
9 | !default.mode2v3
10 | *.perspectivev3
11 | !default.perspectivev3
12 | xcuserdata
13 | *.xccheckout
14 | *.moved-aside
15 | DerivedData
16 | *.hmap
17 | *.ipa
18 | *.xcuserstate
19 | .DS_Store
--------------------------------------------------------------------------------
/.swift-version:
--------------------------------------------------------------------------------
1 | 4.0
2 |
--------------------------------------------------------------------------------
/.travis.yml:
--------------------------------------------------------------------------------
1 | language: objective-c
2 | osx_image: xcode9.2
3 |
4 | script:
5 | travis_retry xcodebuild clean build test -project TriLabelView.xcodeproj -scheme TriLabelView -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 6'
6 |
--------------------------------------------------------------------------------
/Demo-iOS/AppDelegate.swift:
--------------------------------------------------------------------------------
1 | //
2 | // AppDelegate.swift
3 | // Demo-iOS
4 | //
5 | // Created by Mukesh Thawani on 10/07/16.
6 | // Copyright © 2016 Mukesh Thawani. All rights reserved.
7 | //
8 |
9 | import UIKit
10 |
11 | @UIApplicationMain
12 | class AppDelegate: UIResponder, UIApplicationDelegate {
13 |
14 | var window: UIWindow?
15 |
16 |
17 | func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
18 | // Override point for customization after application launch.
19 | return true
20 | }
21 |
22 | func applicationWillResignActive(_ application: UIApplication) {
23 | // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
24 | // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game.
25 | }
26 |
27 | func applicationDidEnterBackground(_ application: UIApplication) {
28 | // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
29 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
30 | }
31 |
32 | func applicationWillEnterForeground(_ application: UIApplication) {
33 | // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.
34 | }
35 |
36 | func applicationDidBecomeActive(_ application: UIApplication) {
37 | // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
38 | }
39 |
40 | func applicationWillTerminate(_ application: UIApplication) {
41 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
42 | }
43 |
44 |
45 | }
46 |
47 |
--------------------------------------------------------------------------------
/Demo-iOS/Assets.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "iphone",
5 | "size" : "29x29",
6 | "scale" : "2x"
7 | },
8 | {
9 | "idiom" : "iphone",
10 | "size" : "29x29",
11 | "scale" : "3x"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "size" : "40x40",
16 | "scale" : "2x"
17 | },
18 | {
19 | "idiom" : "iphone",
20 | "size" : "40x40",
21 | "scale" : "3x"
22 | },
23 | {
24 | "idiom" : "iphone",
25 | "size" : "60x60",
26 | "scale" : "2x"
27 | },
28 | {
29 | "idiom" : "iphone",
30 | "size" : "60x60",
31 | "scale" : "3x"
32 | }
33 | ],
34 | "info" : {
35 | "version" : 1,
36 | "author" : "xcode"
37 | }
38 | }
--------------------------------------------------------------------------------
/Demo-iOS/Base.lproj/LaunchScreen.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/Demo-iOS/Base.lproj/Main.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
--------------------------------------------------------------------------------
/Demo-iOS/CustomCell.swift:
--------------------------------------------------------------------------------
1 | //
2 | // CustomCell.swift
3 | // TriLabelView
4 | //
5 | // Created by Mukesh Thawani on 01/08/16.
6 | // Copyright © 2016 Mukesh Thawani. All rights reserved.
7 | //
8 |
9 | import UIKit
10 | import TriLabelView
11 |
12 | class CustomCell: UICollectionViewCell {
13 |
14 | var triLabel:TriLabelView!
15 |
16 | override init(frame: CGRect) {
17 | super.init(frame: frame)
18 |
19 | // Initialize
20 | triLabel = TriLabelView(frame: bounds)
21 | addSubview(triLabel)
22 | }
23 |
24 | required init?(coder aDecoder: NSCoder) {
25 | fatalError("init(coder:) has not been implemented")
26 | }
27 |
28 | }
29 |
--------------------------------------------------------------------------------
/Demo-iOS/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIMainStoryboardFile
28 | Main
29 | UIRequiredDeviceCapabilities
30 |
31 | armv7
32 |
33 | UISupportedInterfaceOrientations
34 |
35 | UIInterfaceOrientationPortrait
36 | UIInterfaceOrientationLandscapeLeft
37 | UIInterfaceOrientationLandscapeRight
38 |
39 |
40 |
41 |
--------------------------------------------------------------------------------
/Demo-iOS/ViewController.swift:
--------------------------------------------------------------------------------
1 | //
2 | // ViewController.swift
3 | // Demo-iOS
4 | //
5 | // Created by Mukesh Thawani on 10/07/16.
6 | // Copyright © 2016 Mukesh Thawani. All rights reserved.
7 | //
8 |
9 | import UIKit
10 | import TriLabelView
11 |
12 | class ViewController: UIViewController, UICollectionViewDataSource, UICollectionViewDelegate {
13 |
14 | @IBOutlet weak var collectionView: UICollectionView!
15 | private var colorList:[UIColor] = [.cyan,.cyan,.gray,.gray, .purple, .purple]
16 |
17 | override func viewDidLoad() {
18 | super.viewDidLoad()
19 | collectionView.dataSource = self
20 | collectionView.delegate = self
21 | collectionView.register(CustomCell.self, forCellWithReuseIdentifier: "cell")
22 | collectionView.backgroundColor = UIColor.white
23 | }
24 |
25 | func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {
26 | return 6
27 | }
28 |
29 | func collectionView(_ collectionView: UICollectionView,
30 | layout collectionViewLayout: UICollectionViewLayout,
31 | sizeForItemAtIndexPath indexPath: IndexPath) -> CGSize {
32 | let viewWidth = view.frame.width
33 | let viewHeight = view.frame.height
34 | let cellSize = CGSize(width: viewWidth/2, height: viewHeight/3)
35 | return cellSize
36 | }
37 |
38 | func collectionView(_ collectionView: UICollectionView,
39 | layout collectionViewLayout: UICollectionViewLayout,
40 | minimumInteritemSpacingForSectionAtIndex section: Int) -> CGFloat {
41 | return 1.0
42 | }
43 |
44 | func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {
45 | let cell = collectionView.dequeueReusableCell(withReuseIdentifier: "cell", for: indexPath) as! CustomCell
46 | let cellTriLabel = cell.triLabel!
47 |
48 | // Length Percentage
49 | cellTriLabel.lengthPercentage = 50
50 |
51 | // Text
52 | cellTriLabel.labelText = "NEW"
53 |
54 | // Text Color
55 | cellTriLabel.textColor = UIColor.white
56 |
57 | // Font
58 | cellTriLabel.labelFont = UIFont(name: "HelveticaNeue-Bold", size: 19)!
59 |
60 | // Background Color
61 | cellTriLabel.viewColor = UIColor.brown
62 |
63 | switch indexPath.row {
64 | case 0:
65 | cellTriLabel.position = .TopLeft
66 | case 1:
67 | cellTriLabel.position = .TopRight
68 | case 2:
69 | cellTriLabel.position = .BottomLeft
70 | case 3:
71 | cellTriLabel.position = .BottomRight
72 | default:
73 | cellTriLabel.isHidden = true
74 | break
75 | }
76 | cell.backgroundColor = colorList[indexPath.row]
77 | return cell
78 | }
79 | }
80 |
81 |
--------------------------------------------------------------------------------
/Demo-iOSTests/Demo_iOSTests.swift:
--------------------------------------------------------------------------------
1 | //
2 | // Demo_iOSTests.swift
3 | // Demo-iOSTests
4 | //
5 | // Created by Mukesh Thawani on 10/07/16.
6 | // Copyright © 2016 Mukesh Thawani. All rights reserved.
7 | //
8 |
9 | import XCTest
10 | @testable import Demo_iOS
11 |
12 | class Demo_iOSTests: XCTestCase {
13 |
14 | override func setUp() {
15 | super.setUp()
16 | // Put setup code here. This method is called before the invocation of each test method in the class.
17 | }
18 |
19 | override func tearDown() {
20 | // Put teardown code here. This method is called after the invocation of each test method in the class.
21 | super.tearDown()
22 | }
23 |
24 | func testExample() {
25 | // This is an example of a functional test case.
26 | // Use XCTAssert and related functions to verify your tests produce the correct results.
27 | }
28 |
29 | func testPerformanceExample() {
30 | // This is an example of a performance test case.
31 | self.measure {
32 | // Put the code you want to measure the time of here.
33 | }
34 | }
35 |
36 | }
37 |
--------------------------------------------------------------------------------
/Demo-iOSTests/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | BNDL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 |
24 |
25 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2016 Mukesh Thawani
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 |

2 |
3 | # A triangle shaped corner label view for iOS written in Swift.
4 |
5 | * This view is a subclass of UIView.
6 | * It can be created and customized from the Storyboard or from the code.
7 |
8 |
9 |
10 |
11 |
13 |
15 |
16 | ## Setup with CocoaPods
17 |
18 | If you are using CocoaPods add this text to your Podfile
19 | and run `pod install`.
20 |
21 | use_frameworks!
22 | target 'Your target name'
23 | pod 'TriLabelView'
24 |
25 | ## Or Add source
26 |
27 | Simply add
28 | [TriLabelView.swift](https://github.com/mukeshthawani/TriLabelView/blob/master/TriLabelView/TriLabelView.swift) file to you project.
29 |
30 | ## Usage
31 |
32 | ### Creating a view from the code
33 |
34 | ```Swift
35 | let triLabelView = TriLabelView(frame:CGRect)
36 | view.addSubview(triLabelView)
37 | ```
38 |
39 | #### Customization
40 | ```Swift
41 | // Change Text
42 | triLabelView.labelText = "NEW"
43 |
44 | // Adjust Length Percentage
45 | // You can update this to set percentage value of this
46 | // view to that of the superview.
47 | // Default value is 50.0
48 | triLabelView.lengthPercentage = 60.0
49 | ```
50 |
51 | You can set the position of view with `.TopLeft` being the default. The following positions are available
52 | ```Swift
53 | public enum Position:String {
54 | case TopLeft
55 | case TopRight
56 | case BottomRight
57 | case BottomLeft
58 | }
59 | ```
60 |
61 | You can update text color, font and background color
62 | ```Swift
63 | triLabelView.textColor = UIColor.yellowColor()
64 |
65 | triLabelView.labelFont = UIFont.systemFont(ofSize: 15)
66 |
67 | triLabelView.viewColor = UIColor.brownColor()
68 | ```
69 |
70 | ### Creating a view from the storyboard
71 |
72 | - If you already have a view where you want to use then set it's `class` to `TriLabelView` in identity inspector.
73 |
74 | - Or drag a **View** from object library and then change it's `class` to `TriLabelView` in identity inspector.
75 |
76 | - Set the `module` property to `TriLabelView`.
77 |
78 |
80 |
81 | - Customize the view properties in the attributes inspector.
82 |
83 |
85 |
86 | ## Requirements
87 |
88 | - Swift 3 / Xcode 8
89 | - iOS 9.3
90 |
91 | ## Author
92 |
93 | [Mukesh Thawani](http://twitter.com/MukeshThawani)
94 |
95 | ## Contributing
96 |
97 | Feature requests, bug reports, and pull requests are all welcome.
98 |
99 | ## License
100 |
101 | Copyright (c) 2016 Mukesh Thawani. Release under the [MIT License](License).
102 |
--------------------------------------------------------------------------------
/TriLabelView.podspec:
--------------------------------------------------------------------------------
1 | Pod::Spec.new do |s|
2 |
3 | s.platform = :ios
4 | s.ios.deployment_target = '11.0'
5 | s.name = "TriLabelView"
6 | s.version = "1.0.0"
7 | s.summary = "A triangle shaped corner label view for iOS written in Swift."
8 | s.homepage = "https://github.com/mukeshthawani/TriLabelView"
9 | s.license = { :type => "MIT", :file => "LICENSE" }
10 | s.author = { "Mukesh Thawani" => "mukesh9039@gmail.com" }
11 | s.social_media_url = "http://twitter.com/MukeshThawani"
12 | s.source = { :git => "https://github.com/mukeshthawani/TriLabelView.git", :tag => "#{s.version}" }
13 | s.framework = "UIKit"
14 | s.source_files = "TriLabelView/**/*.{swift}"
15 | s.requires_arc = true
16 | end
17 |
--------------------------------------------------------------------------------
/TriLabelView.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 46;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | 8B3768211D4E7C1000183385 /* CustomCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8B3768201D4E7C1000183385 /* CustomCell.swift */; };
11 | 8BD2DA691D3235AE00AFEF44 /* TriLabelView.h in Headers */ = {isa = PBXBuildFile; fileRef = 8BD2DA681D3235AE00AFEF44 /* TriLabelView.h */; settings = {ATTRIBUTES = (Public, ); }; };
12 | 8BD2DA701D3235AE00AFEF44 /* TriLabelView.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8BD2DA651D3235AE00AFEF44 /* TriLabelView.framework */; };
13 | 8BD2DA751D3235AE00AFEF44 /* TriLabelViewTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8BD2DA741D3235AE00AFEF44 /* TriLabelViewTests.swift */; };
14 | 8BD2DA801D32386500AFEF44 /* TriLabelView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8BD2DA7F1D32386500AFEF44 /* TriLabelView.swift */; };
15 | 8BD2DA881D3293F800AFEF44 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8BD2DA871D3293F800AFEF44 /* AppDelegate.swift */; };
16 | 8BD2DA8A1D3293F800AFEF44 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8BD2DA891D3293F800AFEF44 /* ViewController.swift */; };
17 | 8BD2DA8D1D3293F800AFEF44 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 8BD2DA8B1D3293F800AFEF44 /* Main.storyboard */; };
18 | 8BD2DA8F1D3293F800AFEF44 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 8BD2DA8E1D3293F800AFEF44 /* Assets.xcassets */; };
19 | 8BD2DA921D3293F800AFEF44 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 8BD2DA901D3293F800AFEF44 /* LaunchScreen.storyboard */; };
20 | 8BD2DA9D1D3293F800AFEF44 /* Demo_iOSTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8BD2DA9C1D3293F800AFEF44 /* Demo_iOSTests.swift */; };
21 | /* End PBXBuildFile section */
22 |
23 | /* Begin PBXContainerItemProxy section */
24 | 8BD2DA711D3235AE00AFEF44 /* PBXContainerItemProxy */ = {
25 | isa = PBXContainerItemProxy;
26 | containerPortal = 8BD2DA5C1D3235AE00AFEF44 /* Project object */;
27 | proxyType = 1;
28 | remoteGlobalIDString = 8BD2DA641D3235AE00AFEF44;
29 | remoteInfo = TriLabelView;
30 | };
31 | 8BD2DA991D3293F800AFEF44 /* PBXContainerItemProxy */ = {
32 | isa = PBXContainerItemProxy;
33 | containerPortal = 8BD2DA5C1D3235AE00AFEF44 /* Project object */;
34 | proxyType = 1;
35 | remoteGlobalIDString = 8BD2DA841D3293F800AFEF44;
36 | remoteInfo = "Demo-iOS";
37 | };
38 | /* End PBXContainerItemProxy section */
39 |
40 | /* Begin PBXFileReference section */
41 | 8B3768201D4E7C1000183385 /* CustomCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CustomCell.swift; sourceTree = ""; };
42 | 8BD2DA651D3235AE00AFEF44 /* TriLabelView.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = TriLabelView.framework; sourceTree = BUILT_PRODUCTS_DIR; };
43 | 8BD2DA681D3235AE00AFEF44 /* TriLabelView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TriLabelView.h; sourceTree = ""; };
44 | 8BD2DA6A1D3235AE00AFEF44 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
45 | 8BD2DA6F1D3235AE00AFEF44 /* TriLabelViewTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = TriLabelViewTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
46 | 8BD2DA741D3235AE00AFEF44 /* TriLabelViewTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TriLabelViewTests.swift; sourceTree = ""; };
47 | 8BD2DA761D3235AE00AFEF44 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
48 | 8BD2DA7F1D32386500AFEF44 /* TriLabelView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TriLabelView.swift; sourceTree = ""; };
49 | 8BD2DA851D3293F800AFEF44 /* Demo-iOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Demo-iOS.app"; sourceTree = BUILT_PRODUCTS_DIR; };
50 | 8BD2DA871D3293F800AFEF44 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; };
51 | 8BD2DA891D3293F800AFEF44 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; };
52 | 8BD2DA8C1D3293F800AFEF44 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
53 | 8BD2DA8E1D3293F800AFEF44 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; };
54 | 8BD2DA911D3293F800AFEF44 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; };
55 | 8BD2DA931D3293F800AFEF44 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
56 | 8BD2DA981D3293F800AFEF44 /* Demo-iOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "Demo-iOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
57 | 8BD2DA9C1D3293F800AFEF44 /* Demo_iOSTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Demo_iOSTests.swift; sourceTree = ""; };
58 | 8BD2DA9E1D3293F800AFEF44 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
59 | /* End PBXFileReference section */
60 |
61 | /* Begin PBXFrameworksBuildPhase section */
62 | 8BD2DA611D3235AE00AFEF44 /* Frameworks */ = {
63 | isa = PBXFrameworksBuildPhase;
64 | buildActionMask = 2147483647;
65 | files = (
66 | );
67 | runOnlyForDeploymentPostprocessing = 0;
68 | };
69 | 8BD2DA6C1D3235AE00AFEF44 /* Frameworks */ = {
70 | isa = PBXFrameworksBuildPhase;
71 | buildActionMask = 2147483647;
72 | files = (
73 | 8BD2DA701D3235AE00AFEF44 /* TriLabelView.framework in Frameworks */,
74 | );
75 | runOnlyForDeploymentPostprocessing = 0;
76 | };
77 | 8BD2DA821D3293F800AFEF44 /* Frameworks */ = {
78 | isa = PBXFrameworksBuildPhase;
79 | buildActionMask = 2147483647;
80 | files = (
81 | );
82 | runOnlyForDeploymentPostprocessing = 0;
83 | };
84 | 8BD2DA951D3293F800AFEF44 /* Frameworks */ = {
85 | isa = PBXFrameworksBuildPhase;
86 | buildActionMask = 2147483647;
87 | files = (
88 | );
89 | runOnlyForDeploymentPostprocessing = 0;
90 | };
91 | /* End PBXFrameworksBuildPhase section */
92 |
93 | /* Begin PBXGroup section */
94 | 8BD2DA5B1D3235AE00AFEF44 = {
95 | isa = PBXGroup;
96 | children = (
97 | 8BD2DA671D3235AE00AFEF44 /* TriLabelView */,
98 | 8BD2DA731D3235AE00AFEF44 /* TriLabelViewTests */,
99 | 8BD2DA861D3293F800AFEF44 /* Demo-iOS */,
100 | 8BD2DA9B1D3293F800AFEF44 /* Demo-iOSTests */,
101 | 8BD2DA661D3235AE00AFEF44 /* Products */,
102 | );
103 | sourceTree = "";
104 | };
105 | 8BD2DA661D3235AE00AFEF44 /* Products */ = {
106 | isa = PBXGroup;
107 | children = (
108 | 8BD2DA651D3235AE00AFEF44 /* TriLabelView.framework */,
109 | 8BD2DA6F1D3235AE00AFEF44 /* TriLabelViewTests.xctest */,
110 | 8BD2DA851D3293F800AFEF44 /* Demo-iOS.app */,
111 | 8BD2DA981D3293F800AFEF44 /* Demo-iOSTests.xctest */,
112 | );
113 | name = Products;
114 | sourceTree = "";
115 | };
116 | 8BD2DA671D3235AE00AFEF44 /* TriLabelView */ = {
117 | isa = PBXGroup;
118 | children = (
119 | 8BD2DA681D3235AE00AFEF44 /* TriLabelView.h */,
120 | 8BD2DA6A1D3235AE00AFEF44 /* Info.plist */,
121 | 8BD2DA7F1D32386500AFEF44 /* TriLabelView.swift */,
122 | );
123 | path = TriLabelView;
124 | sourceTree = "";
125 | };
126 | 8BD2DA731D3235AE00AFEF44 /* TriLabelViewTests */ = {
127 | isa = PBXGroup;
128 | children = (
129 | 8BD2DA741D3235AE00AFEF44 /* TriLabelViewTests.swift */,
130 | 8BD2DA761D3235AE00AFEF44 /* Info.plist */,
131 | );
132 | path = TriLabelViewTests;
133 | sourceTree = "";
134 | };
135 | 8BD2DA861D3293F800AFEF44 /* Demo-iOS */ = {
136 | isa = PBXGroup;
137 | children = (
138 | 8BD2DA871D3293F800AFEF44 /* AppDelegate.swift */,
139 | 8BD2DA891D3293F800AFEF44 /* ViewController.swift */,
140 | 8BD2DA8B1D3293F800AFEF44 /* Main.storyboard */,
141 | 8BD2DA8E1D3293F800AFEF44 /* Assets.xcassets */,
142 | 8BD2DA901D3293F800AFEF44 /* LaunchScreen.storyboard */,
143 | 8BD2DA931D3293F800AFEF44 /* Info.plist */,
144 | 8B3768201D4E7C1000183385 /* CustomCell.swift */,
145 | );
146 | path = "Demo-iOS";
147 | sourceTree = "";
148 | };
149 | 8BD2DA9B1D3293F800AFEF44 /* Demo-iOSTests */ = {
150 | isa = PBXGroup;
151 | children = (
152 | 8BD2DA9C1D3293F800AFEF44 /* Demo_iOSTests.swift */,
153 | 8BD2DA9E1D3293F800AFEF44 /* Info.plist */,
154 | );
155 | path = "Demo-iOSTests";
156 | sourceTree = "";
157 | };
158 | /* End PBXGroup section */
159 |
160 | /* Begin PBXHeadersBuildPhase section */
161 | 8BD2DA621D3235AE00AFEF44 /* Headers */ = {
162 | isa = PBXHeadersBuildPhase;
163 | buildActionMask = 2147483647;
164 | files = (
165 | 8BD2DA691D3235AE00AFEF44 /* TriLabelView.h in Headers */,
166 | );
167 | runOnlyForDeploymentPostprocessing = 0;
168 | };
169 | /* End PBXHeadersBuildPhase section */
170 |
171 | /* Begin PBXNativeTarget section */
172 | 8BD2DA641D3235AE00AFEF44 /* TriLabelView */ = {
173 | isa = PBXNativeTarget;
174 | buildConfigurationList = 8BD2DA791D3235AE00AFEF44 /* Build configuration list for PBXNativeTarget "TriLabelView" */;
175 | buildPhases = (
176 | 8BD2DA601D3235AE00AFEF44 /* Sources */,
177 | 8BD2DA611D3235AE00AFEF44 /* Frameworks */,
178 | 8BD2DA621D3235AE00AFEF44 /* Headers */,
179 | 8BD2DA631D3235AE00AFEF44 /* Resources */,
180 | );
181 | buildRules = (
182 | );
183 | dependencies = (
184 | );
185 | name = TriLabelView;
186 | productName = TriLabelView;
187 | productReference = 8BD2DA651D3235AE00AFEF44 /* TriLabelView.framework */;
188 | productType = "com.apple.product-type.framework";
189 | };
190 | 8BD2DA6E1D3235AE00AFEF44 /* TriLabelViewTests */ = {
191 | isa = PBXNativeTarget;
192 | buildConfigurationList = 8BD2DA7C1D3235AE00AFEF44 /* Build configuration list for PBXNativeTarget "TriLabelViewTests" */;
193 | buildPhases = (
194 | 8BD2DA6B1D3235AE00AFEF44 /* Sources */,
195 | 8BD2DA6C1D3235AE00AFEF44 /* Frameworks */,
196 | 8BD2DA6D1D3235AE00AFEF44 /* Resources */,
197 | );
198 | buildRules = (
199 | );
200 | dependencies = (
201 | 8BD2DA721D3235AE00AFEF44 /* PBXTargetDependency */,
202 | );
203 | name = TriLabelViewTests;
204 | productName = TriLabelViewTests;
205 | productReference = 8BD2DA6F1D3235AE00AFEF44 /* TriLabelViewTests.xctest */;
206 | productType = "com.apple.product-type.bundle.unit-test";
207 | };
208 | 8BD2DA841D3293F800AFEF44 /* Demo-iOS */ = {
209 | isa = PBXNativeTarget;
210 | buildConfigurationList = 8BD2DA9F1D3293F800AFEF44 /* Build configuration list for PBXNativeTarget "Demo-iOS" */;
211 | buildPhases = (
212 | 8BD2DA811D3293F800AFEF44 /* Sources */,
213 | 8BD2DA821D3293F800AFEF44 /* Frameworks */,
214 | 8BD2DA831D3293F800AFEF44 /* Resources */,
215 | );
216 | buildRules = (
217 | );
218 | dependencies = (
219 | );
220 | name = "Demo-iOS";
221 | productName = "Demo-iOS";
222 | productReference = 8BD2DA851D3293F800AFEF44 /* Demo-iOS.app */;
223 | productType = "com.apple.product-type.application";
224 | };
225 | 8BD2DA971D3293F800AFEF44 /* Demo-iOSTests */ = {
226 | isa = PBXNativeTarget;
227 | buildConfigurationList = 8BD2DAA21D3293F800AFEF44 /* Build configuration list for PBXNativeTarget "Demo-iOSTests" */;
228 | buildPhases = (
229 | 8BD2DA941D3293F800AFEF44 /* Sources */,
230 | 8BD2DA951D3293F800AFEF44 /* Frameworks */,
231 | 8BD2DA961D3293F800AFEF44 /* Resources */,
232 | );
233 | buildRules = (
234 | );
235 | dependencies = (
236 | 8BD2DA9A1D3293F800AFEF44 /* PBXTargetDependency */,
237 | );
238 | name = "Demo-iOSTests";
239 | productName = "Demo-iOSTests";
240 | productReference = 8BD2DA981D3293F800AFEF44 /* Demo-iOSTests.xctest */;
241 | productType = "com.apple.product-type.bundle.unit-test";
242 | };
243 | /* End PBXNativeTarget section */
244 |
245 | /* Begin PBXProject section */
246 | 8BD2DA5C1D3235AE00AFEF44 /* Project object */ = {
247 | isa = PBXProject;
248 | attributes = {
249 | LastSwiftUpdateCheck = 0730;
250 | LastUpgradeCheck = 0730;
251 | ORGANIZATIONNAME = "Mukesh Thawani";
252 | TargetAttributes = {
253 | 8BD2DA641D3235AE00AFEF44 = {
254 | CreatedOnToolsVersion = 7.3;
255 | LastSwiftMigration = 0800;
256 | };
257 | 8BD2DA6E1D3235AE00AFEF44 = {
258 | CreatedOnToolsVersion = 7.3;
259 | LastSwiftMigration = 0920;
260 | };
261 | 8BD2DA841D3293F800AFEF44 = {
262 | CreatedOnToolsVersion = 7.3;
263 | LastSwiftMigration = 0800;
264 | };
265 | 8BD2DA971D3293F800AFEF44 = {
266 | CreatedOnToolsVersion = 7.3;
267 | LastSwiftMigration = 0800;
268 | TestTargetID = 8BD2DA841D3293F800AFEF44;
269 | };
270 | };
271 | };
272 | buildConfigurationList = 8BD2DA5F1D3235AE00AFEF44 /* Build configuration list for PBXProject "TriLabelView" */;
273 | compatibilityVersion = "Xcode 3.2";
274 | developmentRegion = English;
275 | hasScannedForEncodings = 0;
276 | knownRegions = (
277 | en,
278 | Base,
279 | );
280 | mainGroup = 8BD2DA5B1D3235AE00AFEF44;
281 | productRefGroup = 8BD2DA661D3235AE00AFEF44 /* Products */;
282 | projectDirPath = "";
283 | projectRoot = "";
284 | targets = (
285 | 8BD2DA641D3235AE00AFEF44 /* TriLabelView */,
286 | 8BD2DA6E1D3235AE00AFEF44 /* TriLabelViewTests */,
287 | 8BD2DA841D3293F800AFEF44 /* Demo-iOS */,
288 | 8BD2DA971D3293F800AFEF44 /* Demo-iOSTests */,
289 | );
290 | };
291 | /* End PBXProject section */
292 |
293 | /* Begin PBXResourcesBuildPhase section */
294 | 8BD2DA631D3235AE00AFEF44 /* Resources */ = {
295 | isa = PBXResourcesBuildPhase;
296 | buildActionMask = 2147483647;
297 | files = (
298 | );
299 | runOnlyForDeploymentPostprocessing = 0;
300 | };
301 | 8BD2DA6D1D3235AE00AFEF44 /* Resources */ = {
302 | isa = PBXResourcesBuildPhase;
303 | buildActionMask = 2147483647;
304 | files = (
305 | );
306 | runOnlyForDeploymentPostprocessing = 0;
307 | };
308 | 8BD2DA831D3293F800AFEF44 /* Resources */ = {
309 | isa = PBXResourcesBuildPhase;
310 | buildActionMask = 2147483647;
311 | files = (
312 | 8BD2DA921D3293F800AFEF44 /* LaunchScreen.storyboard in Resources */,
313 | 8BD2DA8F1D3293F800AFEF44 /* Assets.xcassets in Resources */,
314 | 8BD2DA8D1D3293F800AFEF44 /* Main.storyboard in Resources */,
315 | );
316 | runOnlyForDeploymentPostprocessing = 0;
317 | };
318 | 8BD2DA961D3293F800AFEF44 /* Resources */ = {
319 | isa = PBXResourcesBuildPhase;
320 | buildActionMask = 2147483647;
321 | files = (
322 | );
323 | runOnlyForDeploymentPostprocessing = 0;
324 | };
325 | /* End PBXResourcesBuildPhase section */
326 |
327 | /* Begin PBXSourcesBuildPhase section */
328 | 8BD2DA601D3235AE00AFEF44 /* Sources */ = {
329 | isa = PBXSourcesBuildPhase;
330 | buildActionMask = 2147483647;
331 | files = (
332 | 8BD2DA801D32386500AFEF44 /* TriLabelView.swift in Sources */,
333 | );
334 | runOnlyForDeploymentPostprocessing = 0;
335 | };
336 | 8BD2DA6B1D3235AE00AFEF44 /* Sources */ = {
337 | isa = PBXSourcesBuildPhase;
338 | buildActionMask = 2147483647;
339 | files = (
340 | 8BD2DA751D3235AE00AFEF44 /* TriLabelViewTests.swift in Sources */,
341 | );
342 | runOnlyForDeploymentPostprocessing = 0;
343 | };
344 | 8BD2DA811D3293F800AFEF44 /* Sources */ = {
345 | isa = PBXSourcesBuildPhase;
346 | buildActionMask = 2147483647;
347 | files = (
348 | 8BD2DA8A1D3293F800AFEF44 /* ViewController.swift in Sources */,
349 | 8B3768211D4E7C1000183385 /* CustomCell.swift in Sources */,
350 | 8BD2DA881D3293F800AFEF44 /* AppDelegate.swift in Sources */,
351 | );
352 | runOnlyForDeploymentPostprocessing = 0;
353 | };
354 | 8BD2DA941D3293F800AFEF44 /* Sources */ = {
355 | isa = PBXSourcesBuildPhase;
356 | buildActionMask = 2147483647;
357 | files = (
358 | 8BD2DA9D1D3293F800AFEF44 /* Demo_iOSTests.swift in Sources */,
359 | );
360 | runOnlyForDeploymentPostprocessing = 0;
361 | };
362 | /* End PBXSourcesBuildPhase section */
363 |
364 | /* Begin PBXTargetDependency section */
365 | 8BD2DA721D3235AE00AFEF44 /* PBXTargetDependency */ = {
366 | isa = PBXTargetDependency;
367 | target = 8BD2DA641D3235AE00AFEF44 /* TriLabelView */;
368 | targetProxy = 8BD2DA711D3235AE00AFEF44 /* PBXContainerItemProxy */;
369 | };
370 | 8BD2DA9A1D3293F800AFEF44 /* PBXTargetDependency */ = {
371 | isa = PBXTargetDependency;
372 | target = 8BD2DA841D3293F800AFEF44 /* Demo-iOS */;
373 | targetProxy = 8BD2DA991D3293F800AFEF44 /* PBXContainerItemProxy */;
374 | };
375 | /* End PBXTargetDependency section */
376 |
377 | /* Begin PBXVariantGroup section */
378 | 8BD2DA8B1D3293F800AFEF44 /* Main.storyboard */ = {
379 | isa = PBXVariantGroup;
380 | children = (
381 | 8BD2DA8C1D3293F800AFEF44 /* Base */,
382 | );
383 | name = Main.storyboard;
384 | sourceTree = "";
385 | };
386 | 8BD2DA901D3293F800AFEF44 /* LaunchScreen.storyboard */ = {
387 | isa = PBXVariantGroup;
388 | children = (
389 | 8BD2DA911D3293F800AFEF44 /* Base */,
390 | );
391 | name = LaunchScreen.storyboard;
392 | sourceTree = "";
393 | };
394 | /* End PBXVariantGroup section */
395 |
396 | /* Begin XCBuildConfiguration section */
397 | 8BD2DA771D3235AE00AFEF44 /* Debug */ = {
398 | isa = XCBuildConfiguration;
399 | buildSettings = {
400 | ALWAYS_SEARCH_USER_PATHS = NO;
401 | CLANG_ANALYZER_NONNULL = YES;
402 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
403 | CLANG_CXX_LIBRARY = "libc++";
404 | CLANG_ENABLE_MODULES = YES;
405 | CLANG_ENABLE_OBJC_ARC = YES;
406 | CLANG_WARN_BOOL_CONVERSION = YES;
407 | CLANG_WARN_CONSTANT_CONVERSION = YES;
408 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
409 | CLANG_WARN_EMPTY_BODY = YES;
410 | CLANG_WARN_ENUM_CONVERSION = YES;
411 | CLANG_WARN_INT_CONVERSION = YES;
412 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
413 | CLANG_WARN_UNREACHABLE_CODE = YES;
414 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
415 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
416 | COPY_PHASE_STRIP = NO;
417 | CURRENT_PROJECT_VERSION = 1;
418 | DEBUG_INFORMATION_FORMAT = dwarf;
419 | ENABLE_STRICT_OBJC_MSGSEND = YES;
420 | ENABLE_TESTABILITY = YES;
421 | GCC_C_LANGUAGE_STANDARD = gnu99;
422 | GCC_DYNAMIC_NO_PIC = NO;
423 | GCC_NO_COMMON_BLOCKS = YES;
424 | GCC_OPTIMIZATION_LEVEL = 0;
425 | GCC_PREPROCESSOR_DEFINITIONS = (
426 | "DEBUG=1",
427 | "$(inherited)",
428 | );
429 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
430 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
431 | GCC_WARN_UNDECLARED_SELECTOR = YES;
432 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
433 | GCC_WARN_UNUSED_FUNCTION = YES;
434 | GCC_WARN_UNUSED_VARIABLE = YES;
435 | IPHONEOS_DEPLOYMENT_TARGET = 9.3;
436 | MTL_ENABLE_DEBUG_INFO = YES;
437 | ONLY_ACTIVE_ARCH = YES;
438 | SDKROOT = iphoneos;
439 | SWIFT_OPTIMIZATION_LEVEL = "-Onone";
440 | SWIFT_SWIFT3_OBJC_INFERENCE = Off;
441 | SWIFT_VERSION = 4.0;
442 | TARGETED_DEVICE_FAMILY = "1,2";
443 | VERSIONING_SYSTEM = "apple-generic";
444 | VERSION_INFO_PREFIX = "";
445 | };
446 | name = Debug;
447 | };
448 | 8BD2DA781D3235AE00AFEF44 /* Release */ = {
449 | isa = XCBuildConfiguration;
450 | buildSettings = {
451 | ALWAYS_SEARCH_USER_PATHS = NO;
452 | CLANG_ANALYZER_NONNULL = YES;
453 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
454 | CLANG_CXX_LIBRARY = "libc++";
455 | CLANG_ENABLE_MODULES = YES;
456 | CLANG_ENABLE_OBJC_ARC = YES;
457 | CLANG_WARN_BOOL_CONVERSION = YES;
458 | CLANG_WARN_CONSTANT_CONVERSION = YES;
459 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
460 | CLANG_WARN_EMPTY_BODY = YES;
461 | CLANG_WARN_ENUM_CONVERSION = YES;
462 | CLANG_WARN_INT_CONVERSION = YES;
463 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
464 | CLANG_WARN_UNREACHABLE_CODE = YES;
465 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
466 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
467 | COPY_PHASE_STRIP = NO;
468 | CURRENT_PROJECT_VERSION = 1;
469 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
470 | ENABLE_NS_ASSERTIONS = NO;
471 | ENABLE_STRICT_OBJC_MSGSEND = YES;
472 | GCC_C_LANGUAGE_STANDARD = gnu99;
473 | GCC_NO_COMMON_BLOCKS = YES;
474 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
475 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
476 | GCC_WARN_UNDECLARED_SELECTOR = YES;
477 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
478 | GCC_WARN_UNUSED_FUNCTION = YES;
479 | GCC_WARN_UNUSED_VARIABLE = YES;
480 | IPHONEOS_DEPLOYMENT_TARGET = 9.3;
481 | MTL_ENABLE_DEBUG_INFO = NO;
482 | SDKROOT = iphoneos;
483 | SWIFT_SWIFT3_OBJC_INFERENCE = Off;
484 | SWIFT_VERSION = 4.0;
485 | TARGETED_DEVICE_FAMILY = "1,2";
486 | VALIDATE_PRODUCT = YES;
487 | VERSIONING_SYSTEM = "apple-generic";
488 | VERSION_INFO_PREFIX = "";
489 | };
490 | name = Release;
491 | };
492 | 8BD2DA7A1D3235AE00AFEF44 /* Debug */ = {
493 | isa = XCBuildConfiguration;
494 | buildSettings = {
495 | CLANG_ENABLE_MODULES = YES;
496 | DEFINES_MODULE = YES;
497 | DYLIB_COMPATIBILITY_VERSION = 1;
498 | DYLIB_CURRENT_VERSION = 1;
499 | DYLIB_INSTALL_NAME_BASE = "@rpath";
500 | INFOPLIST_FILE = TriLabelView/Info.plist;
501 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
502 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
503 | PRODUCT_BUNDLE_IDENTIFIER = com.mukeshthawani.TriLabelView;
504 | PRODUCT_NAME = "$(TARGET_NAME)";
505 | SKIP_INSTALL = YES;
506 | SWIFT_OPTIMIZATION_LEVEL = "-Onone";
507 | SWIFT_VERSION = 4.0;
508 | };
509 | name = Debug;
510 | };
511 | 8BD2DA7B1D3235AE00AFEF44 /* Release */ = {
512 | isa = XCBuildConfiguration;
513 | buildSettings = {
514 | CLANG_ENABLE_MODULES = YES;
515 | DEFINES_MODULE = YES;
516 | DYLIB_COMPATIBILITY_VERSION = 1;
517 | DYLIB_CURRENT_VERSION = 1;
518 | DYLIB_INSTALL_NAME_BASE = "@rpath";
519 | INFOPLIST_FILE = TriLabelView/Info.plist;
520 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
521 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
522 | PRODUCT_BUNDLE_IDENTIFIER = com.mukeshthawani.TriLabelView;
523 | PRODUCT_NAME = "$(TARGET_NAME)";
524 | SKIP_INSTALL = YES;
525 | SWIFT_VERSION = 4.0;
526 | };
527 | name = Release;
528 | };
529 | 8BD2DA7D1D3235AE00AFEF44 /* Debug */ = {
530 | isa = XCBuildConfiguration;
531 | buildSettings = {
532 | INFOPLIST_FILE = TriLabelViewTests/Info.plist;
533 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
534 | PRODUCT_BUNDLE_IDENTIFIER = com.mukeshthawani.TriLabelViewTests;
535 | PRODUCT_NAME = "$(TARGET_NAME)";
536 | SWIFT_SWIFT3_OBJC_INFERENCE = On;
537 | SWIFT_VERSION = 4.0;
538 | };
539 | name = Debug;
540 | };
541 | 8BD2DA7E1D3235AE00AFEF44 /* Release */ = {
542 | isa = XCBuildConfiguration;
543 | buildSettings = {
544 | INFOPLIST_FILE = TriLabelViewTests/Info.plist;
545 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
546 | PRODUCT_BUNDLE_IDENTIFIER = com.mukeshthawani.TriLabelViewTests;
547 | PRODUCT_NAME = "$(TARGET_NAME)";
548 | SWIFT_SWIFT3_OBJC_INFERENCE = On;
549 | SWIFT_VERSION = 4.0;
550 | };
551 | name = Release;
552 | };
553 | 8BD2DAA01D3293F800AFEF44 /* Debug */ = {
554 | isa = XCBuildConfiguration;
555 | buildSettings = {
556 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
557 | INFOPLIST_FILE = "Demo-iOS/Info.plist";
558 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
559 | PRODUCT_BUNDLE_IDENTIFIER = "com.mukeshthawani.Demo-iOS";
560 | PRODUCT_NAME = "$(TARGET_NAME)";
561 | SWIFT_VERSION = 4.0;
562 | };
563 | name = Debug;
564 | };
565 | 8BD2DAA11D3293F800AFEF44 /* Release */ = {
566 | isa = XCBuildConfiguration;
567 | buildSettings = {
568 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
569 | INFOPLIST_FILE = "Demo-iOS/Info.plist";
570 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
571 | PRODUCT_BUNDLE_IDENTIFIER = "com.mukeshthawani.Demo-iOS";
572 | PRODUCT_NAME = "$(TARGET_NAME)";
573 | SWIFT_VERSION = 4.0;
574 | };
575 | name = Release;
576 | };
577 | 8BD2DAA31D3293F800AFEF44 /* Debug */ = {
578 | isa = XCBuildConfiguration;
579 | buildSettings = {
580 | BUNDLE_LOADER = "$(TEST_HOST)";
581 | INFOPLIST_FILE = "Demo-iOSTests/Info.plist";
582 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
583 | PRODUCT_BUNDLE_IDENTIFIER = "com.mukeshthawani.Demo-iOSTests";
584 | PRODUCT_NAME = "$(TARGET_NAME)";
585 | SWIFT_VERSION = 4.0;
586 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Demo-iOS.app/Demo-iOS";
587 | };
588 | name = Debug;
589 | };
590 | 8BD2DAA41D3293F800AFEF44 /* Release */ = {
591 | isa = XCBuildConfiguration;
592 | buildSettings = {
593 | BUNDLE_LOADER = "$(TEST_HOST)";
594 | INFOPLIST_FILE = "Demo-iOSTests/Info.plist";
595 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
596 | PRODUCT_BUNDLE_IDENTIFIER = "com.mukeshthawani.Demo-iOSTests";
597 | PRODUCT_NAME = "$(TARGET_NAME)";
598 | SWIFT_VERSION = 4.0;
599 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Demo-iOS.app/Demo-iOS";
600 | };
601 | name = Release;
602 | };
603 | /* End XCBuildConfiguration section */
604 |
605 | /* Begin XCConfigurationList section */
606 | 8BD2DA5F1D3235AE00AFEF44 /* Build configuration list for PBXProject "TriLabelView" */ = {
607 | isa = XCConfigurationList;
608 | buildConfigurations = (
609 | 8BD2DA771D3235AE00AFEF44 /* Debug */,
610 | 8BD2DA781D3235AE00AFEF44 /* Release */,
611 | );
612 | defaultConfigurationIsVisible = 0;
613 | defaultConfigurationName = Release;
614 | };
615 | 8BD2DA791D3235AE00AFEF44 /* Build configuration list for PBXNativeTarget "TriLabelView" */ = {
616 | isa = XCConfigurationList;
617 | buildConfigurations = (
618 | 8BD2DA7A1D3235AE00AFEF44 /* Debug */,
619 | 8BD2DA7B1D3235AE00AFEF44 /* Release */,
620 | );
621 | defaultConfigurationIsVisible = 0;
622 | defaultConfigurationName = Release;
623 | };
624 | 8BD2DA7C1D3235AE00AFEF44 /* Build configuration list for PBXNativeTarget "TriLabelViewTests" */ = {
625 | isa = XCConfigurationList;
626 | buildConfigurations = (
627 | 8BD2DA7D1D3235AE00AFEF44 /* Debug */,
628 | 8BD2DA7E1D3235AE00AFEF44 /* Release */,
629 | );
630 | defaultConfigurationIsVisible = 0;
631 | defaultConfigurationName = Release;
632 | };
633 | 8BD2DA9F1D3293F800AFEF44 /* Build configuration list for PBXNativeTarget "Demo-iOS" */ = {
634 | isa = XCConfigurationList;
635 | buildConfigurations = (
636 | 8BD2DAA01D3293F800AFEF44 /* Debug */,
637 | 8BD2DAA11D3293F800AFEF44 /* Release */,
638 | );
639 | defaultConfigurationIsVisible = 0;
640 | defaultConfigurationName = Release;
641 | };
642 | 8BD2DAA21D3293F800AFEF44 /* Build configuration list for PBXNativeTarget "Demo-iOSTests" */ = {
643 | isa = XCConfigurationList;
644 | buildConfigurations = (
645 | 8BD2DAA31D3293F800AFEF44 /* Debug */,
646 | 8BD2DAA41D3293F800AFEF44 /* Release */,
647 | );
648 | defaultConfigurationIsVisible = 0;
649 | defaultConfigurationName = Release;
650 | };
651 | /* End XCConfigurationList section */
652 | };
653 | rootObject = 8BD2DA5C1D3235AE00AFEF44 /* Project object */;
654 | }
655 |
--------------------------------------------------------------------------------
/TriLabelView.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/TriLabelView.xcodeproj/xcshareddata/xcschemes/TriLabelView.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
24 |
25 |
30 |
31 |
33 |
39 |
40 |
41 |
42 |
43 |
49 |
50 |
51 |
52 |
53 |
54 |
64 |
65 |
71 |
72 |
73 |
74 |
75 |
76 |
82 |
83 |
89 |
90 |
91 |
92 |
94 |
95 |
98 |
99 |
100 |
--------------------------------------------------------------------------------
/TriLabelView/0.1.0/TriLabelView.podspec:
--------------------------------------------------------------------------------
1 | Pod::Spec.new do |s|
2 |
3 | s.platform = :ios
4 | s.ios.deployment_target = '9.3'
5 | s.name = "TriLabelView"
6 | s.version = "0.1.0"
7 | s.summary = "A triangle shaped corner label view for iOS written in Swift."
8 | s.homepage = "https://github.com/mukeshthawani/TriLabelView"
9 | s.license = { :type => "MIT", :file => "LICENSE" }
10 | s.author = { "Mukesh Thawani" => "mukesh9039@gmail.com" }
11 | s.social_media_url = "http://twitter.com/MukeshThawani"
12 | s.source = { :git => "https://github.com/mukeshthawani/TriLabelView.git", :tag => "#{s.version}" }
13 | s.framework = "UIKit"
14 | s.source_files = "TriLabelView/**/*.{swift}"
15 | s.requires_arc = true
16 |
17 | end
18 |
--------------------------------------------------------------------------------
/TriLabelView/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | FMWK
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | $(CURRENT_PROJECT_VERSION)
23 | NSPrincipalClass
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/TriLabelView/TriLabelView.h:
--------------------------------------------------------------------------------
1 | //
2 | // TriLabelView.h
3 | // TriLabelView
4 | //
5 | // Created by Mukesh Thawani on 10/07/16.
6 | // Copyright © 2016 Mukesh Thawani. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | //! Project version number for TriLabelView.
12 | FOUNDATION_EXPORT double TriLabelViewVersionNumber;
13 |
14 | //! Project version string for TriLabelView.
15 | FOUNDATION_EXPORT const unsigned char TriLabelViewVersionString[];
16 |
17 | // In this header, you should import all the public headers of your framework using statements like #import
18 |
19 |
20 |
--------------------------------------------------------------------------------
/TriLabelView/TriLabelView.swift:
--------------------------------------------------------------------------------
1 | //
2 | // TriLabelView.swift
3 | // TriLabelView
4 | //
5 | // Created by Mukesh Thawani on 10/07/16.
6 | // Copyright © 2016 Mukesh Thawani. All rights reserved.
7 | //
8 |
9 | import UIKit
10 |
11 | /**
12 |
13 | TriLabelView for iOS.
14 | Project home: "https://github.com/mukeshthawani/TriLabelView"
15 |
16 | */
17 | @IBDesignable public class TriLabelView: UIView {
18 |
19 | /// The positions to select for placement of the label view.
20 | public enum Position:String {
21 | case TopLeft = "topleft"
22 | case TopRight = "topright"
23 | case BottomRight = "bottomright"
24 | case BottomLeft = "bottomleft"
25 | }
26 |
27 | private var length = CGFloat()
28 | private var newRect = CGRect()
29 |
30 | // MARK: - Initialization
31 |
32 | public override init(frame: CGRect) {
33 | super.init(frame: frame)
34 | setUp()
35 | }
36 |
37 | required public init?(coder aDecoder: NSCoder) {
38 | super.init(coder: aDecoder)
39 | setUp()
40 | }
41 |
42 | private func setUp() {
43 | self.isOpaque = false
44 | }
45 |
46 | /// The position of the label view.
47 | public var position:Position = .TopLeft {
48 | didSet {
49 | setNeedsDisplay()
50 | }
51 | }
52 |
53 | // MARK: - Attributes
54 |
55 | /// The postion of the label view for IB.
56 |
57 | /// This line works incorrectly with xcode 15.
58 | // @available(*, unavailable, message: "This property is reserved for IB. Use position instead")
59 | @IBInspectable public var positionName: String? {
60 | didSet {
61 | setNeedsDisplay()
62 | }
63 | willSet {
64 | if let newPosition = Position(rawValue: newValue?.lowercased() ?? "") {
65 | position = newPosition
66 | }
67 | }
68 | }
69 |
70 | /// Percentage of length of the label view to parent view.
71 | @IBInspectable public var lengthPercentage:CGFloat = 50.0 {
72 | didSet {
73 | setNeedsDisplay()
74 | }
75 | }
76 |
77 | @IBInspectable var cornerRadius: CGFloat {
78 | get {
79 | return layer.cornerRadius
80 | }
81 | set {
82 | layer.cornerRadius = newValue
83 | layer.masksToBounds = newValue > 0
84 | }
85 | }
86 |
87 | /// The text displayed by the label view.
88 | @IBInspectable public var labelText:String = "Hi" {
89 | didSet {
90 | setNeedsDisplay()
91 | }
92 | }
93 |
94 | /// The font for the label text.
95 | @IBInspectable public var labelFont: UIFont = UIFont.systemFont(ofSize: 15, weight: UIFont.Weight.bold) {
96 | didSet {
97 | setNeedsDisplay()
98 | }
99 | }
100 |
101 | /// The background color of the label view.
102 | @IBInspectable public var viewColor:UIColor = UIColor.blue {
103 | didSet {
104 | setNeedsDisplay()
105 | }
106 | }
107 |
108 | /// The color of the text.
109 | @IBInspectable public var textColor:UIColor = UIColor.black {
110 | didSet {
111 | setNeedsDisplay()
112 | }
113 | }
114 |
115 | // MARK: - Drawing
116 |
117 | /// Create a new rectangle according to the position.
118 | private func updateNewRect() {
119 | let rectWidth = bounds.width
120 | let rectHeight = bounds.height
121 |
122 | length = (lengthPercentage/100) * min(rectWidth, rectHeight)
123 |
124 | switch position {
125 | case .TopRight:
126 | newRect = CGRect(x: rectWidth-length, y: 0, width: length, height: length)
127 | case .BottomLeft:
128 | newRect = CGRect(x: 0, y: rectHeight-length, width: length, height: length)
129 | case .BottomRight:
130 | newRect = CGRect(x: rectWidth-length, y: rectHeight-length, width: length, height: length)
131 | default:
132 | newRect = CGRect(x: 0, y: 0, width: length, height: length)
133 | }
134 | }
135 |
136 | override public func draw(_ rect: CGRect) {
137 | updateNewRect()
138 |
139 | let trianglePath = UIBezierPath()
140 | var pointValues = [CGFloat]()
141 | let rectOriginX = newRect.origin.x
142 | let rectOriginY = newRect.origin.y
143 | let rectWidth = newRect.width + rectOriginX
144 | let rectHeight = newRect.width + rectOriginY
145 |
146 | switch position {
147 | case .TopRight:
148 | pointValues = [rectOriginX,rectOriginY, rectWidth, rectOriginY, rectWidth, rectHeight, rectOriginX, rectOriginY]
149 | case .BottomLeft:
150 | pointValues = [rectOriginX, rectOriginY, rectWidth, rectHeight, rectOriginX, rectHeight, rectOriginX, rectOriginY]
151 | case .BottomRight:
152 | pointValues = [rectWidth, rectOriginY, rectWidth, rectHeight, rectOriginX, rectHeight, rectWidth, rectOriginY]
153 | default:
154 | // Default is TopLeft
155 | pointValues = [rectOriginX, rectOriginY, rectWidth, rectOriginY, rectOriginX, rectHeight, rectOriginX, rectOriginY]
156 | }
157 | trianglePath.move(to: CGPoint(x: pointValues[0], y: pointValues[1]))
158 | trianglePath.addLine(to: CGPoint(x: pointValues[2], y: pointValues[3]))
159 | trianglePath.addLine(to: CGPoint(x: pointValues[4], y: pointValues[5]))
160 | trianglePath.addLine(to: CGPoint(x: pointValues[6], y: pointValues[7]))
161 | trianglePath.close()
162 |
163 | UIColor.clear.setStroke()
164 | viewColor.setFill()
165 | trianglePath.fill()
166 | trianglePath.stroke()
167 |
168 | addLabelToView()
169 | }
170 |
171 | // MARK: - Label
172 |
173 | /// Add the label to the label view.
174 | private func addLabelToView() {
175 | self.clearChildViews()
176 | let (x, y, labelAngle,textWidth,textHeight) = getLabelPostion(newRect.width)
177 |
178 | let firstLabel = UILabel()
179 | firstLabel.frame = CGRect(x: x, y: y, width: textWidth, height: textHeight)
180 | firstLabel.text = labelText
181 | firstLabel.transform = CGAffineTransform(rotationAngle: labelAngle)
182 | firstLabel.textAlignment = .center
183 | firstLabel.textColor = textColor
184 | firstLabel.changeFont(labelFont: labelFont)
185 |
186 | self.addSubview(firstLabel)
187 | }
188 |
189 | /// Get the position of the label inside the label view.
190 | private func getLabelPostion(_ length:CGFloat) -> (CGFloat,CGFloat,CGFloat,CGFloat,CGFloat) {
191 | var x = CGFloat()
192 | var y = CGFloat()
193 |
194 | var labelAngle:CGFloat = 0
195 | let rectOriginX = newRect.origin.x
196 | let rectOriginY = newRect.origin.y
197 | let rectWidth = newRect.width
198 | let (textWidth,textHeight) = getTextCGSize(labelText)
199 |
200 | switch position {
201 | case .TopRight:
202 | x = (2/3*rectWidth+rectOriginX)-textWidth/2
203 | y = (1/3*rectWidth+rectOriginY)-textHeight/2
204 | labelAngle = (3.14/4)
205 | case .BottomRight:
206 | x = (2/3*rectWidth+rectOriginX)-textWidth/2
207 | y = (2/3*rectWidth+rectOriginY)-textHeight/2
208 | labelAngle = (-3.14/4)
209 | case .BottomLeft:
210 | x = (1/3*rectWidth+rectOriginX)-textWidth/2
211 | y = (2/3*rectWidth+rectOriginY)-textHeight/2
212 | labelAngle = (3.14/4)
213 | default:
214 | x = (1/3*rectWidth+rectOriginX) - textWidth/2
215 | y = (1/3*rectWidth+rectOriginY) - textHeight/2
216 | labelAngle = (7*CGFloat(3.14/4))
217 | }
218 |
219 | return(x, y, labelAngle, textWidth, textHeight)
220 | }
221 |
222 | /// Get the width and height of the text.
223 | private func getTextCGSize(_ text:String) -> (CGFloat,CGFloat) {
224 | let textAttr = [NSAttributedStringKey.font:labelFont]
225 | let nsText = text as NSString
226 | let cgSize = nsText.size(withAttributes: textAttr)
227 |
228 | return (cgSize.width,cgSize.height)
229 | }
230 | }
231 |
232 | /// Clear the child views.
233 | private extension UIView {
234 | func clearChildViews() {
235 | subviews.forEach({ $0.removeFromSuperview() })
236 | }
237 | }
238 |
239 | /// Update the font of the text and fit it's width.
240 | private extension UILabel {
241 | func changeFont(labelFont: UIFont) {
242 | font = labelFont
243 | adjustsFontSizeToFitWidth = true
244 | }
245 | }
246 |
--------------------------------------------------------------------------------
/TriLabelViewTests/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | BNDL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 |
24 |
25 |
--------------------------------------------------------------------------------
/TriLabelViewTests/TriLabelViewTests.swift:
--------------------------------------------------------------------------------
1 | //
2 | // TriLabelViewTests.swift
3 | // TriLabelViewTests
4 | //
5 | // Created by Mukesh Thawani on 10/07/16.
6 | // Copyright © 2016 Mukesh Thawani. All rights reserved.
7 | //
8 |
9 | import XCTest
10 | @testable import TriLabelView
11 |
12 | class TriLabelViewTests: XCTestCase {
13 |
14 | override func setUp() {
15 | super.setUp()
16 | // Put setup code here. This method is called before the invocation of each test method in the class.
17 | }
18 |
19 | override func tearDown() {
20 | // Put teardown code here. This method is called after the invocation of each test method in the class.
21 | super.tearDown()
22 | }
23 |
24 | func testExample() {
25 | // This is an example of a functional test case.
26 | // Use XCTAssert and related functions to verify your tests produce the correct results.
27 | }
28 |
29 | func testPerformanceExample() {
30 | // This is an example of a performance test case.
31 | self.measure {
32 | // Put the code you want to measure the time of here.
33 | }
34 | }
35 |
36 | }
37 |
--------------------------------------------------------------------------------
/graphics/add_to_storyboard.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mukeshthawani/TriLabelView/0d65602e68bb802a23f0d2d651831dae7be7c770/graphics/add_to_storyboard.png
--------------------------------------------------------------------------------
/graphics/attributes_inspector.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mukeshthawani/TriLabelView/0d65602e68bb802a23f0d2d651831dae7be7c770/graphics/attributes_inspector.png
--------------------------------------------------------------------------------
/graphics/favicon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mukeshthawani/TriLabelView/0d65602e68bb802a23f0d2d651831dae7be7c770/graphics/favicon.png
--------------------------------------------------------------------------------
/graphics/favicon.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
12 |
--------------------------------------------------------------------------------
/graphics/first_example.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mukeshthawani/TriLabelView/0d65602e68bb802a23f0d2d651831dae7be7c770/graphics/first_example.png
--------------------------------------------------------------------------------
/graphics/logotype-a.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mukeshthawani/TriLabelView/0d65602e68bb802a23f0d2d651831dae7be7c770/graphics/logotype-a.png
--------------------------------------------------------------------------------
/graphics/logotype-a.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
48 |
--------------------------------------------------------------------------------
/graphics/logotype-b.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mukeshthawani/TriLabelView/0d65602e68bb802a23f0d2d651831dae7be7c770/graphics/logotype-b.png
--------------------------------------------------------------------------------
/graphics/logotype-b.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
49 |
--------------------------------------------------------------------------------
/graphics/second_example.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mukeshthawani/TriLabelView/0d65602e68bb802a23f0d2d651831dae7be7c770/graphics/second_example.png
--------------------------------------------------------------------------------