Stig Brautaset

3pods

SBJson

Using this library you can reduce the apparent latency for each download/parse cycle of documents over a slow connection. You can start parsing and feed chunks of the parsed document to your app before the entire document is downloaded.

Feed the parser one or more chunks of UTF8-encoded data and it will call a block you provide with each root-level document or array. Or, optionally, for each top-level entry in each root-level array.

This pod is identical to SBJson5, except that can be installed alongside SBJson v3.x. or SBJson4. This is handy if you want to use version 5 but rely on a library that depends on a previous version.

License: BSD-3-Clause

  • Objective C

SBJson4

Using this library you can reduce the apparent latency for each download/parse cycle of documents over a slow connection. You can start parsing and feed chunks of the parsed document to your app before the entire document is downloaded.

Feed the parser one or more chunks of UTF8-encoded data and it will call a block you provide with each root-level document or array. Or, optionally, for each top-level entry in each root-level array.

This is identical to SBJson v4 except it can be installed alongside SBJson v3.x. This is handy if you want to use version 4 but rely on a library that depends on a previous version.

License: BSD

  • Objective C

Statistics

Statistics is a Foundation framework for calculating—no points for guessing it—statistics. It is inspired by Perl's Statistics::Descriptive and like it consists of two main classes.

SBStatistics calculates a range of statistical measurements on the fly as each data point is added. The data is then immediately discarded, giving it a very low memory footprint.

SBFullStatistics in turn subclasses SBStatistics and records each data point. It is therefore able to provide more advanced statistical functions. The trade-off is that it can consume a lot of memory if you are collecting a lot of data.

License: BSD

  • Objective C