Krishna03 / Follow-Me-On-Twitter-iOS-Button

A basic 'Follow Me' Twitter Button for iOS which will use any installed Twitter App to show the user's profile.

Home Page:http://www.chrismaddern.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Follow Me Button for iOS

A UIButton-based class which will open a Twitter profile in the user's Twitter App of choice (iOS5 Twitter functionality favoured).

This can be used in Interface Builder by adding a UIButton and changing it's class to FollowMeButton or in code using the custom initialiser:

[self.view addSubview:[[FollowMeButton alloc] initWithTwitterAccount:@"chrismaddern" atOrigin:CGPointMake(205, 248) isSmallButton:YES]];

Two size modes are available controlled by setting isSmallButton in the initialiser or by later change the isSmall property of the object.

NOTE: This was created for use with ARC. It will leak if used in a non-ARC project.

Pulled together by Chris Maddern
http:www.chrismaddern.com
 
This is basically several others' work pulled together to create a simple-to-include repo.

Hi-Res Follow Me button created by Joseph DiPaolo: 
http:www.illustrated-primer.com/blog/2011/06/19/twitter-follow-buttons/

Non-Twitter App Schemes from the Gist Repo: https:gist.github.com/958738
Created by vhbit
 
Thanks to HandleOpenURL for documenting the Twitter iOS5 Scheme
http:handleopenurl.com/scheme/twitter

About

A basic 'Follow Me' Twitter Button for iOS which will use any installed Twitter App to show the user's profile.

http://www.chrismaddern.com