-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent memory leaks on
ReaderStreamViewController
dismiss (#21015)
- Loading branch information
Showing
6 changed files
with
10 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
WordPress/Classes/ViewRelated/Reader/ReaderStreamHeader.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
import Foundation | ||
|
||
public protocol ReaderStreamHeaderDelegate: NSObjectProtocol { | ||
@objc public protocol ReaderStreamHeaderDelegate { | ||
func handleFollowActionForHeader(_ header: ReaderStreamHeader, completion: @escaping () -> Void) | ||
} | ||
|
||
public protocol ReaderStreamHeader: NSObjectProtocol { | ||
var delegate: ReaderStreamHeaderDelegate? {get set} | ||
@objc public protocol ReaderStreamHeader { | ||
weak var delegate: ReaderStreamHeaderDelegate? {get set} | ||
func enableLoggedInFeatures(_ enable: Bool) | ||
func configureHeader(_ topic: ReaderAbstractTopic) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters