Live data from Hacker News

iOS Libraries

appdevmag.com

51–60 of 78 posts

Re: iOS Libraries

#51

The list is quite crappy. E.g. :GData client" doesn't help you unless you really need it. If you search for the little things, like weak-linked yet self deleting delegates, or good image crunching stuff, check out PSFoundation. https://github.com/steipete/PSFoundation And if you wanna have it set up for you, just clone the app template: https://github.com/steipete/PSiOSAppTemplate

That's good stuff, helped me get started a while back :)

Yea, I found a bunch of good projects from your repo a while back. I ended up just using those projects instead though, as having a layer of repository-indirection just didn't sit well with me.

Re: iOS Libraries

#52

i tried MBProgressHUD. it is way too heavy. so i wrote my own, smaller one: http://www.platinumball.net/blog/2010/02/27/uiprogresshud-re...

I'm not sure what you found heavy about it; it's feature-full, yes. (I'm a bit familiar with the code because I used it in a project of my own and have my own fork of it at GitHub.)

Re: iOS Libraries

#53
Funny, I was just wondering this morning if there's code somewhere to do the "pull to refresh" action on tables that everyone seems to be adding recently. Found a good round up here: http://iosdevgoodies.joostschuur.com/pull-and-release-refres.... On further inspection the three20 version uses the EGO version.

Re: iOS Libraries

#54

> Regular Expressions are a really powerful tool, and the absence of support for regular expressions in the iPhone SDK seems to be a glaring omission. NSRegularExpression was added to the iOS SDK in 4.0. Not available if you still aim to be 3.x-compatible (for iPhones and first-gen Touch), but 4.0 has been out for 9 months now, I think it's time to bury this one (note: you could still find NSRegularExpression insuffi…

In fact, I believe this was available in iOS 3.2. But definitely on all devices as of 4.0.

iOS 3.2 is not available for the iPhone and iPod touches, if I'm not mistaken, so you would still only be targeting iPads that have failed to update to 4.2.1 and/or 4.3.

Re: iOS Libraries

#55
People forget that you can just use C for the simple stuff. Many of these Objective-C classes are slow, verbose, buggy, and poorly documented compared to the equivalent open source C libraries. In many cases the C API is just as nice - maybe slightly less fancy, but polished from years of actual use. Why use ASIHTTPRequest or NSHTTPRequest when libcurl is mature and fast and cross-platform? What do you really gain by wrapping Objective-C around your regex or date handling? You'll find out when you start profiling (or porting to any non-Apple system).

The Objective-C language (Smalltalk in C) was a nice idea (in the 80s...) but newcomers to iOS should be aware that the non-UI parts of the Cocoa/UIKit libraries are garbage compared to what C programmers have built over the past thirty years. I've had to replace enough of the ObjC libraries I've used with plain C that I just start with the C code now.

Re: iOS Libraries

#57
post #54

Earlier quoted context omitted.

In fact, I believe this was available in iOS 3.2. But definitely on all devices as of 4.0.

iOS 3.2 is not available for the iPhone and iPod touches, if I'm not mistaken, so you would still only be targeting iPads that have failed to update to 4.2.1 and/or 4.3.

Precisely.

Re: iOS Libraries

#58
post #47
post #34

Any recommendations for libraries related to user account sign-up / authentication? I'm working on building a multi-player game and want to avoid using Facebook (or another 3rd party) for user authentication.

I can't recommend it, because I haven't used it yet, but OpenFeint works on iOS and Android, if that's important to you. http://www.openfeint.com/

I've used OpenFeint. Integration is a breeze, and their staff are really responsive and friendly. Plus you get a the benefit of their Free Game of the Day promotion.

Re: iOS Libraries

#59
post #33

What would really make my iOS life easier is a good RSS client. I'm hoping for something that I can give a URL to and which will give me back an NSArray of dictionaries of entires, or something like that. Too much to ask? Or should I just go the XML parsing route? (which seems like it would be a lot of work and brittle) I've not yet dug into this, but this is the next set of functionality I have to work on.

I made a very simple one, extracted from the Rackspace iPhone app: https://github.com/greenisus/cocoa-rss

It may be rough around the edges though.

Re: iOS Libraries

#60
Is there a good way to authenticate youtube? The GData stuff I've found was janky at best. It worked on a newly created account, but didn't work on my age old pre-acquisition account
Post reply on HN