Skip to content

Commit

Permalink
update again
Browse files Browse the repository at this point in the history
  • Loading branch information
younatics committed Feb 17, 2019
1 parent 6d3a62d commit 341f97c
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .swift-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4
4.2
2 changes: 1 addition & 1 deletion YNExpandableCell.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Pod::Spec.new do |s|
s.name = 'YNExpandableCell'
s.version = '1.2.0'
s.version = '1.2.1'
s.summary = 'Easiest way to expand and collapse cell for iOS with Swift 4.2'

s.description = <<-DESC
Expand Down
2 changes: 1 addition & 1 deletion YNExpandableCellDemo/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {

var window: UIWindow?

func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
// Override point for customization after application launch.
return true
}
Expand Down
4 changes: 2 additions & 2 deletions YNExpandableCellDemo/ViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ class ViewController: UIViewController, YNTableViewDelegate {
// Dispose of any resources that can be recreated.
}

func expandAllButtonClicked() {
@objc func expandAllButtonClicked() {
self.ynTableView.expandAll()
}

func collapseAllButtonClicked() {
@objc func collapseAllButtonClicked() {
self.ynTableView.collapseAll()
}

Expand Down
6 changes: 3 additions & 3 deletions YNExpandableCellDemo/YNExpandableCells.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class YNExpandableCellEx: YNExpandableCell {

@IBOutlet var titleLabel: UILabel!

public override init(style: UITableViewCellStyle, reuseIdentifier: String?) {
public override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) {
super.init(style: style, reuseIdentifier: reuseIdentifier)
}

Expand All @@ -30,7 +30,7 @@ class YNExpandableCellEx: YNExpandableCell {
class YNSliderCell: UITableViewCell {
static let ID = "YNSliderCell"

public override init(style: UITableViewCellStyle, reuseIdentifier: String?) {
public override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) {
super.init(style: style, reuseIdentifier: reuseIdentifier)

}
Expand All @@ -49,7 +49,7 @@ class YNSliderCell: UITableViewCell {
class YNSegmentCell: UITableViewCell {
static let ID = "YNSegmentCell"

public override init(style: UITableViewCellStyle, reuseIdentifier: String?) {
public override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) {
super.init(style: style, reuseIdentifier: reuseIdentifier)

}
Expand Down

0 comments on commit 341f97c

Please sign in to comment.