Latest 0.0.2
Homepage https://github.com/davidlawson/Informative
License MIT
Platforms ios 6.0, requires ARC
Dependencies Masonry, JRSwizzle
Authors

iOS library for creating an information view positioned below the status bar, similar to the inbuilt iOS in-call status bar.

Compatible with iOS 6/7, iPhone & iPad.

  • Appears on all UINavigationControllers automatically
  • Supports tap handler
  • Supports use of any UIView, InformationView provided (can be subclassed)
  • No use of private APIs

Informative Demo

Installation

Add pod 'Informative' to your Podfile.

Example Code

Informative *informative = [Informative singleton];

informative.tapInformationView = ^{
  [[[UIAlertView alloc] initWithTitle:@"Tapped Information View" message:@"Awesome!" delegate:nil cancelButtonTitle:@"Close" otherButtonTitles:nil] show];
};

informative.createInformationView = ^UIView*
{
  InformationView *notReachableView = [[InformationView alloc] init];
  notReachableView.text = @"No Internet Connection";
  return notReachableView;
};

// Inside reachability handler
[Informative singleton].showInformation = !reachable;

License

This library is available under the MIT license.

Latest podspec

{
    "name": "Informative",
    "version": "0.0.2",
    "summary": "iOS library for creating an information view positioned below the status bar",
    "description": "                   iOS library for creating an information view positioned below the status bar, similar to the inbuilt iOS in-call status bar.nn                   Compatible with iOS 6/7.n",
    "homepage": "https://github.com/davidlawson/Informative",
    "screenshots": "https://github.com/davidlawson/Informative/raw/master/informative.gif",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "David Lawson": "[email protected]"
    },
    "platforms": {
        "ios": "6.0"
    },
    "source": {
        "git": "https://github.com/davidlawson/Informative.git",
        "tag": "0.0.2"
    },
    "source_files": [
        "Classes",
        "Classes/**/*.{h,m}"
    ],
    "exclude_files": "Classes/Exclude",
    "requires_arc": true,
    "dependencies": {
        "Masonry": [],
        "JRSwizzle": []
    }
}

Pin It on Pinterest

Share This