Skip to content

Commit e78733e

Browse files
committed
Rename OTPProgressRing to ProgressRingView
1 parent d89587a commit e78733e

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

Authenticator.xcodeproj/project.pbxproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
C9CC09551BA91D1C008C54FE /* TableViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = C9CC09541BA91D1C008C54FE /* TableViewModel.swift */; };
5252
C9D6C83F1906BD68004F0E08 /* SegmentedControlRow.swift in Sources */ = {isa = PBXBuildFile; fileRef = C9D6C83E1906BD68004F0E08 /* SegmentedControlRow.swift */; };
5353
C9D6C8461906CD54004F0E08 /* TextFieldRow.swift in Sources */ = {isa = PBXBuildFile; fileRef = C9D6C8451906CD54004F0E08 /* TextFieldRow.swift */; };
54-
C9D6C84C19075044004F0E08 /* OTPProgressRing.swift in Sources */ = {isa = PBXBuildFile; fileRef = C9D6C84B19075044004F0E08 /* OTPProgressRing.swift */; };
54+
C9D6C84C19075044004F0E08 /* ProgressRingView.swift in Sources */ = {isa = PBXBuildFile; fileRef = C9D6C84B19075044004F0E08 /* ProgressRingView.swift */; };
5555
C9DE02E71ED2234D00D7E01C /* InfoList.swift in Sources */ = {isa = PBXBuildFile; fileRef = C9DE02E61ED2234D00D7E01C /* InfoList.swift */; };
5656
C9DE02E91ED227D600D7E01C /* InfoListViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = C9DE02E81ED227D600D7E01C /* InfoListViewController.swift */; };
5757
C9E3FB9A1E281CBC00EFA8BB /* TokenScanner.swift in Sources */ = {isa = PBXBuildFile; fileRef = C9E3FB991E281CBC00EFA8BB /* TokenScanner.swift */; };
@@ -172,7 +172,7 @@
172172
C9CC09541BA91D1C008C54FE /* TableViewModel.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TableViewModel.swift; sourceTree = "<group>"; };
173173
C9D6C83E1906BD68004F0E08 /* SegmentedControlRow.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SegmentedControlRow.swift; sourceTree = "<group>"; };
174174
C9D6C8451906CD54004F0E08 /* TextFieldRow.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TextFieldRow.swift; sourceTree = "<group>"; };
175-
C9D6C84B19075044004F0E08 /* OTPProgressRing.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = OTPProgressRing.swift; sourceTree = "<group>"; };
175+
C9D6C84B19075044004F0E08 /* ProgressRingView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ProgressRingView.swift; sourceTree = "<group>"; };
176176
C9D844341D4C576B00D5E343 /* CONTRIBUTING.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; path = CONTRIBUTING.md; sourceTree = "<group>"; };
177177
C9D844361D4C59D600D5E343 /* CONDUCT.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = CONDUCT.md; sourceTree = "<group>"; };
178178
C9DE02E61ED2234D00D7E01C /* InfoList.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = InfoList.swift; sourceTree = "<group>"; };
@@ -400,7 +400,7 @@
400400
C9B7328E1C0A8AE60076F77E /* TokenListViewModel.swift */,
401401
C92708AB19CFB0750033128B /* TokenListViewController.swift */,
402402
C98C1C4517D2EDF500A07D3F /* Cells */,
403-
C9D6C84B19075044004F0E08 /* OTPProgressRing.swift */,
403+
C9D6C84B19075044004F0E08 /* ProgressRingView.swift */,
404404
CC46C4701DB3007D00EB4605 /* SearchField.swift */,
405405
);
406406
name = "Token List";
@@ -669,7 +669,7 @@
669669
C93BD6231C167CD100FFFB8F /* Root.swift in Sources */,
670670
C97CDF2C1BEEC90100D64406 /* QRScanner.swift in Sources */,
671671
C9AAB07F1B917EC3000CE547 /* TokenEditForm.swift in Sources */,
672-
C9D6C84C19075044004F0E08 /* OTPProgressRing.swift in Sources */,
672+
C9D6C84C19075044004F0E08 /* ProgressRingView.swift in Sources */,
673673
C9A1C1A91E501D8B009E65D6 /* Info.swift in Sources */,
674674
C9CC09531BA9133B008C54FE /* FocusCell.swift in Sources */,
675675
C99069D1180CBAC900BAEF53 /* TokenScannerViewController.swift in Sources */,

Authenticator/Source/OTPProgressRing.swift renamed to Authenticator/Source/ProgressRingView.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//
2-
// OTPProgressRing.swift
2+
// ProgressRingView.swift
33
// Authenticator
44
//
55
// Copyright (c) 2014-2016 Authenticator authors
@@ -34,7 +34,7 @@ struct ProgressRingViewModel {
3434
}
3535
}
3636

37-
class OTPProgressRing: UIView {
37+
class ProgressRingView: UIView {
3838
private let backgroundRingLayer = RingLayer()
3939
private let foregroundRingLayer = RingLayer()
4040

Authenticator/Source/SearchField.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import UIKit
2828
// A custom view that contains a SearchTextField displaying its placeholder centered in the
2929
// text field.
3030
//
31-
// Displays a OTPProgressRing as the `leftView` control.
31+
// Displays a ProgressRingView as the `leftView` control.
3232
class SearchField: UIView {
3333

3434
override init(frame: CGRect) {
@@ -50,7 +50,7 @@ class SearchField: UIView {
5050
return textField.text
5151
}
5252

53-
let ring = OTPProgressRing(
53+
let ring = ProgressRingView(
5454
frame: CGRect(origin: .zero, size: CGSize(width: 22, height: 22))
5555
)
5656

0 commit comments

Comments
 (0)