Skip to content

gmarik/MHAboutView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

MHAboutView is a generic, reusable 'About view' for iOS apps

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published