[from now] 2012/09/01 20:21:49

diff --git a/skooma.xcodeproj/project.pbxproj b/skooma.xcodeproj/project.pbxproj
index c7e503c..a79f3e5 100644
--- a/skooma.xcodeproj/project.pbxproj
+++ b/skooma.xcodeproj/project.pbxproj
@@ -8,55 +8,20 @@

 /* Begin PBXBuildFile section */
 		4228EB4315E40E6F00816559 /* azuki.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 4228EB4215E40E6F00816559 /* azuki.ttf */; };
-		4228EB6715E5304100816559 /* ASIAuthenticationDialog.m in Sources */ = {isa = PBXBuildFile; fileRef = 4228EB5115E5304100816559 /* ASIAuthenticationDialog.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; };
-		4228EB6815E5304100816559 /* ASIDataCompressor.m in Sources */ = {isa = PBXBuildFile; fileRef = 4228EB5415E5304100816559 /* ASIDataCompressor.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; };
-		4228EB6915E5304100816559 /* ASIDataDecompressor.m in Sources */ = {isa = PBXBuildFile; fileRef = 4228EB5615E5304100816559 /* ASIDataDecompressor.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; };
-		4228EB6A15E5304100816559 /* ASIDownloadCache.m in Sources */ = {isa = PBXBuildFile; fileRef = 4228EB5815E5304100816559 /* ASIDownloadCache.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; };
-		4228EB6B15E5304100816559 /* ASIFormDataRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = 4228EB5A15E5304100816559 /* ASIFormDataRequest.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; };
-		4228EB6C15E5304100816559 /* ASIHTTPRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = 4228EB5C15E5304100816559 /* ASIHTTPRequest.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; };
-		4228EB6D15E5304100816559 /* ASIInputStream.m in Sources */ = {isa = PBXBuildFile; fileRef = 4228EB6015E5304100816559 /* ASIInputStream.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; };
-		4228EB6E15E5304100816559 /* ASINetworkQueue.m in Sources */ = {isa = PBXBuildFile; fileRef = 4228EB6215E5304100816559 /* ASINetworkQueue.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; };
 		4228EB6F15E5304100816559 /* Reachability.m in Sources */ = {isa = PBXBuildFile; fileRef = 4228EB6615E5304100816559 /* Reachability.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; };
-		4228EB7115E5307200816559 /* CFNetwork.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4228EB7015E5307200816559 /* CFNetwork.framework */; };
-		4228EB7315E5308000816559 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4228EB7215E5308000816559 /* SystemConfiguration.framework */; };
-		4228EB7515E5308900816559 /* MobileCoreServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4228EB7415E5308900816559 /* MobileCoreServices.framework */; };
-		4228EB7715E5309F00816559 /* libz.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 4228EB7615E5309F00816559 /* libz.dylib */; };
 		426516EB15E3F71C00B36104 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 426516EA15E3F71C00B36104 /* UIKit.framework */; };
 		426516ED15E3F71C00B36104 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 426516EC15E3F71C00B36104 /* Foundation.framework */; };
 		426516EF15E3F71C00B36104 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 426516EE15E3F71C00B36104 /* CoreGraphics.framework */; };
 		426516F515E3F71C00B36104 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 426516F315E3F71C00B36104 /* InfoPlist.strings */; };
 		426516F715E3F71C00B36104 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 426516F615E3F71C00B36104 /* main.m */; };
 		426516FB15E3F71C00B36104 /* CCAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 426516FA15E3F71C00B36104 /* CCAppDelegate.m */; };
