• Stars
    star
    102
  • Rank 335,584 (Top 7 %)
  • Language
    Objective-C
  • License
    MIT License
  • Created almost 14 years ago
  • Updated over 10 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A lightweight class for iOS for making asynchronous web requests.

Overview

SMWebRequest is a very handy lightweight HTTP request class for iOS.

It encapsulates a single HTTP request and response, and is designed to be less verbose and simpler to use than NSURLConnection. The server response is buffered completely into memory then passed back to event listeners as NSData. Optionally, you can specify a delegate which can process the NSData in some way on a background thread then return something else.

More info in the blog post: http://nfarina.com/post/3776625971/webrequest

ARC Support

If you are including SMWebRequest in a project that has Automatic Reference Counting (ARC) enabled, you will need to set the -fno-objc-arc compiler flag for our source. To do this in Xcode, go to your active target and select the "Build Phases" tab. In the "Compiler Flags" column, set -fno-objc-arc for SMWebRequest.m.

More Repositories

1

calloutview

A lightweight callout view class for iOS mimicking UICalloutView.
Objective-C
1,197
star
2

feeds

Keep tabs on your favorite website and RSS feeds from your Mac's menubar.
Objective-C
323
star
3

xmldocument

A lightweight XML Document class for iOS.
Objective-C
276
star
4

xmldoc

A lightweight XML Document class for JavaScript.
JavaScript
269
star
5

homebridge-dummy

Dummy switches for Homebridge: https://github.com/nfarina/homebridge
JavaScript
264
star
6

homebridge-tesla

Tesla plugin for homebridge: https://github.com/nfarina/homebridge
TypeScript
155
star
7

homebridge-sonos

Sonos plugin for homebridge: https://github.com/nfarina/homebridge
JavaScript
155
star
8

modelobject

ObjC Model Object class using new language features.
Objective-C
69
star
9

dropdav

WebDAV frontend for Dropbox.
Python
66
star
10

homebridge-legacy-plugins

Legacy plugins for Homebridge: https://github.com/nfarina/homebridge
JavaScript
35
star
11

simpledav

Simple WebDAV Server for Google App Engine
Python
31
star
12

homebridge-liftmaster

LiftMaster support for Homebridge: https://github.com/nfarina/homebridge
JavaScript
23
star
13

homebridge-kevo

Kevo support for Homebridge: https://github.com/nfarina/homebridge
HTML
21
star
14

homebridge-eightsleep

Eight Sleep plugin for homebridge: https://github.com/nfarina/homebridge
TypeScript
11
star
15

homebridge-lockitron

Lockitron support for Homebridge: https://github.com/nfarina/homebridge
JavaScript
8
star
16

homebridge-icontrol

iControl (Xfinity Home) for Homebridge: https://github.com/nfarina/homebridge
JavaScript
7
star
17

homebridge-philipshue

PhilipsHue plugin for homebridge: https://github.com/nfarina/homebridge
JavaScript
3
star
18

pooljs

Manage parallel workers with optional rate limits
TypeScript
1
star
19

run

Executes scripts in your package.json much faster than NPM or Yarn, especially for projects using Yarn Workspaces. And with less typing.
TypeScript
1
star
20

homebridge-stack

Stack Lighting plugin for homebridge: https://github.com/nfarina/homebridge
1
star