Latest 1.0.6
Homepage https://github.com/IvanVorobei/SPFakeBar
License MIT
Platforms ios 10.0
Authors

It pod allow simple added navigation bar and full customize it – height or added custom views.

Preview GIF is loading 3mb. Please, wait.

SPFakeBar

You can download example from AppStore or see video preview. If you want to buy source code of the full app, please go to xcode-shop.com. Price: $200.

SPFakeBar

I have a store where I sell applications and modules for Xcode projects. You can find source codes of applications or custom animations / UI. I regularly update the code. Visit my website to see all items for sale: xcode-shop.com. On the website you can find previews and for some items links to AppStore.

SPFakeBar

Requirements

Swift 4.2. Ready for use on iOS 10+

Integration

Put Source/SPFakeBar folder in your Xcode project. Make sure to enable Copy items if needed and Create groups.

Or via CocoaPods:

pod 'SPFakeBar'

How to use

You may want to add a navigation bar to your modal controller. Since it became impossible to change or customize the native controller in swift 4 (I couldn’t even find a way to change the height of the bar), I had to recreate navigation bar from the ground up. Visually it looks real, but it doesn’t execute the necessary functions:

import UIKit

class ModalController: UIViewController {

    let navBar = SPFakeBarView(style: .stork)

    override func viewDidLoad() {
        super.viewDidLoad()

        self.view.backgroundColor = UIColor.white

        self.navBar.titleLabel.text = "Title"
        self.navBar.leftButton.setTitle("Cancel", for: .normal)
        self.navBar.leftButton.addTarget(self, action: #selector(self.dismissAction), for: .touchUpInside)

        self.view.addSubview(self.navBar)
    }
}

You only need to add a navigation bar to the main view, it will automatically layout. Use style .stork in init of SPFakeBarView. Here is visual preview with Navigation Bar and without it:

SPFakeBar

My projects

Here I would like to offer you my other projects.

SPLarkController

Project SPLarkController will help you realize the management of your application settings. You can add both buttons and switches. The amount cells is not limited. You can start using project with just two lines of code and easy customization!

SPFakeBar

You can buy source code of this app on xcode-shop.com. Price for GitHub users – $300. With copyright - 4.900$. Please, see detailed preview with all the features and screens of the application.

SPStorkController

I created SPStorkController. It is a modal controller like in Mail or Apple Music application. Similar animation and transition. You can see an example of using controller in app in AppStore.

SPFakeBar

You can buy source code of this app on xcode-shop.com. Price – $200. Please, see detailed preview or download app from AppStore.

SPPermission

Project SPPermission for managing permissions with customizable visual effects. Beautiful dialog increases the chance of approval (which is important when we request notification). Simple control of this module saves you hours of development. You can start using project with just two lines of code and easy customization!

SPFakeBar

License

SPStorkController is released under the MIT license. Check LICENSE.md for details.

Contact

If you need any application or UI to be developed, message me at [email protected] I develop iOS apps and create designs, too. I use swift for development. To request more functionality, you should create a new issue.
Here are my apps in AppStore: first account & second account.

Latest podspec

{
    "name": "SPFakeBar",
    "version": "1.0.6",
    "summary": "Fake navigation bar with full customize",
    "homepage": "https://github.com/IvanVorobei/SPFakeBar",
    "source": {
        "git": "https://github.com/IvanVorobei/SPFakeBar.git",
        "tag": "1.0.6"
    },
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Ivan Vorobei": "[email protected]"
    },
    "platforms": {
        "ios": "10.0"
    },
    "ios": {
        "frameworks": "UIKit"
    },
    "swift_versions": [
        "4.2",
        "5.0"
    ],
    "source_files": "Source/SPFakeBar/**/*.swift"
}

Pin It on Pinterest

Share This