Permalink
Browse files

Fixed ios6 bugs/ new sample project

  • Loading branch information...
1 parent c9c2c6a commit b73a3fcc49b09d4143fae02bd63412a27628ef87 @JimLiu committed Oct 20, 2012
Showing with 14,811 additions and 918 deletions.
  1. +2 −2 sample/Controllers/AccountsViewController.m
  2. +2 −2 sample/Controllers/ComposeViewController.m
  3. +79 −357 sample/Controllers/ComposeViewController.xib
  4. +3 −3 sample/Controllers/HomeViewController.m
  5. +27 −23 sample/Sample.xcodeproj/project.pbxproj
  6. +17 −0 sample_WeiboPlus/Controllers/AccountsViewController.h
  7. +193 −0 sample_WeiboPlus/Controllers/AccountsViewController.m
  8. +13 −0 sample_WeiboPlus/Controllers/DiscoverViewController.h
  9. +44 −0 sample_WeiboPlus/Controllers/DiscoverViewController.m
  10. +20 −0 sample_WeiboPlus/Controllers/HomeViewController.h
  11. +174 −0 sample_WeiboPlus/Controllers/HomeViewController.m
  12. +13 −0 sample_WeiboPlus/Controllers/MentionViewController.h
  13. +132 −0 sample_WeiboPlus/Controllers/MentionViewController.m
  14. +13 −0 sample_WeiboPlus/Controllers/ProfileViewController.h
  15. +44 −0 sample_WeiboPlus/Controllers/ProfileViewController.m
  16. +18 −0 sample_WeiboPlus/Controllers/WeiboTabBarController.h
  17. +75 −0 sample_WeiboPlus/Controllers/WeiboTabBarController.m
  18. +34 −0 sample_WeiboPlus/DataManager/DBAccess.h
  19. +95 −0 sample_WeiboPlus/DataManager/DBAccess.m
  20. +25 −0 sample_WeiboPlus/DataManager/TimelineStorage.h
  21. +216 −0 sample_WeiboPlus/DataManager/TimelineStorage.m
  22. +26 −0 sample_WeiboPlus/DataManager/WeiboDataManager.h
  23. +41 −0 sample_WeiboPlus/DataManager/WeiboDataManager.m
  24. +16 −0 sample_WeiboPlus/DataSources/Fonts.h
  25. +30 −0 sample_WeiboPlus/DataSources/Fonts.m
  26. +33 −0 sample_WeiboPlus/DataSources/Images.h
  27. +93 −0 sample_WeiboPlus/DataSources/Images.m
  28. +17 −0 sample_WeiboPlus/Models/WrapedStatus.h
  29. +13 −0 sample_WeiboPlus/Models/WrapedStatus.m
  30. +94 −0 sample_WeiboPlus/Network/ImageDownloader/ImageCache.h
  31. +607 −0 sample_WeiboPlus/Network/ImageDownloader/ImageCache.m
  32. +27 −0 sample_WeiboPlus/Network/ImageDownloader/ImageDownloadReceiver.h
  33. +61 −0 sample_WeiboPlus/Network/ImageDownloader/ImageDownloadReceiver.m
  34. +45 −0 sample_WeiboPlus/Network/ImageDownloader/ImageDownloader.h
  35. +327 −0 sample_WeiboPlus/Network/ImageDownloader/ImageDownloader.m
  36. +47 −0 sample_WeiboPlus/Network/ImageDownloader/ImageRequest.h
  37. +198 −0 sample_WeiboPlus/Network/ImageDownloader/ImageRequest.m
  38. +136 −0 sample_WeiboPlus/Network/Reachability2.h
  39. +593 −0 sample_WeiboPlus/Network/Reachability2.m
  40. BIN sample_WeiboPlus/Resources/Images/ProfilePlaceholderOverBlue.png
  41. BIN sample_WeiboPlus/Resources/Images/ProfilePlaceholderOverBlue@2x.png
  42. BIN sample_WeiboPlus/Resources/Images/ProfilePlaceholderOverWhite.png
  43. BIN sample_WeiboPlus/Resources/Images/ProfilePlaceholderOverWhite@2x.png
  44. BIN sample_WeiboPlus/Resources/Images/TabBarGlow.png
  45. BIN sample_WeiboPlus/Resources/Images/TabBarGlow@2x.png
  46. BIN sample_WeiboPlus/Resources/Images/TableBlueSelectionGradient.png
  47. BIN sample_WeiboPlus/Resources/Images/bg-tweet-inner.png
  48. BIN sample_WeiboPlus/Resources/Images/bg-tweet-inner@2x.png
  49. BIN sample_WeiboPlus/Resources/Images/bg-tweet-outer.png
  50. BIN sample_WeiboPlus/Resources/Images/bg-tweet-outer1@2x.png
  51. BIN sample_WeiboPlus/Resources/Images/bg-tweet-outer@2x.png
  52. BIN sample_WeiboPlus/Resources/Images/bg_search_bar.png
  53. BIN sample_WeiboPlus/Resources/Images/bg_search_bar@2x.png
  54. BIN sample_WeiboPlus/Resources/Images/bg_tab_bar.png
  55. BIN sample_WeiboPlus/Resources/Images/bg_tab_bar@2x.png
  56. BIN sample_WeiboPlus/Resources/Images/bg_tab_bar_selected.png
  57. BIN sample_WeiboPlus/Resources/Images/bg_tab_bar_selected@2x.png
  58. BIN sample_WeiboPlus/Resources/Images/bg_texture.png
  59. BIN sample_WeiboPlus/Resources/Images/bg_texture@2x.png
  60. BIN sample_WeiboPlus/Resources/Images/bg_title_bar.png
  61. BIN sample_WeiboPlus/Resources/Images/bg_title_bar@2x.png
  62. BIN sample_WeiboPlus/Resources/Images/blue-check.png
  63. BIN sample_WeiboPlus/Resources/Images/blue-check@2x.png
  64. BIN sample_WeiboPlus/Resources/Images/btn_default.png
  65. BIN sample_WeiboPlus/Resources/Images/btn_default@2x.png
  66. BIN sample_WeiboPlus/Resources/Images/btn_title_bar_back.png
  67. BIN sample_WeiboPlus/Resources/Images/btn_title_bar_back@2x.png
  68. BIN sample_WeiboPlus/Resources/Images/btn_title_bar_back_pressed.png
  69. BIN sample_WeiboPlus/Resources/Images/btn_title_bar_back_pressed@2x.png
  70. BIN sample_WeiboPlus/Resources/Images/btn_title_bar_rect.png
  71. BIN sample_WeiboPlus/Resources/Images/btn_title_bar_rect@2x.png
  72. BIN sample_WeiboPlus/Resources/Images/btn_title_bar_rect_pressed.png
  73. BIN sample_WeiboPlus/Resources/Images/btn_title_bar_rect_pressed@2x.png
  74. BIN sample_WeiboPlus/Resources/Images/btn_tool_bar_rect_default.png
  75. BIN sample_WeiboPlus/Resources/Images/btn_tool_bar_rect_default@2x.png
  76. BIN sample_WeiboPlus/Resources/Images/btn_tool_bar_rect_pressed.png
  77. BIN sample_WeiboPlus/Resources/Images/btn_tool_bar_rect_pressed@2x.png
  78. BIN sample_WeiboPlus/Resources/Images/ic_pop_check.png
  79. BIN sample_WeiboPlus/Resources/Images/ic_pop_check@2x.png
  80. BIN sample_WeiboPlus/Resources/Images/ic_tab_at.png
  81. BIN sample_WeiboPlus/Resources/Images/ic_tab_at@2x.png
  82. BIN sample_WeiboPlus/Resources/Images/ic_tab_at_default.png
  83. BIN sample_WeiboPlus/Resources/Images/ic_tab_at_default@2x.png
  84. BIN sample_WeiboPlus/Resources/Images/ic_tab_at_selected.png
  85. BIN sample_WeiboPlus/Resources/Images/ic_tab_at_selected@2x.png
  86. BIN sample_WeiboPlus/Resources/Images/ic_tab_hash.png
  87. BIN sample_WeiboPlus/Resources/Images/ic_tab_hash@2x.png
  88. BIN sample_WeiboPlus/Resources/Images/ic_tab_hash_default.png
  89. BIN sample_WeiboPlus/Resources/Images/ic_tab_hash_default@2x.png
  90. BIN sample_WeiboPlus/Resources/Images/ic_tab_hash_selected.png
  91. BIN sample_WeiboPlus/Resources/Images/ic_tab_hash_selected@2x.png
  92. BIN sample_WeiboPlus/Resources/Images/ic_tab_home_default.png
  93. BIN sample_WeiboPlus/Resources/Images/ic_tab_home_default@2x.png
  94. BIN sample_WeiboPlus/Resources/Images/ic_tab_home_selected.png
  95. BIN sample_WeiboPlus/Resources/Images/ic_tab_home_selected@2x.png
  96. BIN sample_WeiboPlus/Resources/Images/ic_tab_profile.png
  97. BIN sample_WeiboPlus/Resources/Images/ic_tab_profile@2x.png
  98. BIN sample_WeiboPlus/Resources/Images/ic_tab_profile_default.png
  99. BIN sample_WeiboPlus/Resources/Images/ic_tab_profile_default@2x.png
  100. BIN sample_WeiboPlus/Resources/Images/ic_tab_profile_selected.png
  101. BIN sample_WeiboPlus/Resources/Images/ic_tab_profile_selected@2x.png
  102. +17 −0 sample_WeiboPlus/Resources/en.lproj/Localizable.strings
  103. +16 −0 sample_WeiboPlus/Resources/zh-Hans.lproj/Localizable.strings
  104. +44 −0 sample_WeiboPlus/Views/Cells/ABTableViewCell.h
  105. +172 −0 sample_WeiboPlus/Views/Cells/ABTableViewCell.m
  106. +18 −0 sample_WeiboPlus/Views/Cells/SimpleTableViewCell.h
  107. +94 −0 sample_WeiboPlus/Views/Cells/SimpleTableViewCell.m
  108. +29 −0 sample_WeiboPlus/Views/Cells/WeiboAccountCell.h
  109. +121 −0 sample_WeiboPlus/Views/Cells/WeiboAccountCell.m
  110. +62 −0 sample_WeiboPlus/Views/TweetView/TweetDocument.h
  111. +419 −0 sample_WeiboPlus/Views/TweetView/TweetDocument.m
  112. +43 −0 sample_WeiboPlus/Views/TweetView/TweetLayer.h
  113. +219 −0 sample_WeiboPlus/Views/TweetView/TweetLayer.m
  114. +40 −0 sample_WeiboPlus/Views/TweetView/TweetLink.h
  115. +87 −0 sample_WeiboPlus/Views/TweetView/TweetLink.m
  116. +25 −0 sample_WeiboPlus/Views/TweetView/TweetViewCell.h
  117. +184 −0 sample_WeiboPlus/Views/TweetView/TweetViewCell.m
  118. +60 −0 sample_WeiboPlus/Views/TweetView/TweetViewCellLayout.h
  119. +146 −0 sample_WeiboPlus/Views/TweetView/TweetViewCellLayout.m
  120. +37 −0 sample_WeiboPlus/Views/WeiboTabBar/TabBar.h
  121. +105 −0 sample_WeiboPlus/Views/WeiboTabBar/TabBar.m
  122. +28 −0 sample_WeiboPlus/Views/WeiboTabBar/TabBarController.h
  123. +213 −0 sample_WeiboPlus/Views/WeiboTabBar/TabBarController.m
  124. +25 −0 sample_WeiboPlus/Views/WeiboTabBar/TabBarItem.h
  125. +110 −0 sample_WeiboPlus/Views/WeiboTabBar/TabBarItem.m
  126. +1,137 −0 sample_WeiboPlus/WeiboPlus.xcodeproj/project.pbxproj
  127. +20 −0 sample_WeiboPlus/WeiboPlus/AppDelegate.h
  128. +119 −0 sample_WeiboPlus/WeiboPlus/AppDelegate.m
  129. BIN sample_WeiboPlus/WeiboPlus/Default-568h@2x.png
  130. BIN sample_WeiboPlus/WeiboPlus/Default.png
  131. BIN sample_WeiboPlus/WeiboPlus/Default@2x.png
  132. +38 −0 sample_WeiboPlus/WeiboPlus/WeiboPlus-Info.plist
  133. +14 −0 sample_WeiboPlus/WeiboPlus/WeiboPlus-Prefix.pch
  134. +2 −0 sample_WeiboPlus/WeiboPlus/en.lproj/InfoPlist.strings
  135. +18 −0 sample_WeiboPlus/WeiboPlus/main.m
  136. +2 −2 sample_nolib/Controllers/AccountsViewController.m
  137. +2 −2 sample_nolib/Controllers/ComposeViewController.m
  138. +79 −357 sample_nolib/Controllers/ComposeViewController.xib
  139. +3 −3 sample_nolib/Controllers/HomeViewController.m
  140. +159 −167 sample_nolib/WeiboSDK_Sample_NoLib.xcodeproj/project.pbxproj
  141. +29 −0 sdk/Additions/NSDictionaryAdditions.h
  142. +154 −0 sdk/Additions/NSDictionaryAdditions.m
  143. +24 −0 sdk/Models/GeoInfo.h
  144. +48 −0 sdk/Models/GeoInfo.m
  145. +23 −0 sdk/Models/Province.h
  146. +67 −0 sdk/Models/Province.m
  147. +20 −0 sdk/Models/Resources.h
  148. +64 −0 sdk/Models/Resources.m
  149. +68 −0 sdk/Models/Status.h
  150. +266 −0 sdk/Models/Status.m
  151. +82 −0 sdk/Models/User.h
  152. +178 −0 sdk/Models/User.m
  153. +26 −0 sdk/Utilities/PathHelper.h
  154. +69 −0 sdk/Utilities/PathHelper.m
  155. +27 −0 sdk/WeiboEngine/WeiboAccount.h
  156. +59 −0 sdk/WeiboEngine/WeiboAccount.m
  157. +39 −0 sdk/WeiboEngine/WeiboAccounts.h
  158. +158 −0 sdk/WeiboEngine/WeiboAccounts.m
  159. +40 −0 sdk/WeiboEngine/WeiboAuthentication.h
  160. +60 −0 sdk/WeiboEngine/WeiboAuthentication.m
  161. +17 −0 sdk/WeiboEngine/WeiboConfig.h
  162. +13 −0 sdk/WeiboEngine/WeiboEngine.h
  163. +13 −0 sdk/WeiboEngine/WeiboEngine.m
  164. +13 −0 sdk/WeiboEngine/WeiboQuery/StatusQuery.h
  165. +13 −0 sdk/WeiboEngine/WeiboQuery/StatusQuery.m
  166. +36 −0 sdk/WeiboEngine/WeiboQuery/TimelineQuery.h
  167. +96 −0 sdk/WeiboEngine/WeiboQuery/TimelineQuery.m
  168. +28 −0 sdk/WeiboEngine/WeiboQuery/UserQuery.h
  169. +58 −0 sdk/WeiboEngine/WeiboQuery/UserQuery.m
  170. +24 −0 sdk/WeiboEngine/WeiboQuery/WeiboQuery.h
  171. +98 −0 sdk/WeiboEngine/WeiboQuery/WeiboQuery.m
  172. +53 −0 sdk/WeiboEngine/WeiboRequest.h
  173. +283 −0 sdk/WeiboEngine/WeiboRequest.m
  174. +41 −0 sdk/WeiboEngine/WeiboSignIn.h
  175. +129 −0 sdk/WeiboEngine/WeiboSignIn.m
  176. +32 −0 sdk/WeiboEngine/WeiboSignInViewController.h
  177. +159 −0 sdk/WeiboEngine/WeiboSignInViewController.m
  178. +118 −0 sdk/WeiboEngine/WeiboSignInViewController.xib
  179. +587 −0 sdk/WeiboSDK.xcodeproj/project.pbxproj
  180. +7 −0 sdk/WeiboSDK/WeiboSDK-Prefix.pch
  181. +26 −0 sdk/WeiboSDK/WeiboSDK.h
  182. +13 −0 thirdparts/NULevelDB/NSLDBIterator.h
  183. +23 −0 thirdparts/NULevelDB/NSLDBIterator.mm
  184. +13 −0 thirdparts/NULevelDB/NULDBCache.h
  185. +30 −0 thirdparts/NULevelDB/NULDBCache.mm
  186. +13 −0 thirdparts/NULevelDB/NULDBComparator.h
  187. +23 −0 thirdparts/NULevelDB/NULDBComparator.mm
  188. +192 −0 thirdparts/NULevelDB/NULDBDB+BulkAccess.mm
  189. +221 −0 thirdparts/NULevelDB/NULDBDB+Enumeration.mm
  190. +321 −0 thirdparts/NULevelDB/NULDBDB+Serializing.mm
  191. +120 −0 thirdparts/NULevelDB/NULDBDB+SizeEstimation.mm
  192. +157 −0 thirdparts/NULevelDB/NULDBDB.h
  193. +466 −0 thirdparts/NULevelDB/NULDBDB.mm
  194. +140 −0 thirdparts/NULevelDB/NULDBDB_private.h
  195. +30 −0 thirdparts/NULevelDB/NULDBSerializable.h
  196. +64 −0 thirdparts/NULevelDB/NULDBSlice.h
  197. +199 −0 thirdparts/NULevelDB/NULDBSlice.mm
  198. +13 −0 thirdparts/NULevelDB/NULDBStatus.h
  199. +23 −0 thirdparts/NULevelDB/NULDBStatus.mm
  200. +13 −0 thirdparts/NULevelDB/NULDBTable.h
  201. +23 −0 thirdparts/NULevelDB/NULDBTable.mm
  202. +49 −0 thirdparts/NULevelDB/NULDBUtilities.h
  203. +80 −0 thirdparts/NULevelDB/NULDBUtilities.mm
  204. +21 −0 thirdparts/NULevelDB/NULDBWriteBatch.h
  205. +57 −0 thirdparts/NULevelDB/NULDBWriteBatch.mm
  206. BIN thirdparts/NULevelDB/armv7-libleveldb.a
  207. +246 −0 thirdparts/NULevelDB/include/leveldb/c.h
  208. +99 −0 thirdparts/NULevelDB/include/leveldb/cache.h
  209. +63 −0 thirdparts/NULevelDB/include/leveldb/comparator.h
  210. +160 −0 thirdparts/NULevelDB/include/leveldb/db.h
  211. +323 −0 thirdparts/NULevelDB/include/leveldb/env.h
  212. +100 −0 thirdparts/NULevelDB/include/leveldb/iterator.h
  213. +187 −0 thirdparts/NULevelDB/include/leveldb/options.h
  214. +109 −0 thirdparts/NULevelDB/include/leveldb/slice.h
  215. +100 −0 thirdparts/NULevelDB/include/leveldb/status.h
  216. +70 −0 thirdparts/NULevelDB/include/leveldb/table.h
  217. +91 −0 thirdparts/NULevelDB/include/leveldb/table_builder.h
  218. +64 −0 thirdparts/NULevelDB/include/leveldb/write_batch.h
  219. BIN thirdparts/NULevelDB/libleveldb.a
