Skip to content

Commit df321b1

Browse files
committed
Mark wrapToNavigationController as objc.
1 parent a6af4f4 commit df321b1

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

Sources/SparrowKit/UIKit/Extensions/UIViewControllerExtension.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public extension UIViewController {
3232

3333
- parameter prefersLargeTitles: A Boolean value indicating whether the title should be displayed in a large format..
3434
*/
35-
func wrapToNavigationController(prefersLargeTitles: Bool) -> UINavigationController {
35+
@objc func wrapToNavigationController(prefersLargeTitles: Bool) -> UINavigationController {
3636
let navigationController = UINavigationController(rootViewController: self)
3737
#if os(iOS)
3838
navigationController.navigationBar.prefersLargeTitles = prefersLargeTitles

0 commit comments

Comments
 (0)