diff --git a/Example/SwiftWebVCExample.xcodeproj/project.xcworkspace/xcuserdata/myles.xcuserdatad/UserInterfaceState.xcuserstate b/Example/SwiftWebVCExample.xcodeproj/project.xcworkspace/xcuserdata/myles.xcuserdatad/UserInterfaceState.xcuserstate index c34d7db..a47a194 100644 Binary files a/Example/SwiftWebVCExample.xcodeproj/project.xcworkspace/xcuserdata/myles.xcuserdatad/UserInterfaceState.xcuserstate and b/Example/SwiftWebVCExample.xcodeproj/project.xcworkspace/xcuserdata/myles.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/Example/SwiftWebVCExample/Info.plist b/Example/SwiftWebVCExample/Info.plist index a3ec813..65e2f92 100644 --- a/Example/SwiftWebVCExample/Info.plist +++ b/Example/SwiftWebVCExample/Info.plist @@ -15,9 +15,9 @@ CFBundlePackageType APPL CFBundleShortVersionString - 0.3.0 + 0.3.4 CFBundleVersion - 0.3.0.0 + 0.3.4.0 LSRequiresIPhoneOS UILaunchStoryboardName diff --git a/SwiftWebVC.podspec b/SwiftWebVC.podspec index 1d74977..afa680c 100755 --- a/SwiftWebVC.podspec +++ b/SwiftWebVC.podspec @@ -8,7 +8,7 @@ Pod::Spec.new do |s| s.name = 'SwiftWebVC' - s.version = '0.3.3' + s.version = '0.3.4' s.summary = 'SwiftWebVC is a simple inline browser for your Swift iOS app.' # This description is used to generate tags and improve search results. diff --git a/SwiftWebVC/SwiftWebVC.swift b/SwiftWebVC/SwiftWebVC.swift index e98a738..502ea3b 100755 --- a/SwiftWebVC/SwiftWebVC.swift +++ b/SwiftWebVC/SwiftWebVC.swift @@ -8,14 +8,14 @@ import WebKit -public protocol SwiftWebVCDelegate { +public protocol SwiftWebVCDelegate: class { func didStartLoading() func didFinishLoading(success: Bool) } public class SwiftWebVC: UIViewController { - public var delegate: SwiftWebVCDelegate? + public weak var delegate: SwiftWebVCDelegate? var storedStatusColor: UIBarStyle? var buttonColor: UIColor? = nil var titleColor: UIColor? = nil