The page I am working on has a javascript function executed to print parts of the page. For some reason, printing in Safari, causes the window to somehow update. I say somehow, because it does not really refresh as in reload the page, but rather it starts the "rendering" of the page from start, i.e. scroll to top, flash animations start from 0, and so forth. The effect is reproduced by this fiddle: http://jsfiddle.net/fYmnB/ Clicking the print button and finishing or cancelling a print in Safari causes the screen to "go white" for a sec, which in my real website manifests itself as something "like" a reload. While running print button with, let's say, Firefox, just opens and closes the print dialogue without affecting the fiddle page in any way. Is there something with my way of calling the browsers print method that causes this, or how can it be explained - and preferably, avoided? P.S.: On my real site the same occurs with Chrome. In the ex
Try MGTwitterEngine
ReplyDeleteTwitter's API gives you the option to have the feeds in XML or JSON format. Check their documentation . I don't know much about the iPhone SDK, but it surely has XML parsing.
ReplyDeleteI can't see Apple including a inbuilt API to the SDK for two reasons:
If they start at Twitter, they'll have to do myspace, facebook, friendfeed etc.
There are many Twitter apps on the app store atm. If apple released a twitter API, they'd have much more competition and wouldn't be happy with Apple.
Link provided by NNN above to sharekit wasn't correct - try this one instead :
ReplyDeletehttp://www.getsharekit.com/
Looks really promising and integrates with much more than Twitter!
There is now a built-in Twitter API on iOS
ReplyDeleteMatt Gemmell and Craig Hockenberry, developer of Twitterific created MGTwitterEngine, an easy-to-use library of classes providing methods that make it extremely easy for the developer to access the Twitter API. see
ReplyDeleteI believe there are a few other libs out there, but it's just as easy to roll your own because like Macha says above Twitter's API gives you the option to have the feeds in XML or JSON format.
Try using ShareKit.
ReplyDeleteIt supports other services like Facebook, Delicious, Tumblr and more too.
DETweetComposeViewController
ReplyDeleteWorks with iOS 4 or later.
There is no API for Twitter built into the 2.2.1 SDK. I can not comment about the 3.0 beta per NDA restrictions, but you should not expect Apple to include a service-specific API in the SDK.
ReplyDeleteAny Twitter or web service consuming feature has to be coded using the existing API calls and it is your choice to use Interface Builder to emulate the native iPhone look as close as possible.