+		42B6C7D915F2248700C80CC4 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 42B6C7D815F2248700C80CC4 /* SystemConfiguration.framework */; };
 /* End PBXBuildFile section */

 /* Begin PBXFileReference section */
 		4228EB4215E40E6F00816559 /* azuki.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; path = azuki.ttf; sourceTree = "<group>"; };
-		4228EB5015E5304100816559 /* ASIAuthenticationDialog.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ASIAuthenticationDialog.h; sourceTree = "<group>"; };
-		4228EB5115E5304100816559 /* ASIAuthenticationDialog.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ASIAuthenticationDialog.m; sourceTree = "<group>"; };
-		4228EB5215E5304100816559 /* ASICacheDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ASICacheDelegate.h; sourceTree = "<group>"; };
-		4228EB5315E5304100816559 /* ASIDataCompressor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ASIDataCompressor.h; sourceTree = "<group>"; };
-		4228EB5415E5304100816559 /* ASIDataCompressor.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ASIDataCompressor.m; sourceTree = "<group>"; };
-		4228EB5515E5304100816559 /* ASIDataDecompressor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ASIDataDecompressor.h; sourceTree = "<group>"; };
-		4228EB5615E5304100816559 /* ASIDataDecompressor.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ASIDataDecompressor.m; sourceTree = "<group>"; };
-		4228EB5715E5304100816559 /* ASIDownloadCache.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ASIDownloadCache.h; sourceTree = "<group>"; };
-		4228EB5815E5304100816559 /* ASIDownloadCache.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ASIDownloadCache.m; sourceTree = "<group>"; };
-		4228EB5915E5304100816559 /* ASIFormDataRequest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ASIFormDataRequest.h; sourceTree = "<group>"; };
-		4228EB5A15E5304100816559 /* ASIFormDataRequest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ASIFormDataRequest.m; sourceTree = "<group>"; };
-		4228EB5B15E5304100816559 /* ASIHTTPRequest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ASIHTTPRequest.h; sourceTree = "<group>"; };
-		4228EB5C15E5304100816559 /* ASIHTTPRequest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ASIHTTPRequest.m; sourceTree = "<group>"; };
-		4228EB5D15E5304100816559 /* ASIHTTPRequestConfig.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ASIHTTPRequestConfig.h; sourceTree = "<group>"; };
-		4228EB5E15E5304100816559 /* ASIHTTPRequestDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ASIHTTPRequestDelegate.h; sourceTree = "<group>"; };
-		4228EB5F15E5304100816559 /* ASIInputStream.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ASIInputStream.h; sourceTree = "<group>"; };
-		4228EB6015E5304100816559 /* ASIInputStream.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ASIInputStream.m; sourceTree = "<group>"; };
-		4228EB6115E5304100816559 /* ASINetworkQueue.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ASINetworkQueue.h; sourceTree = "<group>"; };
-		4228EB6215E5304100816559 /* ASINetworkQueue.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ASINetworkQueue.m; sourceTree = "<group>"; };
-		4228EB6315E5304100816559 /* ASIProgressDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ASIProgressDelegate.h; sourceTree = "<group>"; };
 		4228EB6515E5304100816559 /* Reachability.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Reachability.h; sourceTree = "<group>"; };
 		4228EB6615E5304100816559 /* Reachability.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Reachability.m; sourceTree = "<group>"; };
-		4228EB7015E5307200816559 /* CFNetwork.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CFNetwork.framework; path = System/Library/Frameworks/CFNetwork.framework; sourceTree = SDKROOT; };
-		4228EB7215E5308000816559 /* SystemConfiguration.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SystemConfiguration.framework; path = System/Library/Frameworks/SystemConfiguration.framework; sourceTree = SDKROOT; };
-		4228EB7415E5308900816559 /* MobileCoreServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MobileCoreServices.framework; path = System/Library/Frameworks/MobileCoreServices.framework; sourceTree = SDKROOT; };
-		4228EB7615E5309F00816559 /* libz.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libz.dylib; path = usr/lib/libz.dylib; sourceTree = SDKROOT; };
 		426516E615E3F71C00B36104 /* skooma.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = skooma.app; sourceTree = BUILT_PRODUCTS_DIR; };
 		426516EA15E3F71C00B36104 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
 		426516EC15E3F71C00B36104 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
@@ -67,6 +32,7 @@
 		426516F815E3F71C00B36104 /* skooma-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "skooma-Prefix.pch"; sourceTree = "<group>"; };
 		426516F915E3F71C00B36104 /* CCAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CCAppDelegate.h; sourceTree = "<group>"; };
 		426516FA15E3F71C00B36104 /* CCAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CCAppDelegate.m; sourceTree = "<group>"; };
+		42B6C7D815F2248700C80CC4 /* SystemConfiguration.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SystemConfiguration.framework; path = System/Library/Frameworks/SystemConfiguration.framework; sourceTree = SDKROOT; };
 /* End PBXFileReference section */

 /* Begin PBXFrameworksBuildPhase section */
