Combine Facebook, Twitter, Email and SMS to one class

Discussion in 'iOS Programming' started by mikezang, Apr 28, 2012.

  1. mikezang macrumors 6502a

    Joined:
    May 22, 2010
    Location:
    Tokyo, Japan
    #1
    I want to use all functions of titles In my all apps, so that I want to make a class to collect them, is it simple to do? does anyone had created it?
    Please give some suggestion.
     
  2. truehybridx macrumors member

    Joined:
    Dec 6, 2010
    #2
    Well once you add the FaceBook library to your project, you could make a helper class that you can call on inside your app so you can keep the code throughout your app to a minimum...

    something like this for usability

    Code:
    NSString *message = @"Something to post."
    
    [myHelperClass postMessageToFacebook:message];
    
    
    ShareKit use to be good but its horribly outdated now -_-
     

Share This Page