-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #644 from StepicOrg/release/1.111
Release 1.111
- Loading branch information
Showing
172 changed files
with
3,619 additions
and
1,219 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 0 additions & 23 deletions
23
Stepic/Analytics/SplitTests/ActiveTests/AboutCourseStringSplitTest.swift
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 37 additions & 0 deletions
37
Stepic/Analytics/SplitTests/ActiveTests/ExploreSearchBarStyleSplitTest.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
import Foundation | ||
|
||
final class ExploreSearchBarStyleSplitTest: SplitTestProtocol { | ||
typealias GroupType = Group | ||
|
||
static let identifier = "explore_search_bar_style" | ||
static let minParticipatingStartVersion = "1.111" | ||
|
||
var currentGroup: Group | ||
var analytics: ABAnalyticsServiceProtocol | ||
|
||
init(currentGroup: Group, analytics: ABAnalyticsServiceProtocol) { | ||
self.currentGroup = currentGroup | ||
self.analytics = analytics | ||
} | ||
|
||
enum Group: String, SplitTestGroupProtocol { | ||
case control = "control" | ||
case test = "test" | ||
|
||
static var groups: [Group] = [.control, .test] | ||
|
||
var searchBarStyle: SearchBarStyle { | ||
switch self { | ||
case .control: | ||
return .legacy | ||
case .test: | ||
return .new | ||
} | ||
} | ||
} | ||
|
||
enum SearchBarStyle { | ||
case new | ||
case legacy | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.