Coder Social home page Coder Social logo

ios-boilerplate's Introduction

What is IOS Boilerplate

Is a code base for iOS projects. Current version provides

  • BaseViewController with methods for secure handling of async http requests
  • ImageManager: a class for downloading images asynchronously
  • FastCell (inspired on Atebits implementation) is a base class for implementing custom UITableViewCells with fast scrolling.
  • ListViewController: a base class for creating ViewControllers with one UITableView that can be refreshed with a pull-down component.
  • Place: a simple implementation of the MKAnnotation protocol
  • DictionaryHelper: an NSDictionary helper with methods for safe handling of collections
  • StringHelper: an NSString helper with methods for manipulating NSStrings. Including: trim, sha1 and urlEncode method.
  • DataHelper: an NSData helper with one method: hexString. It is used inside StringHelper to calculate the sha1 hash hexstring representation of a given string

The project contains some examples with the use of those utility classes:

  • Example that fetches a JSON object through an async HTTP request, and shows a progress HUD.
  • Example that fetches a single image with ImageManager
  • Example that combines FastCells with async image loading using ImageManager.
  • Example of variable height table cells using FastCell.
  • Example that shows how to extend ListViewController to create a tableview with a simple pull-down-to-refresh component.
  • Example that shows how to implement a swipeable cell
  • ViewController that uses MapOverlays and the Google Maps API to show the directions between two points.
  • Search bar that autocompletes locations.

Some screenshots:

Demo menu

Async cell images demo

Directions demo

IOS Boilerplate includes the following third-party software:

ios-boilerplate's People

Contributors

ahmet avatar gimenete avatar mattt avatar nbuggia avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.