Latest Episode
 

Go Back   Keith and The Girl Forums Keith and The Girl Forums Talk Shite

Talk Shite General discussion

Reply
 
Thread Tools Display Modes
Old 04-11-2009, 10:49 AM   #81 (permalink)
Senior Member
 
LondonAsh's Avatar
 
Join Date: Aug 2006
Location: London
Posts: 227
Here's the latest Twitter page:

Picture 4.png

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!
__________________
Twitter: http://twitter.com/ashleymills
Website: ashley-mills.com
iPhone Apps: ashley-mills.com/Home/apps.html
(Offline)   Reply With Quote
Old 04-11-2009, 11:44 AM   #82 (permalink)
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
Old 04-11-2009, 01:13 PM   #83 (permalink)
Administrator
 
hayroob's Avatar
 
Join Date: Mar 2008
Location: Detroitish
Posts: 1,654
I need Xcode on my phone so I can keep coding while I waste time at my sisters kid Jesus water dipping.
(Offline)   Reply With Quote
Old 04-11-2009, 02:33 PM   #84 (permalink)
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!
This looks good. I might re-implement it onto a flip card or a segmented control. Or I might add a settings tab and toss in some settings for the other tabs. Just sat down with it but I already like it a lot. Just need to give a thorough read.

Just to do it in a public space (CYA crap): I'm going to integrate this into my software and then release it into GPLv3, you retain copyright but cannot rescind the license once it is given.


EDIT:

P.S. the search for @keithandthegirl thing FUGGIN GENIUS, kicking myself for not thinking of that.
__________________
If you like the KATG app feel free to kick in some bucks (or don't)
KATGIPHONE Donation

Last edited by hayroob; 04-11-2009 at 02:38 PM.
(Offline)   Reply With Quote
Old 04-11-2009, 03:06 PM   #85 (permalink)
Administrator
 
hayroob's Avatar
 
Join Date: Mar 2008
Location: Detroitish
Posts: 1,654
added this to compensate for GMT. You british people and your living at the standard for time sillyness. If I was republican I would accuse you of European socialism timekeeping.

NSString * interval = @"s";
int timeSince = -[createdAt timeIntervalSinceNow];

NSInteger seconds = [[NSTimeZone defaultTimeZone] secondsFromGMT];
timeSince -= seconds;
(Offline)   Reply With Quote
Old 04-11-2009, 03:35 PM   #86 (permalink)
Administrator
 
hayroob's Avatar
 
Join Date: Mar 2008
Location: Detroitish
Posts: 1,654
I haven't entirely tackled your code, but sometimes when I scroll around, some of the entries dissapear.


EDIT/UPDATE:
The dissapearing act doesn't happen on hardware.
Attached Images
File Type: png iPhone Simulator.png (65.2 KB, 63 views)

Last edited by hayroob; 04-11-2009 at 03:51 PM.
(Offline)   Reply With Quote
Old 04-11-2009, 04:41 PM   #87 (permalink)
Administrator
 
hayroob's Avatar
 
Join Date: Mar 2008
Location: Detroitish
Posts: 1,654
OK KATGTwitter is integrated in the main app pretty nicely, I embedded it into a navigation controller so I can start working on making links move into a webview.
(Offline)   Reply With Quote
Old 04-11-2009, 06:29 PM   #88 (permalink)
Senior Member
 
LondonAsh's Avatar
 
Join Date: Aug 2006
Location: London
Posts: 227
Quote:
Originally Posted by hayroob View Post
Just to do it in a public space (CYA crap): I'm going to integrate this into my software and then release it into GPLv3, you retain copyright but cannot rescind the license once it is given.
Yep, all fine with me.
(Offline)   Reply With Quote
Old 04-11-2009, 06:30 PM   #89 (permalink)
Administrator
 
hayroob's Avatar
 
Join Date: Mar 2008
Location: Detroitish
Posts: 1,654
Quote:
Originally Posted by LondonAsh View Post
Yep, all fine with me.
You're a good man charlie brown.

You need to get me your UDID so I can get you a copy of the app.
(Offline)   Reply With Quote
Old 04-11-2009, 06:36 PM   #90 (permalink)
Senior Member
 
LondonAsh's Avatar
 
Join Date: Aug 2006
Location: London
Posts: 227
Quote:
Originally Posted by hayroob View Post
I haven't entirely tackled your code, but sometimes when I scroll around, some of the entries dissapear.
Yeah, I noticed this too. It seems to be a known issue... Apple - Support - Discussions - UITableView subviews in cells ...
(Offline)   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


All times are GMT -5. The time now is 08:39 AM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
Keith and The Girl