@@ -46,7 +46,7 @@ - (void)dealloc {
}
- (IBAction)close:(id)sender {
- [self dismissModalViewControllerAnimated:YES];
+ [self dismissViewControllerAnimated:YES completion:nil];
}
- (IBAction)add:(id)sender {
@@ -189,7 +189,7 @@ - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath
[self.tableView deselectRowAtIndexPath:indexPath animated:YES];
WeiboAccount *account = [[[WeiboAccounts shared]accounts] objectAtIndex:indexPath.row];
[[WeiboAccounts shared] setCurrentAccount:account];
- [self dismissModalViewControllerAnimated:YES];
+ [self dismissViewControllerAnimated:YES completion:nil];
}
@end
@@ -80,7 +80,7 @@ - (IBAction)cancel:(id)sender {
imgAttachment.image = nil;
sendingView.hidden = YES;
- [self dismissModalViewControllerAnimated:YES];
+ [self dismissViewControllerAnimated:YES completion:nil];
}
- (IBAction)insert:(id)sender {
@@ -138,7 +138,7 @@ - (void)request:(WeiboRequest *)request didLoad:(id)result {
Status *status = [Status statusWithJsonDictionary:result];
NSLog(@"status id: %lld", status.statusId);
sendingView.hidden = YES;
- [self dismissModalViewControllerAnimated:YES];
+ [self dismissViewControllerAnimated:YES completion:nil];
[request release];
}
Oops, something went wrong.
@@ -58,7 +58,7 @@ - (void)displayAccountsViewController {
AccountsViewController *accountsViewController = [[[AccountsViewController alloc]initWithNibName:nil bundle:nil]autorelease];
UINavigationController *accountsNavigationController = [[[UINavigationController alloc]initWithRootViewController:accountsViewController] autorelease];
accountsNavigationController.modalTransitionStyle = UIModalTransitionStyleFlipHorizontal;
- [self presentModalViewController:accountsNavigationController animated:YES];
+ [self presentViewController:accountsNavigationController animated:YES completion:nil];
}
- (void)viewDidAppear:(BOOL)animated {
@@ -104,14 +104,14 @@ - (IBAction)refresh:(id)sender {
_query = nil;
[self.tableView reloadData];
};
- [_query queryFriendsTimelineWithCount:20];
+ [_query queryTimeline:StatusTimelineFriends count:20];
[self.tableView reloadData];
}
- (IBAction)compose:(id)sender {
ComposeViewController *composeViewController = [[[ComposeViewController alloc]initWithNibName:@"ComposeViewController" bundle:nil]autorelease];
composeViewController.statusText = @"Test #Zhiweibo#";
- [self presentModalViewController:composeViewController animated:YES];
+ [self presentViewController:composeViewController animated:YES completion:nil];
}
- (IBAction)displayAccountsController:(id)sender {
@@ -23,24 +23,24 @@
B559929D1608DF7C0037448E /* Icon.png in Resources */ = {isa = PBXBuildFile; fileRef = B55992951608DF7C0037448E /* Icon.png */; };
B559929E1608DF7C0037448E /* Icon@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = B55992961608DF7C0037448E /* Icon@2x.png */; };
B559929F1608DF7C0037448E /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = B55992981608DF7C0037448E /* ViewController.m */; };
- B55992B91608E7A90037448E /* libWeiboSDK.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B559928A1608DEDD0037448E /* libWeiboSDK.a */; };
B55992BB1608E7C80037448E /* CFNetwork.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B55992BA1608E7C80037448E /* CFNetwork.framework */; };
B55992BD1608E7CF0037448E /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B55992BC1608E7CF0037448E /* SystemConfiguration.framework */; };
B55992BF1608E7D60037448E /* MobileCoreServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B55992BE1608E7D60037448E /* MobileCoreServices.framework */; };
B55992C11608E7E40037448E /* libz.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = B55992C01608E7E40037448E /* libz.dylib */; };
+ B5E35F451632F32600947A19 /* libWeiboSDK.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B5E35EF21632EEAD00947A19 /* libWeiboSDK.a */; };
/* End PBXBuildFile section */
/* Begin PBXContainerItemProxy section */
- B55992891608DEDD0037448E /* PBXContainerItemProxy */ = {
+ B5E35EF11632EEAD00947A19 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
- containerPortal = B55992821608DEDD0037448E /* WeiboSDK.xcodeproj */;
+ containerPortal = B5E35EEA1632EEAD00947A19 /* WeiboSDK.xcodeproj */;
proxyType = 2;
remoteGlobalIDString = B55991641608DB8E0037448E;
remoteInfo = WeiboSDK;
};
- B559928B1608DF350037448E /* PBXContainerItemProxy */ = {
+ B5E35F461632F36B00947A19 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
- containerPortal = B55992821608DEDD0037448E /* WeiboSDK.xcodeproj */;
+ containerPortal = B5E35EEA1632EEAD00947A19 /* WeiboSDK.xcodeproj */;
proxyType = 1;
remoteGlobalIDString = B55991631608DB8E0037448E;
remoteInfo = WeiboSDK;
@@ -61,7 +61,6 @@
B55992771608DE9E0037448E /* Default.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Default.png; sourceTree = "<group>"; };
B55992791608DE9E0037448E /* Default@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default@2x.png"; sourceTree = "<group>"; };
B559927B1608DE9E0037448E /* Default-568h@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default-568h@2x.png"; sourceTree = "<group>"; };
- B55992821608DEDD0037448E /* WeiboSDK.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = WeiboSDK.xcodeproj; path = ../src/WeiboSDK.xcodeproj; sourceTree = "<group>"; };
B559928E1608DF7C0037448E /* AccountsViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AccountsViewController.h; sourceTree = "<group>"; };
B559928F1608DF7C0037448E /* AccountsViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AccountsViewController.m; sourceTree = "<group>"; };
B55992901608DF7C0037448E /* ComposeViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ComposeViewController.h; sourceTree = "<group>"; };
@@ -77,19 +76,20 @@
B55992BC1608E7CF0037448E /* SystemConfiguration.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SystemConfiguration.framework; path = System/Library/Frameworks/SystemConfiguration.framework; sourceTree = SDKROOT; };
B55992BE1608E7D60037448E /* MobileCoreServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MobileCoreServices.framework; path = System/Library/Frameworks/MobileCoreServices.framework; sourceTree = SDKROOT; };
B55992C01608E7E40037448E /* libz.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libz.dylib; path = usr/lib/libz.dylib; sourceTree = SDKROOT; };
+ B5E35EEA1632EEAD00947A19 /* WeiboSDK.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = WeiboSDK.xcodeproj; path = ../sdk/WeiboSDK.xcodeproj; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
B559925E1608DE9D0037448E /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
+ B5E35F451632F32600947A19 /* libWeiboSDK.a in Frameworks */,
B55992C11608E7E40037448E /* libz.dylib in Frameworks */,
B559926A1608DE9D0037448E /* CoreGraphics.framework in Frameworks */,
B55992BF1608E7D60037448E /* MobileCoreServices.framework in Frameworks */,
B55992BD1608E7CF0037448E /* SystemConfiguration.framework in Frameworks */,
B55992BB1608E7C80037448E /* CFNetwork.framework in Frameworks */,
- B55992B91608E7A90037448E /* libWeiboSDK.a in Frameworks */,
B55992661608DE9D0037448E /* UIKit.framework in Frameworks */,
B55992681608DE9D0037448E /* Foundation.framework in Frameworks */,
);
@@ -101,7 +101,7 @@
B55992561608DE9D0037448E = {
isa = PBXGroup;
children = (
- B55992821608DEDD0037448E /* WeiboSDK.xcodeproj */,
+ B5E35EEA1632EEAD00947A19 /* WeiboSDK.xcodeproj */,
B55992951608DF7C0037448E /* Icon.png */,
B55992961608DF7C0037448E /* Icon@2x.png */,
B559926B1608DE9D0037448E /* Sample */,
@@ -159,14 +159,6 @@
name = "Supporting Files";
sourceTree = "<group>";
};
- B55992831608DEDD0037448E /* Products */ = {
- isa = PBXGroup;
- children = (
- B559928A1608DEDD0037448E /* libWeiboSDK.a */,
- );
- name = Products;
- sourceTree = "<group>";
- };
B559928D1608DF7C0037448E /* Controllers */ = {
isa = PBXGroup;
children = (
@@ -181,6 +173,14 @@
path = Controllers;
sourceTree = SOURCE_ROOT;
};
+ B5E35EEB1632EEAD00947A19 /* Products */ = {
+ isa = PBXGroup;
+ children = (
+ B5E35EF21632EEAD00947A19 /* libWeiboSDK.a */,
+ );
+ name = Products;
+ sourceTree = "<group>";
+ };
/* End PBXGroup section */
/* Begin PBXNativeTarget section */
@@ -195,7 +195,7 @@
buildRules = (
);
dependencies = (
- B559928C1608DF350037448E /* PBXTargetDependency */,
+ B5E35F471632F36B00947A19 /* PBXTargetDependency */,
);
name = Sample;
productName = Sample;
@@ -223,8 +223,8 @@
projectDirPath = "";
projectReferences = (
{
- ProductGroup = B55992831608DEDD0037448E /* Products */;
- ProjectRef = B55992821608DEDD0037448E /* WeiboSDK.xcodeproj */;
+ ProductGroup = B5E35EEB1632EEAD00947A19 /* Products */;
+ ProjectRef = B5E35EEA1632EEAD00947A19 /* WeiboSDK.xcodeproj */;
},
);
projectRoot = "";
@@ -235,11 +235,11 @@
/* End PBXProject section */
/* Begin PBXReferenceProxy section */
- B559928A1608DEDD0037448E /* libWeiboSDK.a */ = {
+ B5E35EF21632EEAD00947A19 /* libWeiboSDK.a */ = {
isa = PBXReferenceProxy;
fileType = archive.ar;
path = libWeiboSDK.a;
- remoteRef = B55992891608DEDD0037448E /* PBXContainerItemProxy */;
+ remoteRef = B5E35EF11632EEAD00947A19 /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
/* End PBXReferenceProxy section */
@@ -278,10 +278,10 @@
/* End PBXSourcesBuildPhase section */
/* Begin PBXTargetDependency section */
- B559928C1608DF350037448E /* PBXTargetDependency */ = {
+ B5E35F471632F36B00947A19 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
name = WeiboSDK;
- targetProxy = B559928B1608DF350037448E /* PBXContainerItemProxy */;
+ targetProxy = B5E35F461632F36B00947A19 /* PBXContainerItemProxy */;
};
/* End PBXTargetDependency section */
@@ -320,6 +320,7 @@
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 6.0;
SDKROOT = iphoneos;
+ USER_HEADER_SEARCH_PATHS = "";
};
name = Debug;
};
@@ -340,6 +341,7 @@
IPHONEOS_DEPLOYMENT_TARGET = 6.0;
OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1";
SDKROOT = iphoneos;
+ USER_HEADER_SEARCH_PATHS = "";
VALIDATE_PRODUCT = YES;
};
name = Release;
@@ -355,6 +357,7 @@
"-all_load",
);
PRODUCT_NAME = "$(TARGET_NAME)";
+ USER_HEADER_SEARCH_PATHS = "";
WRAPPER_EXTENSION = app;
};
name = Debug;
@@ -370,6 +373,7 @@
"-all_load",
);
PRODUCT_NAME = "$(TARGET_NAME)";
+ USER_HEADER_SEARCH_PATHS = "";
WRAPPER_EXTENSION = app;
};
name = Release;
@@ -0,0 +1,17 @@
+//
+// AccountsViewController.h
+// ZhiWeiboPhone
+//
+// Created by junmin liu on 12-8-20.
+// Copyright (c) 2012年 idfsoft. All rights reserved.
+//
+
+#import <UIKit/UIKit.h>
+#import "WeiboSignIn.h"
+#import "WeiboAccounts.h"
+
+@interface AccountsViewController : UITableViewController<WeiboSignInDelegate> {
+ WeiboSignIn *_weiboSignIn;
+}
+
+@end
Oops, something went wrong.

0 comments on commit b73a3fc

Please sign in to comment.