Skip to content

Commit

Permalink
public
Browse files Browse the repository at this point in the history
public
  • Loading branch information
Xiaoye220 committed Sep 25, 2017
1 parent 7fb47c7 commit 95df75a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions EmptyDataSet-Swift.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Pod::Spec.new do |s|
#

s.name = "EmptyDataSet-Swift"
s.version = "1.0.0"
s.version = "4.0.0"
s.summary = "DZNEmptyDataSet with Swift."

# This description is used to generate tags and improve search results.
Expand Down Expand Up @@ -91,7 +91,7 @@ Pod::Spec.new do |s|
# Not including the public_header_files will make all headers public.
#

s.source_files = "EmptyDataSet/*"
s.source_files = "EmptyDataSet-Swift/EmptyDataSet/*"

# s.public_header_files = "Classes/**/*.h"

Expand Down
2 changes: 1 addition & 1 deletion EmptyDataSet-Swift/EmptyDataSet/EmptyDataSetDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public protocol EmptyDataSetDelegate: class {

}

extension EmptyDataSetDelegate {
public extension EmptyDataSetDelegate {

func emptyDataSetShouldFadeIn(_ scrollView: UIScrollView) -> Bool {
return true
Expand Down
2 changes: 1 addition & 1 deletion EmptyDataSet-Swift/EmptyDataSet/EmptyDataSetSource.swift
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public protocol EmptyDataSetSource: class {

}

extension EmptyDataSetSource {
public extension EmptyDataSetSource {

func title(forEmptyDataSet scrollView: UIScrollView) -> NSAttributedString? {
return nil
Expand Down
3 changes: 1 addition & 2 deletions EmptyDataSet-Swift/OriginalUsageViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,6 @@ class OriginalUsageViewController: UITableViewController, EmptyDataSetSource, Em
return animation;
}


func buttonTitle(forEmptyDataSet scrollView: UIScrollView, for state: UIControlState) -> NSAttributedString? {
var text: String?
var font: UIFont?
Expand Down Expand Up @@ -391,7 +390,7 @@ class OriginalUsageViewController: UITableViewController, EmptyDataSetSource, Em
}
return NSAttributedString.init(string: text!, attributes: attributes)
}

func buttonBackgroundImage(forEmptyDataSet scrollView: UIScrollView, for state: UIControlState) -> UIImage? {
var imageName = "button_background_\(application["display_name"]!)".lowercased()

Expand Down

0 comments on commit 95df75a

Please sign in to comment.