Skip to content

Commit

Permalink
Improving persist viewcontroller instance with weak attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
luannguyenkhoa-agilityio committed Jan 2, 2019
1 parent f4d5056 commit e672ce8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion LNSideMenu.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Pod::Spec.new do |s|
s.name = 'LNSideMenu'
s.version = '3.4.3'
s.version = '3.4.4'
s.summary = 'A side menu control for iOS in Swift with custom layer and scrolling effect. Right and Left sides. iOS 8+.'

# This description is used to generate tags and improve search results.
Expand Down
2 changes: 1 addition & 1 deletion LNSideMenu/Classes/LNSideMenuMangement.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import UIKit

public struct LNSideMenuManagement: LNSideMenuManager {

var viewController: UIViewController?
weak var viewController: UIViewController?
public init() {}
public init(viewController: UIViewController) {
self.viewController = viewController
Expand Down

0 comments on commit e672ce8

Please sign in to comment.