Skip to content

Commit

Permalink
Change init(withTitles titles: [String]) access level from internal…
Browse files Browse the repository at this point in the history
… to public (#11)`
  • Loading branch information
Sakhabaev Egor authored and maxep committed Apr 8, 2019
1 parent 3f13e9d commit 2cc9b3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MXSegmentedControl/MXSegmentedControl.swift
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ import UIKit
/// Initializes and returns a newly allocated segmented control object with the specified titles.
///
/// - Parameter titles: The segments titles.
convenience init(withTitles titles: [String]) {
public convenience init(withTitles titles: [String]) {
self.init(frame: CGRect.zero)
for title in titles {
append(title: title)
Expand Down

0 comments on commit 2cc9b3d

Please sign in to comment.