Skip to content

Deleted .DS_Store files, added to .gitignore & resolved failing tests #73

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 28, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file removed .DS_Store
Binary file not shown.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,6 @@ Carthage/Build

fastlane/report.xml
fastlane/screenshots

# Ignore MacOS DS_Store files
*.DS_Store
Binary file removed FOSSAsia/.DS_Store
Binary file not shown.
Binary file removed FOSSAsia/Assets.xcassets/.DS_Store
Binary file not shown.
Binary file not shown.
8 changes: 5 additions & 3 deletions FOSSAsia/ScheduleViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,11 @@ class ScheduleViewController: EventsBaseViewController, SwipeToFavoriteCellPrese
super.viewDidLoad()

viewModel?.delegate = self
refreshControl.attributedTitle = NSAttributedString(string: "Pull to refresh")
refreshControl.addTarget(self, action: #selector(ScheduleViewController.refreshData(_:)), for: .valueChanged)
tableView.addSubview(refreshControl)
DispatchQueue.main.async {
self.refreshControl.attributedTitle = NSAttributedString(string: "Pull to refresh")
self.refreshControl.addTarget(self, action: #selector(ScheduleViewController.refreshData(_:)), for: .valueChanged)
self.tableView.addSubview(self.refreshControl)
}
}

class func scheduleViewControllerFor(_ schedule: ScheduleViewModel) -> ScheduleViewController {
Expand Down