0

DMWebBrowserViewController for iOS

-

A simple web browser view controller instantiated view blocks. Uses a UINavigationBar for dismiss and refresh actions.

GitHub

Simple Usage:
copy the DMWebBrowserViewController.h and .m files to your project
import DMWebBrowserViewController.h into your class
create a DMWebBrowserViewController object using the initializer initWithURL:startLoadingWithBlock:andEndLoadingWithBlock:
add your actions to block areas

  1. DMWebBrowserViewController *webBrowser = [[DMWebBrowserViewController alloc]
  2. initWithURL:[NSURL URLWithString:@"http://github.com/dimoreira"]
  3.     startLoadingWithBlock:^{
  4.         NSLog(@"start loading web browser page");
  5.     } andEndLoadingWithBlock:^{
  6.         NSLog(@"end loading web browser page");
  7.     }];
DMWebBrowserViewController *webBrowser = [[DMWebBrowserViewController alloc]
initWithURL:[NSURL URLWithString:@"http://github.com/dimoreira"]
    startLoadingWithBlock:^{
        NSLog(@"start loading web browser page");
    } andEndLoadingWithBlock:^{
        NSLog(@"end loading web browser page");
    }];

you can use a optional method for set the color of the UINavigationBar

  1. [webBrowser setNavBarColor:[UIColor orangeColor]];
[webBrowser setNavBarColor:[UIColor orangeColor]];
0

action-sheet-blocks for iOS

-
Full

Category of UIActionSheet that offers a completion handler to listen to interaction. This avoids the need of the implementation of the delegate pattern.

GitHub

(more...)

0

AKSegmentedControl for iOS

-
Full

Fully customizable Segmented Control for iOS. Uses images for normal/selected states.

GitHub

0

alert-blocks for iOS

-
Full

Category of UIAlertView that offers a completion handler to listen to interaction. This avoids the need of the implementation of the delegate pattern.

0

Some chart libraries for iOS

-

iOSPlot

Draw pie charts and line charts in iOS apps

Todo for line chat

Use gesture/tap to show the value label (or mild statistics) for a data point. Further break out colors for customization of background, x/y labels, and shadows. Allow legend labels to appear on either the right or left side of the chart (or not at all). Use the rendered string width of the legend labels to determine right/left side margin. If a legend string is significantly long (200% percentage of default margin width?), truncate or abbreviate it to X characters.

Todo for pie chat

Use gesture/tap to show the value label Display legend

Minimum Requirements

  • ARC - this project uses ARC. If you are not using ARC in your project, add '-fobjc-arc' as a compiler flag for StyledPageControl.h and StyledPageControl.m
  • XCode 4.4 and newer (auto-synthesis required)

XYPieChart

XYPieChart is an simple and easy-to-use pie chart for iOS app. It started from a Potion Project which needs an animated pie graph without interaction. All animation was implemented in the drawRect: method. After played with BTSPieChart, really like its code structure, it’s clean, has well named functions, structure like a UITableView. XYPieChart rewrote the code, based on CALayers for the animation. Compared to BTSPieChart, XYPieChart is a prettier version, it has a simpler insert/delete slices algorithm, different design of slice selection, more flexible to customize. Video Demo SaveFrom.net

Features

  • Customized color for slices (default color supported)
  • animated insert/delete slice(s)
  • slice selection animation
  • text label option of showing percentage or actual value
  • text label auto-hide when slice is too small
  • customizable text label font and relative postion
  • pie opening/closing animation
  • pie starting angle support
  • ARC support
  • interface builder support

GitHub

« 1 2 3 4 5 6 7 8 9 10 11 12 ... 44 »