quattro_4 scribble

scribble 落書き (調べた事をただ落書きする)

NSScreencast Episode #123 STHTTPRequest

STHTTPRequest - NSScreencast

STHTTPRequestの実装とそのテスト

  • STHTTPRequest
    • light weight network library
  • itunes.apple.com/search api
  • stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding
  • [STHTTPRequest requestWithURLString
    • uploadProgressBlock
    • completionBlock
    • startAsynchronous
  • test
    • Copy Unit Test Additions
    • #import "STHTTPRequest+UnitTests.h"
    • #import "STHTTPRequestTestResponse.h"
    • #import "STHTTPRequestTestResponseQueue.h"
    • STHTTPRequestTestResponseQueue
    • testStreaming
    • test bundle
  • testing of asynchronous
    • XCTAssertEqual
    • XCTAssertTrue
    • blockCalled = YES;