Latest 0.2.5
Homepage https://github.com/jfosterdavis/ZMAppFoundation
License Apache-2.0
Platforms ios 10.0
Dependencies GaugeKit, SideMenu
Authors

CI Status
Version
License
Platform

Features

Easily add core functions to Zero Mu apps

  • sliding menu
  • Acknowledgements page

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

ZMAppFoundation is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'ZMAppFoundation'

Extend AppDelegate

ZMAppFoundation defines the AppDelegate so you must extend it if you want to add or override functionality

import UIKit
import ZMAppFoundation

extension AppDelegate {
//put in anything that extends the ZMAppDelegate
}

Connect Core Data

  • App Delegate

Usage

Adding custom menu items

  • append any number of ZMMenuItem to the ZMMenuItems.CustomItems in the initial view controller of the app.
    example:

    
    override func viewDidLoad() {
    super.viewDidLoad()
    // Do any additional setup after loading the view, typically from a nib.

//add custom menu items to the ZMMenu
ZMMenuItems.CustomItems.append(contentsOf: CustomMenuItems.Items)
}

### Adding custom Acknowledgement Page items
- append  `String` objects to the `ZMAcknowlegementContent.CustomItems` in the initial view controller of the app.
example:
```swift
override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading the view, typically from a nib.

//add acknowledgement items to the Ack page
ZMAcknowledgementsContent.CustomContent.append(contentsOf: CustomAcknowledgements.Items)
}

Secrets, private resources

  • the framework assumes that you have file named Secrets.swift, and this file is included in .gitignore. Put any secret resources such as passwords in a file like this.

Author

jfosterdavis, [email protected]

License

ZMAppFoundation is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "ZMAppFoundation",
    "version": "0.2.5",
    "summary": "A foundation for Zero Mu iOS apps.",
    "description": "Includes the fundamental things needed to make simple utility apps within the Zero Mu look and feel.  Includes these common functionalities to be easily implimented in each utility app to maximize code reuse.n- Tabbed navigation with Settings menun- "Whats new" slides that display to user optionally during a minor updaten- Zero Mu Ad implementationn- About section pulled from various libraries, dependenciesn- version #n- Zero Mu Logon- app store rating and promptingn- providing feedback for the app from within the appn- Notifications look and feeln- About sectionn- error notificationsn- common utilitiesn- core data helpers",
    "homepage": "https://github.com/jfosterdavis/ZMAppFoundation",
    "license": {
        "type": "Apache-2.0",
        "file": "LICENSE"
    },
    "authors": {
        "jfosterdavis": "[email protected]"
    },
    "source": {
        "git": "https://github.com/jfosterdavis/ZMAppFoundation.git",
        "tag": "0.2.5"
    },
    "platforms": {
        "ios": "10.0"
    },
    "swift_version": "4.0",
    "source_files": "ZMAppFoundation/Classes/**/*",
    "resources": [
        "ZMAppFoundation/Assets/*.{storyboard,xcassets,xib}"
    ],
    "dependencies": {
        "GaugeKit": [],
        "SideMenu": []
    }
}

Pin It on Pinterest

Share This