Code Monkey home page Code Monkey logo

sspersonviewcontroller's Introduction

SSPersonViewController

Clone of Apple's ABPerson view controller in AddressBookUI.framework to allow for better customization.

Installing

  1. Copy all of the classes and images to your project (except the contents of the Demo folder of course)
  2. Add AddressBook.framework and AddressBookUI.framework to your target

Usage

Simply initialize the view controller with the person and address book.

SSPersonViewController *personViewController = [[SSPersonViewController alloc] initWithPerson:person addressBook:addressBook];
[self.navigationController pushViewController:personViewController animated:YES];
[personViewController release];

See the demo project for further examples.

History

I originally wrote this for a client. They said it would be fine if I open sourced it and put it in SSToolkit. I had it in a topic branch for awhile, but decided to move it to it's own repository instead of adding it to SSToolkit. I figured that most people probably won't use this, but they would have to add AddressBook.framework and AddressBookUI.framework to their project just to use SSToolkit. I also don't plan on working on this any time soon.

I did the same thing for SSMessagesViewController.

Bugs

There is one known bug. The view will not refresh its data when the address book changes. Feel free to fork and improve!

sspersonviewcontroller's People

Contributors

netloner avatar soffes avatar

Stargazers

 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.