Skip to content
This repository has been archived by the owner on Nov 26, 2020. It is now read-only.

Updated protocols #68

Merged
merged 1 commit into from
May 5, 2016
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
2 changes: 1 addition & 1 deletion Source/FolioReaderContainer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ protocol FolioReaderContainerDelegate: class {
}

class FolioReaderContainer: UIViewController, FolioReaderSidePanelDelegate {
var delegate: FolioReaderContainerDelegate!
weak var delegate: FolioReaderContainerDelegate!
var centerNavigationController: UINavigationController!
var centerViewController: FolioReaderCenter!
var leftViewController: FolioReaderSidePanel!
Expand Down
2 changes: 1 addition & 1 deletion Source/FolioReaderPage.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import SafariServices
import UIMenuItem_CXAImageSupport
import JSQWebViewController

@objc protocol FolioPageDelegate {
@objc protocol FolioPageDelegate: class {
optional func pageDidLoad(page: FolioReaderPage)
}

Expand Down
2 changes: 1 addition & 1 deletion Source/FolioReaderSidePanel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import UIKit

@objc
protocol FolioReaderSidePanelDelegate {
protocol FolioReaderSidePanelDelegate: class {
/**
Notifies when the user selected some item on menu.
*/
Expand Down