@@ -74,11 +40,8 @@
 			isa = PBXFrameworksBuildPhase;
 			buildActionMask = 2147483647;
 			files = (
-				4228EB7715E5309F00816559 /* libz.dylib in Frameworks */,
+				42B6C7D915F2248700C80CC4 /* SystemConfiguration.framework in Frameworks */,
 				426516EF15E3F71C00B36104 /* CoreGraphics.framework in Frameworks */,
-				4228EB7515E5308900816559 /* MobileCoreServices.framework in Frameworks */,
-				4228EB7315E5308000816559 /* SystemConfiguration.framework in Frameworks */,
-				4228EB7115E5307200816559 /* CFNetwork.framework in Frameworks */,
 				426516EB15E3F71C00B36104 /* UIKit.framework in Frameworks */,
 				426516ED15E3F71C00B36104 /* Foundation.framework in Frameworks */,
 			);
@@ -87,33 +50,6 @@
 /* End PBXFrameworksBuildPhase section */

 /* Begin PBXGroup section */
-		4228EB4F15E5304100816559 /* ASIHttpRequest */ = {
-			isa = PBXGroup;
-			children = (
-				4228EB5015E5304100816559 /* ASIAuthenticationDialog.h */,
-				4228EB5115E5304100816559 /* ASIAuthenticationDialog.m */,
-				4228EB5215E5304100816559 /* ASICacheDelegate.h */,
-				4228EB5315E5304100816559 /* ASIDataCompressor.h */,
-				4228EB5415E5304100816559 /* ASIDataCompressor.m */,
-				4228EB5515E5304100816559 /* ASIDataDecompressor.h */,
-				4228EB5615E5304100816559 /* ASIDataDecompressor.m */,
-				4228EB5715E5304100816559 /* ASIDownloadCache.h */,
-				4228EB5815E5304100816559 /* ASIDownloadCache.m */,
-				4228EB5915E5304100816559 /* ASIFormDataRequest.h */,
-				4228EB5A15E5304100816559 /* ASIFormDataRequest.m */,
-				4228EB5B15E5304100816559 /* ASIHTTPRequest.h */,
-				4228EB5C15E5304100816559 /* ASIHTTPRequest.m */,
-				4228EB5D15E5304100816559 /* ASIHTTPRequestConfig.h */,
-				4228EB5E15E5304100816559 /* ASIHTTPRequestDelegate.h */,
-				4228EB5F15E5304100816559 /* ASIInputStream.h */,
-				4228EB6015E5304100816559 /* ASIInputStream.m */,
-				4228EB6115E5304100816559 /* ASINetworkQueue.h */,
-				4228EB6215E5304100816559 /* ASINetworkQueue.m */,
-				4228EB6315E5304100816559 /* ASIProgressDelegate.h */,
-			);
-			path = ASIHttpRequest;
-			sourceTree = "<group>";
-		};
 		4228EB6415E5304100816559 /* Reachability */ = {
 			isa = PBXGroup;
 			children = (
@@ -126,10 +62,7 @@
 		426516DB15E3F71C00B36104 = {
 			isa = PBXGroup;
 			children = (
-				4228EB7615E5309F00816559 /* libz.dylib */,
-				4228EB7415E5308900816559 /* MobileCoreServices.framework */,
-				4228EB7215E5308000816559 /* SystemConfiguration.framework */,
-				4228EB7015E5307200816559 /* CFNetwork.framework */,
+				42B6C7D815F2248700C80CC4 /* SystemConfiguration.framework */,
 				426516F015E3F71C00B36104 /* skooma */,
 				426516E915E3F71C00B36104 /* Frameworks */,
 				426516E715E3F71C00B36104 /* Products */,
@@ -157,7 +90,6 @@
 		426516F015E3F71C00B36104 /* skooma */ = {
 			isa = PBXGroup;
 			children = (
-				4228EB4F15E5304100816559 /* ASIHttpRequest */,
 				4228EB6415E5304100816559 /* Reachability */,
 				4265170515E3FC7100B36104 /* Resources */,
 				426516F915E3F71C00B36104 /* CCAppDelegate.h */,
@@ -251,14 +183,6 @@
 			files = (
 				426516F715E3F71C00B36104 /* main.m in Sources */,
 				426516FB15E3F71C00B36104 /* CCAppDelegate.m in Sources */,
-				4228EB6715E5304100816559 /* ASIAuthenticationDialog.m in Sources */,
-				4228EB6815E5304100816559 /* ASIDataCompressor.m in Sources */,
-				4228EB6915E5304100816559 /* ASIDataDecompressor.m in Sources */,
-				4228EB6A15E5304100816559 /* ASIDownloadCache.m in Sources */,
-				4228EB6B15E5304100816559 /* ASIFormDataRequest.m in Sources */,
-				4228EB6C15E5304100816559 /* ASIHTTPRequest.m in Sources */,
-				4228EB6D15E5304100816559 /* ASIInputStream.m in Sources */,
-				4228EB6E15E5304100816559 /* ASINetworkQueue.m in Sources */,
 				4228EB6F15E5304100816559 /* Reachability.m in Sources */,
 			);
 			runOnlyForDeploymentPostprocessing = 0;
diff --git a/skooma/CCAppDelegate.h b/skooma/CCAppDelegate.h
index 8511f52..55d9420 100644
--- a/skooma/CCAppDelegate.h
+++ b/skooma/CCAppDelegate.h
@@ -16,6 +16,8 @@

 @property (nonatomic) UIWindow *window;

+@property (nonatomic) CGRect rect;
+
 @end

@@ -67,6 +69,7 @@ extern COIcon  *icon;

+
 #pragma mark - macro

 #ifdef DEBUG
diff --git a/skooma/CCAppDelegate.m b/skooma/CCAppDelegate.m
index cdc43b5..fd22050 100644
--- a/skooma/CCAppDelegate.m
+++ b/skooma/CCAppDelegate.m
@@ -10,6 +10,17 @@

 @implementation CCAppDelegate

+
+- (id)init
+{
+    self = [super init];
+    if (self) {
+        _rect = [[UIScreen mainScreen] bounds];
+    }
+    return self;
+}
+
+
 - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
 {
     self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
@@ -149,3 +160,8 @@
 }

 @end
+
+
+
+
+
[from now] 2012/09/02 01:46:00

diff --git a/skooma.xcodeproj/project.pbxproj b/skooma.xcodeproj/project.pbxproj
index a79f3e5..f0d39eb 100644
--- a/skooma.xcodeproj/project.pbxproj
+++ b/skooma.xcodeproj/project.pbxproj
@@ -7,6 +7,8 @@
 	objects = {

 /* Begin PBXBuildFile section */
+		4221382715F24D990088B119 /* CCThreadCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 4221382615F24D990088B119 /* CCThreadCell.m */; };
+		4221382F15F24FF00088B119 /* CCURLRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = 4221382E15F24FF00088B119 /* CCURLRequest.m */; };
 		4228EB4315E40E6F00816559 /* azuki.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 4228EB4215E40E6F00816559 /* azuki.ttf */; };
 		4228EB6F15E5304100816559 /* Reachability.m in Sources */ = {isa = PBXBuildFile; fileRef = 4228EB6615E5304100816559 /* Reachability.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; };
 		426516EB15E3F71C00B36104 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 426516EA15E3F71C00B36104 /* UIKit.framework */; };
@@ -16,9 +18,15 @@
 		426516F715E3F71C00B36104 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 426516F615E3F71C00B36104 /* main.m */; };
 		426516FB15E3F71C00B36104 /* CCAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 426516FA15E3F71C00B36104 /* CCAppDelegate.m */; };
 		42B6C7D915F2248700C80CC4 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 42B6C7D815F2248700C80CC4 /* SystemConfiguration.framework */; };
+		42B6C7E215F2297100C80CC4 /* CCThreadViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 42B6C7E115F2297100C80CC4 /* CCThreadViewController.m */; };
+		42B6C7E515F22A3400C80CC4 /* CCThread.m in Sources */ = {isa = PBXBuildFile; fileRef = 42B6C7E415F22A3400C80CC4 /* CCThread.m */; };
 /* End PBXBuildFile section */

 /* Begin PBXFileReference section */
