nickkjordan / wruw-iphone-app

iPhone app for WRUW 91.1 Cleveland, OH http://www.wruw.org/
1 stars 2 forks source link

Make Social Post with Facebook and Twitter Buttons #16

Closed nickkjordan closed 10 years ago

nickkjordan commented 10 years ago

Using the Social framework, integrate a social post viewcontroller upon pressing either facebook or twitter buttons in a cell. This would link to the SLComposeViewController and compose something along the lines of "Listening to "Track Title" by Artist on WRUW! wruw.org"

nickkjordan commented 10 years ago

Problem with using presentViewController in a cell, obviously not a method of a cell.

nickkjordan commented 10 years ago

How to use quotation marks in a NSString:

http://stackoverflow.com/a/1934904

nickkjordan commented 10 years ago

Having trouble building after using this:

http://stackoverflow.com/questions/14189521/trying-to-create-ibaction-inside-custom-cell-with-buttons-inside

nickkjordan commented 10 years ago

Was not getting a dialog box that linked to Settings if a Social account was not setup. Fix is to just run the code without an if statement:

http://stackoverflow.com/a/18558656