David Hoerl

5pods

ATMHud

ATMHud offers a versatile and full featured HUD for yuour iOS projects. You can use either a traditional protocol based delegate or a block based one. A Demo app shows how to use most of the feature set and both delegates. You can set any of a caption, two types of progress indicators, and an image to the HUD, which resizes as needed. You can control where the progress indicator goes (top/bot/left/right), the view grayness and cover view's grayness/opacity. If you're showing the HUD with the keyboard up (for example), you can move the HUD's center.

Usage: // Keep a strong ivar reference to it (ie, "ATMHud *hud") hud = [ATMHud new]; // using the block delegate [hud setCaption:@"Caption and an activity indicator."]; [hud setActivity:YES]; hud.blockDelegate = ....; // see demo project [hud showInView:self.view]; ... [hud hide]; //the block delegate can release the hud and nil the ivar (see Demo app)

License: BSD

  • Objective C

ATMHud@dhoerl

ATMHud offers a versatile and full featured HUD for yuour iOS projects. You can use either a traditional protocol based delegate or a block based one. A Demo app shows how to use most of the feature set and both delegates. You can set any of a caption, two types of progress indicators, and an image to the HUD, which resizes as needed. You can control where the progress indicator goes (top/bot/left/right), the view grayness and cover view's grayness/opacity. If you're showing the HUD with the keyboard up (for example), you can move the HUD's center.

Usage: // Keep a strong ivar reference to it (ie, "ATMHud *hud") hud = [ATMHud new]; // using the block delegate [hud setCaption:@"Caption and an activity indicator."]; [hud setActivity:YES]; hud.blockDelegate = ....; // see demo project [hud showInView:self.view]; ... [hud hide]; //the block delegate can release the hud and nil the ivar (see Demo app)

License: BSD

  • Objective C

OperationsRunner

OperationsRunner makes adding network fetchers to a controlling class simple and painless.

OperationsRunner.h enumerates the handful of steps required. Once added, you instantiate subclasses of the WebFetcher class, configure them, then schedule then to run. Fetchers message one sific method in your control class, returning either the requested data (or response for a POST), or a failure indication.

Reasons to use this project: - Empower any class you want to perform asynchronous HTTP activity easily and quickly. - Lightweight - only a few hundred lines of code. Enable the log messages to see EXACTLY what is happening. - With one message, you can essentially tear down all current sessions and activity (e.g., user hit the Back button). - Use a hierarchy of WebFetcher subclasses to add increasing complexity. The fetchers can perform processing functions, e.g. resize images, in the same background queue used by the fetcher. - Do you really want to use some huge bloated framework, where you have no control or even understanding. - Look at URfetcher7 and URSessionDelegate for an example of how to specialize (subclass) WebFetcher and ORSessionDelegate restively.

License: BSD

  • Objective C

Sailthru_SDK_iOS

The SailthruSDK is provided to current Sailthru, Inc clients who have an iOS App. Clients can use the SDK to register a user with Sailthru, and thus create the linkage necessary to support push notifications. The client app may optionally send tracking information, by sending in tags and URLs, and obtain recommendations (URLs) to show the user as desired.

License: Apache 2

  • Objective C

SAX-JSON-Parser

The JSONObjectExtractor utility class can provide a SAX style parser for the special case of JSON arrays containing dictionaries. Itaccepts a stream of NSData objects from a NSURLConnection or NSURLSession, which comprise a JSON array. Then, it passes NSJSONSerialization decoded objects back to the delegate as they are detected. In addition, if the JSON stream is from a MongoDB service, it intercepts and rewrites 'ObjectID(...)' and 'new Date(...)' fields, so the JSON can be parsed by NSJSONSerialization. The overhead cost for this rewriting is trivial, and several orders of magnitude faster than using regular expressions on the raw text to do it. For proper usage, see the demo project on github.

License: Apache 2

  • Objective C