+		4221382515F24D990088B119 /* CCThreadCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCThreadCell.h; sourceTree = "<group>"; };
+		4221382615F24D990088B119 /* CCThreadCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCThreadCell.m; sourceTree = "<group>"; };
+		4221382D15F24FF00088B119 /* CCURLRequest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCURLRequest.h; sourceTree = "<group>"; };
+		4221382E15F24FF00088B119 /* CCURLRequest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCURLRequest.m; sourceTree = "<group>"; };
 		4228EB4215E40E6F00816559 /* azuki.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; path = azuki.ttf; sourceTree = "<group>"; };
 		4228EB6515E5304100816559 /* Reachability.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Reachability.h; sourceTree = "<group>"; };
 		4228EB6615E5304100816559 /* Reachability.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Reachability.m; sourceTree = "<group>"; };
@@ -33,6 +41,10 @@
 		426516F915E3F71C00B36104 /* CCAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CCAppDelegate.h; sourceTree = "<group>"; };
 		426516FA15E3F71C00B36104 /* CCAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CCAppDelegate.m; sourceTree = "<group>"; };
 		42B6C7D815F2248700C80CC4 /* SystemConfiguration.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SystemConfiguration.framework; path = System/Library/Frameworks/SystemConfiguration.framework; sourceTree = SDKROOT; };
+		42B6C7E015F2297100C80CC4 /* CCThreadViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCThreadViewController.h; sourceTree = "<group>"; };
+		42B6C7E115F2297100C80CC4 /* CCThreadViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCThreadViewController.m; sourceTree = "<group>"; };
+		42B6C7E315F22A3400C80CC4 /* CCThread.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCThread.h; sourceTree = "<group>"; };
+		42B6C7E415F22A3400C80CC4 /* CCThread.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCThread.m; sourceTree = "<group>"; };
 /* End PBXFileReference section */

 /* Begin PBXFrameworksBuildPhase section */
