Rewrite SBMovieViewController to Swift.

This commit is contained in:
Damiano Galassi committed 2019-03-11 16:11:38 +01:00
1 parent 48e7a2fe12
commit 8075d9ea60
18 files changed
+1040 -1192

No files matched your search

+2 -2
View File
@@ -30,7 +30,7 @@ extension PresetManager.Error: LocalizedError {
final class PresetManager {
static let shared = PresetManager()
let updateNotification = Notification.Name(rawValue: "SBPresetManagerUpdatedNotification")
static let updateNotification = Notification.Name(rawValue: "SBPresetManagerUpdatedNotification")
private var presets: [Preset]
@@ -89,7 +89,7 @@ final class PresetManager {
}
private func postNotification() {
NotificationCenter.default.post(name: updateNotification, object: self)
NotificationCenter.default.post(name: PresetManager.updateNotification, object: self)
}
// MARK: read/write