MHAboutView is a generic, reusable 'About view' for iOS apps
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Docs
MHAboutView Demo
MHAboutView.xcodeproj
MHAboutView
Vendor
.gitmodules
Readme.md

Readme.md

About MHAboutView

MHAboutView is a generic, reusable 'About view' for your iOS app.

Features

  • An App Name and Version Info.
  • Email feedback with MFMailComposeViewController
  • Email body includes app and version info aswell
  • Links to the app's review and developer's pages
  • Configurable via Info.plist
  • Easy customization with JMStaticContentTableViewController
  • WebView based Changelog

Screenshots

about view contacts us Changelog

Installation

git clone --recursive https://github.com/gmarik/MHAboutView.git
cd MHAboutView
open MHAboutView.xcodeproj

To see the demo app select and run MHAboutView Demo target.

Dependencies

MHAboutView depends on JMStaticContentTableViewController

##Configuration

Once installed, configuration is pretty straightforward:

  1. add MHAboutView.xcodeproject to your app's project or workspace

  2. add libMHAboutView.a library to Link Binary With Libraries in Build Phases

  3. ensure Other Linker Flags includes -ObjC flag in Build Settings section

  4. MHAboutView expects app's Info.plist to have MHAboutViewInfo entry with dictionary describing contact email, urls and changelog filename, ie:

     <key>MHAboutViewInfo</key>
     <dict>
       <key>ReviewURL</key>
       <string>https://itunes.apple.com/us/app/regularly.me/id615302436</string>
       <key>DeveloperURL</key>
       <string>https://itunes.apple.com/us/artist/maryan-hratson/id615302439</string>
       <key>ContactEmail</key>
       <string>Hi@Appna.me</string>
       <key>ChangelogFileName</key>
       <string>Changelog.html</string>
     </dict>
    

    see MHAboutView Demo target as an example.

  5. Adding MHAboutView to an app:

     #import <MHAboutView/MHAboutView.h>
    
     // ..
    
     MHAboutViewController *about = [[MHAboutViewController alloc] init];
     UINavigationController *nav = [[UINavigationController alloc] initWithRootViewController: about];
     self.window.rootViewController = nav;
    

    Note that it depends on navigation controller to function properly.

    see MHAboutView Demo/MHAppDelegate.m as an example.

TODO:

  • Changelog styled appropriately for OS