@@ -50,6 +62,15 @@
 /* End PBXFrameworksBuildPhase section */

 /* Begin PBXGroup section */
+		4221382C15F24FF00088B119 /* Custom */ = {
+			isa = PBXGroup;
+			children = (
+				4221382D15F24FF00088B119 /* CCURLRequest.h */,
+				4221382E15F24FF00088B119 /* CCURLRequest.m */,
+			);
+			path = Custom;
+			sourceTree = "<group>";
+		};
 		4228EB6415E5304100816559 /* Reachability */ = {
 			isa = PBXGroup;
 			children = (
@@ -62,7 +83,6 @@
 		426516DB15E3F71C00B36104 = {
 			isa = PBXGroup;
 			children = (
-				42B6C7D815F2248700C80CC4 /* SystemConfiguration.framework */,
 				426516F015E3F71C00B36104 /* skooma */,
 				426516E915E3F71C00B36104 /* Frameworks */,
 				426516E715E3F71C00B36104 /* Products */,
@@ -80,6 +100,7 @@
 		426516E915E3F71C00B36104 /* Frameworks */ = {
 			isa = PBXGroup;
 			children = (
+				42B6C7D815F2248700C80CC4 /* SystemConfiguration.framework */,
 				426516EA15E3F71C00B36104 /* UIKit.framework */,
 				426516EC15E3F71C00B36104 /* Foundation.framework */,
 				426516EE15E3F71C00B36104 /* CoreGraphics.framework */,
@@ -92,8 +113,15 @@
 			children = (
 				4228EB6415E5304100816559 /* Reachability */,
 				4265170515E3FC7100B36104 /* Resources */,
+				4221382C15F24FF00088B119 /* Custom */,
 				426516F915E3F71C00B36104 /* CCAppDelegate.h */,
 				426516FA15E3F71C00B36104 /* CCAppDelegate.m */,
+				42B6C7E315F22A3400C80CC4 /* CCThread.h */,
+				42B6C7E415F22A3400C80CC4 /* CCThread.m */,
+				4221382515F24D990088B119 /* CCThreadCell.h */,
+				4221382615F24D990088B119 /* CCThreadCell.m */,
+				42B6C7E015F2297100C80CC4 /* CCThreadViewController.h */,
+				42B6C7E115F2297100C80CC4 /* CCThreadViewController.m */,
 				426516F115E3F71C00B36104 /* Supporting Files */,
 			);
 			path = skooma;
@@ -184,6 +212,10 @@
 				426516F715E3F71C00B36104 /* main.m in Sources */,
 				426516FB15E3F71C00B36104 /* CCAppDelegate.m in Sources */,
 				4228EB6F15E5304100816559 /* Reachability.m in Sources */,
+				42B6C7E215F2297100C80CC4 /* CCThreadViewController.m in Sources */,
+				42B6C7E515F22A3400C80CC4 /* CCThread.m in Sources */,
+				4221382715F24D990088B119 /* CCThreadCell.m in Sources */,
+				4221382F15F24FF00088B119 /* CCURLRequest.m in Sources */,
 			);
 			runOnlyForDeploymentPostprocessing = 0;
 		};
diff --git a/skooma/CCAppDelegate.h b/skooma/CCAppDelegate.h
index 55d9420..c960322 100644
--- a/skooma/CCAppDelegate.h
+++ b/skooma/CCAppDelegate.h
@@ -8,6 +8,9 @@

 #import <UIKit/UIKit.h>

+#import "CCURLRequest.h"
+#import "CCThreadViewController.h"
+

diff --git a/skooma/CCAppDelegate.m b/skooma/CCAppDelegate.m
index fd22050..1a7304c 100644
--- a/skooma/CCAppDelegate.m
+++ b/skooma/CCAppDelegate.m
@@ -104,8 +104,10 @@

     ////////////////////////////////////////////////////////////////////////////////
-    UIViewController *rootViewController = [[UIViewController alloc] initWithNibName:nil bundle:nil];
-    [self.window addSubview:rootViewController.view];
+//    UIViewController *rootViewController = [[UIViewController alloc] initWithNibName:nil bundle:nil];
+//    [self.window addSubview:rootViewController.view];
+    CCThreadViewController *threadViewController = [[CCThreadViewController alloc] initWithNibName:nil bundle:nil];
+    [self.window addSubview:threadViewController.view];
     [self.window makeKeyAndVisible];
     return YES;
 }
diff --git a/skooma/CCThread.h b/skooma/CCThread.h
new file mode 100644
index 0000000..65f9024
--- /dev/null
+++ b/skooma/CCThread.h
@@ -0,0 +1,35 @@
+//
+//  CCThread.h
+//  skooma
+//
+//  Created by cc on 2012/09/01.
+//
+//
+
+#import <Foundation/Foundation.h>
+
+@interface CCThread : NSObject
+
+    @property (nonatomic) int boardId;
+    @property (nonatomic) int number;
+    @property (nonatomic) int lastResNumber;
+    @property (nonatomic) int resCount;
+    @property (nonatomic) int is404;
+    @property (nonatomic) NSString* thumbnail;
+    @property (nonatomic) NSString* source;
+    @property (nonatomic) NSString* title;
+    @property (nonatomic) NSString* name;
+    @property (nonatomic) NSString* mail;
+    @property (nonatomic) NSString* text;
+    @property (nonatomic) NSMutableArray* lines;
+
+    @property (nonatomic) float cellHeight;
+    @property (nonatomic) CGRect titleRect;
+    @property (nonatomic) CGRect nameRect;
+    @property (nonatomic) CGRect mailRect;
+    @property (nonatomic) CGRect resCountRect;
+    @property (nonatomic) CGRect textRect;
+    @property (nonatomic) CGRect boardRect;
+    @property (nonatomic) CGRect is404Rect;
+
+@end
diff --git a/skooma/CCThread.m b/skooma/CCThread.m
new file mode 100644
index 0000000..5b2ca4c
--- /dev/null
+++ b/skooma/CCThread.m
@@ -0,0 +1,14 @@
+//
+//  CCThread.m
+//  skooma
+//
+//  Created by cc on 2012/09/01.
+//
+//
+
+#import "CCThread.h"
+
+@implementation CCThread
+
+
+@end
diff --git a/skooma/CCThreadCell.h b/skooma/CCThreadCell.h
new file mode 100644
index 0000000..bfd74ed
--- /dev/null
+++ b/skooma/CCThreadCell.h
@@ -0,0 +1,13 @@
+//
+//  CCThreadCell.h
+//  skooma
+//
+//  Created by cc on 2012/09/01.
+//
+//
+
+#import <UIKit/UIKit.h>
+
+@interface CCThreadCell : UITableViewCell
+
+@end
diff --git a/skooma/CCThreadCell.m b/skooma/CCThreadCell.m
new file mode 100644
index 0000000..47a5c71
--- /dev/null
+++ b/skooma/CCThreadCell.m
@@ -0,0 +1,29 @@
+//
+//  CCThreadCell.m
+//  skooma
+//
+//  Created by cc on 2012/09/01.
+//
+//
+
+#import "CCThreadCell.h"
+
+@implementation CCThreadCell
+
+- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
+{
+    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
+    if (self) {
+        // Initialization code
+    }
+    return self;
+}
+
+- (void)setSelected:(BOOL)selected animated:(BOOL)animated
+{
+    [super setSelected:selected animated:animated];
+
+    // Configure the view for the selected state
+}
+
+@end
diff --git a/skooma/CCThreadViewController.h b/skooma/CCThreadViewController.h
new file mode 100644
index 0000000..f61f5ed
--- /dev/null
+++ b/skooma/CCThreadViewController.h
@@ -0,0 +1,16 @@
+//
+//  CCThreadViewController.h
+//  skooma
+//
+//  Created by cc on 2012/09/01.
+//
+//
+
+#import <UIKit/UIKit.h>
+#import "CCThread.h"
+
+@interface CCThreadViewController : UITableViewController <NSURLConnectionDataDelegate>
+
+
+
+@end
diff --git a/skooma/CCThreadViewController.m b/skooma/CCThreadViewController.m
new file mode 100644
index 0000000..405fe40
--- /dev/null
+++ b/skooma/CCThreadViewController.m
@@ -0,0 +1,168 @@
+//
+//  CCThreadViewController.m
+//  skooma
+//
+//  Created by cc on 2012/09/01.
+//
+//
+
+#import "CCAppDelegate.h"
+#import "CCThreadViewController.h"
+#import "CCThreadCell.h"
+
+@interface CCThreadViewController ()
+
+@property (nonatomic) NSMutableArray *threads;
+
+@property (nonatomic) NSURLConnection *connection;
+@property (nonatomic) NSHTTPURLResponse *response;
+@property (nonatomic) NSMutableData *buffer;
+
+@end
+
+
+
+
+
+@implementation CCThreadViewController
+
+- (id)initWithStyle:(UITableViewStyle)style
+{
+    self = [super initWithStyle:style];
+    if (self) {
+        // Custom initialization
+    }
+    return self;
+}
+
+- (void)viewDidLoad
+{
+    [super viewDidLoad];
+
+    // Uncomment the following line to preserve selection between presentations.
+    // self.clearsSelectionOnViewWillAppear = NO;
+
+    CCURLRequest *request = [CCURLRequest requestWithURL:@"http://img.2chan.net/b/futaba.php?mode=cat&cxyl=100x100x256"];
+    _connection = [NSURLConnection connectionWithRequest:request delegate:self];
+    _buffer = [NSMutableData new];
+}
+
+- (void)viewDidUnload
+{
+    [super viewDidUnload];
+}
+
+- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
+{
+    return (interfaceOrientation == UIInterfaceOrientationPortrait);
+}
+
+
+
+
+
+
+#pragma mark - Table view data source
+
+- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView
+{
+    return 1;
+}
+
+- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
+{
+    return [_threads count];
+}
+
+- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
+{
+    CCThreadCell *cell = [[CCThreadCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:nil];
+
+    // Configure the cell...
+
+    return cell;
+}
+
+
+
+
+
+#pragma mark - Table view delegate
+
+- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
+{
+
+}
+
+
+
+
+
+#pragma mark - NSURLConnectionData delegate
+
+-(void)connection:(NSURLConnection *)connection didFailWithError:(NSError *)error
+{
+    [connection cancel];
+}
+
+- (void)connection:(NSURLConnection *)connection didReceiveResponse:(NSURLResponse *)response
+{
+    _response = (NSHTTPURLResponse *)response;
+}
+
+- (void)connection:(NSURLConnection *)connection didReceiveData:(NSData *)data
+{
+    [_buffer appendData:data];
+}
+
+- (void)connectionDidFinishLoading:(NSURLConnection *)connection
+{
+    [connection cancel];
+
+    if (_response.statusCode == 200) {
+        [self scrape];
+
+    }
+}
+
+
+
+
+
+#pragma mark - Parse
+
+- (void)scrape
+{
+    // カタログスクレイピング
+    NSError *error;
+    NSString *string = [[NSString alloc] initWithData:_buffer encoding:NSShiftJISStringEncoding];
+    NSString *pattern = @"<a.*?res/([0-9]*?).htm.*?><img src='(.*?)'.*?<small>(.*?)</small>.*?<font size=2>([0-9]*?)</font>";
+    NSRegularExpression *regexp = [NSRegularExpression regularExpressionWithPattern:pattern options:NSRegularExpressionDotMatchesLineSeparators error:&error];
+    if (error) {
+        [error localizedDescription];
+        return;
+    }
+    // TODO 例外処理をつける
+    [regexp enumerateMatchesInString:string options:0 range:NSMakeRange(0, string.length) usingBlock:^(NSTextCheckingResult *match, NSMatchingFlags flag, BOOL *stop) {
+//        NSLog(@"%@", [string substringWithRange:[match rangeAtIndex:1]]);
+//        NSLog(@"%@", [string substringWithRange:[match rangeAtIndex:2]]);
+//        NSLog(@"%@", [string substringWithRange:[match rangeAtIndex:3]]);
+//        NSLog(@"%@", [string substringWithRange:[match rangeAtIndex:4]]);
+        CCThread *thread = [CCThread new];
+        thread.number    = [[string substringWithRange:[match rangeAtIndex:1]] intValue];
+        thread.thumbnail = [string substringWithRange:[match rangeAtIndex:2]];
+        thread.text      = [string substringWithRange:[match rangeAtIndex:3]];
+        thread.resCount  = [[string substringWithRange:[match rangeAtIndex:4]] intValue];
+    }];
+}
+
+
+@end
+
+
+
+
+
+
+
+
diff --git a/skooma/Custom/CCURLRequest.h b/skooma/Custom/CCURLRequest.h
new file mode 100644
index 0000000..573ea6c
--- /dev/null
+++ b/skooma/Custom/CCURLRequest.h
@@ -0,0 +1,15 @@
+//
+//  CCURLRequest.h
+//  skooma
+//
+//  Created by cc on 2012/09/01.
+//
+//
+
+#import <Foundation/Foundation.h>
+
+@interface CCURLRequest : NSURLRequest
+
++ (id)requestWithURL:(NSString *)string;
+
+@end
diff --git a/skooma/Custom/CCURLRequest.m b/skooma/Custom/CCURLRequest.m
new file mode 100644
index 0000000..ed8be54
--- /dev/null
+++ b/skooma/Custom/CCURLRequest.m
@@ -0,0 +1,18 @@
+//
+//  CCURLRequest.m
+//  skooma
+//
+//  Created by cc on 2012/09/01.
+//
+//
+
+#import "CCURLRequest.h"
+
+@implementation CCURLRequest
+
++ (id)requestWithURL:(NSString *)string
+{
+    return [CCURLRequest requestWithURL:[NSURL URLWithString:string] cachePolicy:NSURLRequestReloadIgnoringLocalAndRemoteCacheData timeoutInterval:30];
+}
+
+@end
\ No newline at end of file