View Single Post
Old 04-11-2009, 10:44 AM   #82 (permalink)
hayroob
Administrator
 
hayroob's Avatar
 
Join Date: Mar 2008
Location: Detroitish
Posts: 1,654
Quote:
Originally Posted by LondonAsh View Post
Here's the latest Twitter page:

Attachment 50589

I've put the source here: http://files.me.com/ashleymills/rccyze

To install the JSON parser:

Download JSNO_2.1.1.dmg from Downloads - json-framework - Google Code
Copy the content of the 'SDKs' folder to ~/Library/SDKs. (You may have to create that directory.)
In the target build options, add
Additional SDKs
$HOME/Library/SDKs/JSON/$(PLATFORM_NAME).sdk
Other Linker Flags
-ObjC -ljson
Code Signing Resource Rules Path
$(SDKROOT)/ResourceRules.plist


Still to do:
  • Save the data each time, and reload when the view opens so it doesn't start with a blank screen
  • Replace the main text view with a UIView and draw the text... this will give me more formatting options (for web links, etc)
  • Variable cell height
  • Display tweets as the data comes in
  • Show some kind of activity monitor while loading
  • Get the icons after the tweets are displayed to remove the wait
  • Handle selections (I think this needs a simple built in web browser to view links in tweets - e.g. Keith's dumps)
  • Add some error handling
  • Memory leaks
  • More comments

You'll need to integrate the settings on the main view into the main app prefs, and hook them up in IB

Let me know if you think I've missed anything, or done anything horribly wrong!
I'll scope it this afternoon. I'm almost afraid to look at it because then I'll realize how hack all my code is?
(Offline)   Reply With Quote