yannickl / QRCodeReader.swift

Simple QRCode reader in Swift
MIT License
1.33k stars 330 forks source link

Make QRCodeReaderViewController an open class to allow subclassing #187

Open nickbit opened 4 years ago

nickbit commented 4 years ago

For my case I need to hide the navigation bar when QRCodeReaderViewController is pushed in the navigation controller. This cannot be done without overriding the functions viewWillAppear and viewWillDisappear of UIViewController. Other tweaks could be also not be possible without overriding the class.

So a simple change in the source code can solve these problems easily, just make the public class QRCodeReaderViewController open.