Permalink
Browse files

Initial commit for Flight

  • Loading branch information...
romainhuet committed Oct 22, 2014
0 parents commit 1a572948656313274a340b9f9773c26c4c1d21c7
Showing with 10,345 additions and 0 deletions.
  1. +19 −0 .gitignore
  2. +3 −0 .travis.yml
  3. +67 −0 CONTRIBUTING.md
  4. +588 −0 Cannonball.xcodeproj/project.pbxproj
  5. +7 −0 Cannonball.xcodeproj/project.xcworkspace/contents.xcworkspacedata
  6. +110 −0 Cannonball.xcodeproj/xcshareddata/xcschemes/Cannonball.xcscheme
  7. +72 −0 Cannonball/AboutViewController.swift
  8. +45 −0 Cannonball/AppDelegate.swift
  9. +567 −0 Cannonball/Base.lproj/Main.storyboard
  10. +36 −0 Cannonball/ColorConstants.swift
  11. +138 −0 Cannonball/CountdownView.swift
  12. +52 −0 Cannonball/ImageCarouselCollectionViewCell.swift
  13. +104 −0 Cannonball/ImageCarouselView.swift
  14. +30 −0 Cannonball/Images.xcassets/AppIcon.appiconset/Contents.json
  15. BIN Cannonball/Images.xcassets/AppIcon.appiconset/Icon@2x.png
  16. BIN Cannonball/Images.xcassets/AppIcon.appiconset/Icon@3x.png
  17. +23 −0 Cannonball/Images.xcassets/Fabric.imageset/Contents.json
  18. BIN Cannonball/Images.xcassets/Fabric.imageset/Fabric.png
  19. BIN Cannonball/Images.xcassets/Fabric.imageset/Fabric@2x.png
  20. BIN Cannonball/Images.xcassets/Fabric.imageset/Fabric@3x.png
  21. +23 −0 Cannonball/Images.xcassets/Icons/Back.imageset/Contents.json
  22. BIN Cannonball/Images.xcassets/Icons/Back.imageset/Icon-Back.png
  23. BIN Cannonball/Images.xcassets/Icons/Back.imageset/Icon-Back@2x.png
  24. BIN Cannonball/Images.xcassets/Icons/Back.imageset/Icon-Back@3x.png
  25. +23 −0 Cannonball/Images.xcassets/Icons/Delete.imageset/Contents.json
  26. BIN Cannonball/Images.xcassets/Icons/Delete.imageset/Icon-Delete.png
  27. BIN Cannonball/Images.xcassets/Icons/Delete.imageset/Icon-Delete@2x.png
  28. BIN Cannonball/Images.xcassets/Icons/Delete.imageset/Icon-Delete@3x.png
  29. +23 −0 Cannonball/Images.xcassets/Icons/History.imageset/Contents.json
  30. BIN Cannonball/Images.xcassets/Icons/History.imageset/Icon-History.png
  31. BIN Cannonball/Images.xcassets/Icons/History.imageset/Icon-History@2x.png
  32. BIN Cannonball/Images.xcassets/Icons/History.imageset/Icon-History@3x.png
  33. +23 −0 Cannonball/Images.xcassets/Icons/Phone.imageset/Contents.json
  34. BIN Cannonball/Images.xcassets/Icons/Phone.imageset/Icon-Phone.png
  35. BIN Cannonball/Images.xcassets/Icons/Phone.imageset/Icon-Phone@2x.png
  36. BIN Cannonball/Images.xcassets/Icons/Phone.imageset/Icon-Phone@3x.png
  37. +23 −0 Cannonball/Images.xcassets/Icons/Popular.imageset/Contents.json
  38. BIN Cannonball/Images.xcassets/Icons/Popular.imageset/Icon-Popular.png
  39. BIN Cannonball/Images.xcassets/Icons/Popular.imageset/Icon-Popular@2x.png
  40. BIN Cannonball/Images.xcassets/Icons/Popular.imageset/Icon-Popular@3x.png
  41. +23 −0 Cannonball/Images.xcassets/Icons/Redo.imageset/Contents.json
  42. BIN Cannonball/Images.xcassets/Icons/Redo.imageset/Icon-Redo.png
  43. BIN Cannonball/Images.xcassets/Icons/Redo.imageset/Icon-Redo@2x.png
  44. BIN Cannonball/Images.xcassets/Icons/Redo.imageset/Icon-Redo@3x.png
  45. +23 −0 Cannonball/Images.xcassets/Icons/Share.imageset/Contents.json
  46. BIN Cannonball/Images.xcassets/Icons/Share.imageset/Icon-Share.png
  47. BIN Cannonball/Images.xcassets/Icons/Share.imageset/Icon-Share@2x.png
  48. BIN Cannonball/Images.xcassets/Icons/Share.imageset/Icon-Share@3x.png
  49. +23 −0 Cannonball/Images.xcassets/Icons/Tick.imageset/Contents.json
  50. BIN Cannonball/Images.xcassets/Icons/Tick.imageset/Icon-Tick.png
  51. BIN Cannonball/Images.xcassets/Icons/Tick.imageset/Icon-Tick@2x.png
  52. BIN Cannonball/Images.xcassets/Icons/Tick.imageset/Icon-Tick@3x.png
  53. +23 −0 Cannonball/Images.xcassets/Icons/Twitter.imageset/Contents.json
  54. BIN Cannonball/Images.xcassets/Icons/Twitter.imageset/Icon-Twitter.png
  55. BIN Cannonball/Images.xcassets/Icons/Twitter.imageset/Icon-Twitter@2x.png
  56. BIN Cannonball/Images.xcassets/Icons/Twitter.imageset/Icon-Twitter@3x.png
  57. +43 −0 Cannonball/Images.xcassets/LaunchImage.launchimage/Contents.json
  58. BIN Cannonball/Images.xcassets/LaunchImage.launchimage/Default-1136h.png
  59. BIN Cannonball/Images.xcassets/LaunchImage.launchimage/Default-1334h.png
  60. BIN Cannonball/Images.xcassets/LaunchImage.launchimage/Default-2208h.png
  61. BIN Cannonball/Images.xcassets/LaunchImage.launchimage/Default-960h.png
  62. +23 −0 Cannonball/Images.xcassets/Logo.imageset/Contents.json
  63. BIN Cannonball/Images.xcassets/Logo.imageset/Logo.png
  64. BIN Cannonball/Images.xcassets/Logo.imageset/Logo@2x.png
  65. BIN Cannonball/Images.xcassets/Logo.imageset/Logo@3x.png
  66. BIN Cannonball/Images.xcassets/Themes/Adventure/Adventure-01.imageset/Adventure-01.jpg
  67. +21 −0 Cannonball/Images.xcassets/Themes/Adventure/Adventure-01.imageset/Contents.json
  68. BIN Cannonball/Images.xcassets/Themes/Adventure/Adventure-02.imageset/Adventure-02.jpg
  69. +21 −0 Cannonball/Images.xcassets/Themes/Adventure/Adventure-02.imageset/Contents.json
  70. BIN Cannonball/Images.xcassets/Themes/Adventure/Adventure-03.imageset/Adventure-03.jpg
  71. +21 −0 Cannonball/Images.xcassets/Themes/Adventure/Adventure-03.imageset/Contents.json
  72. BIN Cannonball/Images.xcassets/Themes/Adventure/Adventure-04.imageset/Adventure-04.jpg
  73. +21 −0 Cannonball/Images.xcassets/Themes/Adventure/Adventure-04.imageset/Contents.json
  74. BIN Cannonball/Images.xcassets/Themes/Adventure/Adventure-05.imageset/Adventure-05.jpg
  75. +21 −0 Cannonball/Images.xcassets/Themes/Adventure/Adventure-05.imageset/Contents.json
  76. BIN Cannonball/Images.xcassets/Themes/Adventure/Adventure-06.imageset/Adventure-06.jpg
  77. +21 −0 Cannonball/Images.xcassets/Themes/Adventure/Adventure-06.imageset/Contents.json
  78. +21 −0 Cannonball/Images.xcassets/Themes/Mystery/Mystery-01.imageset/Contents.json
  79. BIN Cannonball/Images.xcassets/Themes/Mystery/Mystery-01.imageset/Mystery-01.jpg
  80. +21 −0 Cannonball/Images.xcassets/Themes/Mystery/Mystery-02.imageset/Contents.json
  81. BIN Cannonball/Images.xcassets/Themes/Mystery/Mystery-02.imageset/Mystery-02.jpg
  82. +21 −0 Cannonball/Images.xcassets/Themes/Mystery/Mystery-03.imageset/Contents.json
  83. BIN Cannonball/Images.xcassets/Themes/Mystery/Mystery-03.imageset/Mystery-03.jpg
  84. +21 −0 Cannonball/Images.xcassets/Themes/Mystery/Mystery-04.imageset/Contents.json
  85. BIN Cannonball/Images.xcassets/Themes/Mystery/Mystery-04.imageset/Mystery-04.jpg
  86. +21 −0 Cannonball/Images.xcassets/Themes/Mystery/Mystery-05.imageset/Contents.json
  87. BIN Cannonball/Images.xcassets/Themes/Mystery/Mystery-05.imageset/Mystery-05.jpg
  88. +21 −0 Cannonball/Images.xcassets/Themes/Mystery/Mystery-06.imageset/Contents.json
  89. BIN Cannonball/Images.xcassets/Themes/Mystery/Mystery-06.imageset/Mystery-06.jpg
  90. +21 −0 Cannonball/Images.xcassets/Themes/Nature/Nature-01.imageset/Contents.json
  91. BIN Cannonball/Images.xcassets/Themes/Nature/Nature-01.imageset/Nature-01.jpg
  92. +21 −0 Cannonball/Images.xcassets/Themes/Nature/Nature-02.imageset/Contents.json
  93. BIN Cannonball/Images.xcassets/Themes/Nature/Nature-02.imageset/Nature-02.jpg
  94. +21 −0 Cannonball/Images.xcassets/Themes/Nature/Nature-03.imageset/Contents.json
  95. BIN Cannonball/Images.xcassets/Themes/Nature/Nature-03.imageset/Nature-03.jpg
  96. +21 −0 Cannonball/Images.xcassets/Themes/Nature/Nature-04.imageset/Contents.json
  97. BIN Cannonball/Images.xcassets/Themes/Nature/Nature-04.imageset/Nature-04.jpg
  98. +21 −0 Cannonball/Images.xcassets/Themes/Nature/Nature-05.imageset/Contents.json
  99. BIN Cannonball/Images.xcassets/Themes/Nature/Nature-05.imageset/Nature-05.jpg
  100. +21 −0 Cannonball/Images.xcassets/Themes/Nature/Nature-06.imageset/Contents.json
  101. BIN Cannonball/Images.xcassets/Themes/Nature/Nature-06.imageset/Nature-06.jpg
  102. +21 −0 Cannonball/Images.xcassets/Themes/Romance/Romance-01.imageset/Contents.json
  103. BIN Cannonball/Images.xcassets/Themes/Romance/Romance-01.imageset/Romance-01.jpg
  104. +21 −0 Cannonball/Images.xcassets/Themes/Romance/Romance-02.imageset/Contents.json
  105. BIN Cannonball/Images.xcassets/Themes/Romance/Romance-02.imageset/Romance-02.jpg
  106. +21 −0 Cannonball/Images.xcassets/Themes/Romance/Romance-03.imageset/Contents.json
  107. BIN Cannonball/Images.xcassets/Themes/Romance/Romance-03.imageset/Romance-03.jpg
  108. +21 −0 Cannonball/Images.xcassets/Themes/Romance/Romance-04.imageset/Contents.json
  109. BIN Cannonball/Images.xcassets/Themes/Romance/Romance-04.imageset/Romance-04.jpg
  110. +21 −0 Cannonball/Images.xcassets/Themes/Romance/Romance-05.imageset/Contents.json
  111. BIN Cannonball/Images.xcassets/Themes/Romance/Romance-05.imageset/Romance-05.jpg
  112. +21 −0 Cannonball/Images.xcassets/Themes/Romance/Romance-06.imageset/Contents.json
  113. BIN Cannonball/Images.xcassets/Themes/Romance/Romance-06.imageset/Romance-06.jpg
  114. +42 −0 Cannonball/Info.plist
  115. +66 −0 Cannonball/NativeAdCell.swift
  116. +165 −0 Cannonball/NativeAdCell.xib
  117. +101 −0 Cannonball/Poem.swift
  118. +90 −0 Cannonball/PoemCell.swift
  119. +343 −0 Cannonball/PoemComposerViewController.swift
  120. +25 −0 Cannonball/PoemComposerWordCell.swift
  121. +145 −0 Cannonball/PoemHistoryViewController.swift
  122. +67 −0 Cannonball/PoemPersistence.swift
  123. +82 −0 Cannonball/PoemTweetSearch.swift
  124. +22 −0 Cannonball/Resources/Themes.json
  125. +81 −0 Cannonball/SignInViewController.swift
  126. +73 −0 Cannonball/Theme.swift
  127. +54 −0 Cannonball/ThemeCell.swift
  128. +143 −0 Cannonball/ThemeChooserViewController.swift
  129. +157 −0 Cannonball/TweetListViewController.swift
  130. +44 −0 CannonballTests/CannonballTests.swift
  131. +24 −0 CannonballTests/Info.plist
  132. +49 −0 CannonballTests/PoemPersistenceTests.swift
  133. +1 −0 Crashlytics.framework/Crashlytics
  134. +1 −0 Crashlytics.framework/Headers
  135. +1 −0 Crashlytics.framework/Modules
  136. +1 −0 Crashlytics.framework/Resources
  137. BIN Crashlytics.framework/Versions/A/Crashlytics
  138. +225 −0 Crashlytics.framework/Versions/A/Headers/Crashlytics.h
  139. +6 −0 Crashlytics.framework/Versions/A/Modules/module.modulemap
  140. +30 −0 Crashlytics.framework/Versions/A/Resources/Info.plist
  141. +1 −0 Crashlytics.framework/Versions/Current
  142. +1 −0 Fabric.framework/Fabric
  143. +1 −0 Fabric.framework/Headers
  144. +1 −0 Fabric.framework/Modules
  145. +1 −0 Fabric.framework/Resources
  146. BIN Fabric.framework/Versions/A/Fabric
  147. +67 −0 Fabric.framework/Versions/A/Headers/Fabric.h
  148. +6 −0 Fabric.framework/Versions/A/Modules/module.modulemap
  149. +30 −0 Fabric.framework/Versions/A/Resources/Info.plist
  150. +1 −0 Fabric.framework/Versions/Current
  151. BIN Fabric.framework/run
  152. +202 −0 LICENSE
  153. +1 −0 MoPub.framework/Headers
  154. +1 −0 MoPub.framework/MoPub
  155. +1 −0 MoPub.framework/Modules
  156. +1 −0 MoPub.framework/Resources
  157. +59 −0 MoPub.framework/Versions/A/Headers/MPAdConversionTracker.h
  158. +15 −0 MoPub.framework/Versions/A/Headers/MPAdPositioning.h
  159. +369 −0 MoPub.framework/Versions/A/Headers/MPAdView.h
  160. +93 −0 MoPub.framework/Versions/A/Headers/MPBannerCustomEvent.h
  161. +135 −0 MoPub.framework/Versions/A/Headers/MPBannerCustomEventDelegate.h
  162. +64 −0 MoPub.framework/Versions/A/Headers/MPClientAdPositioning.h
  163. +357 −0 MoPub.framework/Versions/A/Headers/MPCollectionViewAdPlacer.h
  164. +32 −0 MoPub.framework/Versions/A/Headers/MPConstants.h
  165. +288 −0 MoPub.framework/Versions/A/Headers/MPInterstitialAdController.h
  166. +86 −0 MoPub.framework/Versions/A/Headers/MPInterstitialCustomEvent.h
  167. +183 −0 MoPub.framework/Versions/A/Headers/MPInterstitialCustomEventDelegate.h
  168. +210 −0 MoPub.framework/Versions/A/Headers/MPNativeAd.h
  169. +183 −0 MoPub.framework/Versions/A/Headers/MPNativeAdAdapter.h
  170. +21 −0 MoPub.framework/Versions/A/Headers/MPNativeAdConstants.h
  171. +21 −0 MoPub.framework/Versions/A/Headers/MPNativeAdError.h
  172. +54 −0 MoPub.framework/Versions/A/Headers/MPNativeAdRendering.h
  173. +57 −0 MoPub.framework/Versions/A/Headers/MPNativeAdRequest.h
  174. +54 −0 MoPub.framework/Versions/A/Headers/MPNativeAdRequestTargeting.h
  175. +20 −0 MoPub.framework/Versions/A/Headers/MPNativeAdSampleTableViewCell.h
  176. +19 −0 MoPub.framework/Versions/A/Headers/MPNativeAdSampleView.h
  177. +69 −0 MoPub.framework/Versions/A/Headers/MPNativeCustomEvent.h
  178. +36 −0 MoPub.framework/Versions/A/Headers/MPNativeCustomEventDelegate.h
  179. +38 −0 MoPub.framework/Versions/A/Headers/MPServerAdPositioning.h
  180. +48 −0 MoPub.framework/Versions/A/Headers/MPTableViewAdManager.h
  181. +399 −0 MoPub.framework/Versions/A/Headers/MPTableViewAdPlacer.h
  182. +56 −0 MoPub.framework/Versions/A/Headers/MoPub.h
  183. BIN MoPub.framework/Versions/A/MoPub
  184. +6 −0 MoPub.framework/Versions/A/Modules/module.modulemap
  185. +29 −0 MoPub.framework/Versions/A/Resources/Info.plist
  186. BIN MoPub.framework/Versions/A/Resources/MoPub.bundle/Info.plist
  187. BIN MoPub.framework/Versions/A/Resources/MoPub.bundle/MPAdBrowserController.nib
  188. BIN MoPub.framework/Versions/A/Resources/MoPub.bundle/MPCloseButtonX.png
  189. BIN MoPub.framework/Versions/A/Resources/MoPub.bundle/MPCloseButtonX@2x.png
  190. +763 −0 MoPub.framework/Versions/A/Resources/MoPub.bundle/mraid.js
  191. +1 −0 MoPub.framework/Versions/Current
  192. +43 −0 README.md
  193. +1 −0 TwitterKit.framework/Headers
  194. +1 −0 TwitterKit.framework/Modules
  195. +1 −0 TwitterKit.framework/Resources
  196. +1 −0 TwitterKit.framework/TwitterKit
  197. +25 −0 TwitterKit.framework/Versions/A/Headers/DGTAuthenticateButton.h
  198. +20 −0 TwitterKit.framework/Versions/A/Headers/DGTConstants.h
  199. +56 −0 TwitterKit.framework/Versions/A/Headers/DGTSession.h
  200. +55 −0 TwitterKit.framework/Versions/A/Headers/Digits.h
  201. +119 −0 TwitterKit.framework/Versions/A/Headers/TWTRAPIClient.h
  202. +138 −0 TwitterKit.framework/Versions/A/Headers/TWTRAPIErrorCode.h
  203. +69 −0 TwitterKit.framework/Versions/A/Headers/TWTRComposer.h
  204. +75 −0 TwitterKit.framework/Versions/A/Headers/TWTRConstants.h
  205. +28 −0 TwitterKit.framework/Versions/A/Headers/TWTRLogInButton.h
  206. +117 −0 TwitterKit.framework/Versions/A/Headers/TWTRSession.h
  207. +37 −0 TwitterKit.framework/Versions/A/Headers/TWTRShareEmailViewController.h
  208. +114 −0 TwitterKit.framework/Versions/A/Headers/TWTRTweet.h
  209. +36 −0 TwitterKit.framework/Versions/A/Headers/TWTRTweetTableViewCell.h
  210. +172 −0 TwitterKit.framework/Versions/A/Headers/TWTRTweetView.h
  211. +65 −0 TwitterKit.framework/Versions/A/Headers/TWTRTweetViewDelegate.h
  212. +85 −0 TwitterKit.framework/Versions/A/Headers/TWTRUser.h
  213. +119 −0 TwitterKit.framework/Versions/A/Headers/Twitter.h
  214. +38 −0 TwitterKit.framework/Versions/A/Headers/TwitterKit.h
  215. +6 −0 TwitterKit.framework/Versions/A/Modules/module.modulemap
  216. +29 −0 TwitterKit.framework/Versions/A/Resources/Info.plist
  217. BIN ...rsions/A/Resources/TwitterKitResources.bundle/DigitsResources.bundle/ar.lproj/Localizable.strings
  218. BIN ...rsions/A/Resources/TwitterKitResources.bundle/DigitsResources.bundle/da.lproj/Localizable.strings
  219. BIN ...rsions/A/Resources/TwitterKitResources.bundle/DigitsResources.bundle/de.lproj/Localizable.strings
  220. +1 −0 ...ons/A/Resources/TwitterKitResources.bundle/DigitsResources.bundle/en-gb.lproj/Localizable.strings
  221. +86 −0 ...rsions/A/Resources/TwitterKitResources.bundle/DigitsResources.bundle/en.lproj/Localizable.strings
  222. BIN ...rsions/A/Resources/TwitterKitResources.bundle/DigitsResources.bundle/es.lproj/Localizable.strings
  223. BIN ...rsions/A/Resources/TwitterKitResources.bundle/DigitsResources.bundle/fa.lproj/Localizable.strings
  224. BIN ...rsions/A/Resources/TwitterKitResources.bundle/DigitsResources.bundle/fi.lproj/Localizable.strings
  225. BIN ...rsions/A/Resources/TwitterKitResources.bundle/DigitsResources.bundle/fr.lproj/Localizable.strings
  226. BIN ...rsions/A/Resources/TwitterKitResources.bundle/DigitsResources.bundle/he.lproj/Localizable.strings
  227. BIN ...rsions/A/Resources/TwitterKitResources.bundle/DigitsResources.bundle/hi.lproj/Localizable.strings
  228. BIN ...rsions/A/Resources/TwitterKitResources.bundle/DigitsResources.bundle/hu.lproj/Localizable.strings
  229. BIN ...rsions/A/Resources/TwitterKitResources.bundle/DigitsResources.bundle/id.lproj/Localizable.strings
  230. BIN ...rsions/A/Resources/TwitterKitResources.bundle/DigitsResources.bundle/it.lproj/Localizable.strings
  231. BIN ...rsions/A/Resources/TwitterKitResources.bundle/DigitsResources.bundle/ja.lproj/Localizable.strings
  232. BIN ...rsions/A/Resources/TwitterKitResources.bundle/DigitsResources.bundle/ko.lproj/Localizable.strings
  233. BIN ...rsions/A/Resources/TwitterKitResources.bundle/DigitsResources.bundle/ms.lproj/Localizable.strings
  234. BIN ...rsions/A/Resources/TwitterKitResources.bundle/DigitsResources.bundle/nb.lproj/Localizable.strings
  235. BIN ...rsions/A/Resources/TwitterKitResources.bundle/DigitsResources.bundle/nl.lproj/Localizable.strings
  236. BIN ...rsions/A/Resources/TwitterKitResources.bundle/DigitsResources.bundle/pl.lproj/Localizable.strings
  237. BIN ...rsions/A/Resources/TwitterKitResources.bundle/DigitsResources.bundle/pt.lproj/Localizable.strings
  238. BIN ...rsions/A/Resources/TwitterKitResources.bundle/DigitsResources.bundle/ru.lproj/Localizable.strings
  239. BIN ...rsions/A/Resources/TwitterKitResources.bundle/DigitsResources.bundle/sv.lproj/Localizable.strings
  240. BIN ...rsions/A/Resources/TwitterKitResources.bundle/DigitsResources.bundle/th.lproj/Localizable.strings
  241. BIN ...rsions/A/Resources/TwitterKitResources.bundle/DigitsResources.bundle/tl.lproj/Localizable.strings
  242. BIN ...rsions/A/Resources/TwitterKitResources.bundle/DigitsResources.bundle/tr.lproj/Localizable.strings
  243. BIN ...framework/Versions/A/Resources/TwitterKitResources.bundle/DigitsResources.bundle/unable-phone.png
  244. BIN ...mework/Versions/A/Resources/TwitterKitResources.bundle/DigitsResources.bundle/unable-phone@2x.png
  245. BIN ...mework/Versions/A/Resources/TwitterKitResources.bundle/DigitsResources.bundle/unable-phone@3x.png
  246. BIN ...rsions/A/Resources/TwitterKitResources.bundle/DigitsResources.bundle/ur.lproj/Localizable.strings
  247. BIN ...s/A/Resources/TwitterKitResources.bundle/DigitsResources.bundle/zh-Hans.lproj/Localizable.strings
  248. BIN ...s/A/Resources/TwitterKitResources.bundle/DigitsResources.bundle/zh-Hant.lproj/Localizable.strings
  249. BIN TwitterKit.framework/Versions/A/Resources/TwitterKitResources.bundle/ar.lproj/Localizable.strings
  250. BIN TwitterKit.framework/Versions/A/Resources/TwitterKitResources.bundle/da.lproj/Localizable.strings
  251. BIN TwitterKit.framework/Versions/A/Resources/TwitterKitResources.bundle/de.lproj/Localizable.strings
  252. BIN TwitterKit.framework/Versions/A/Resources/TwitterKitResources.bundle/emailshare.png
  253. BIN TwitterKit.framework/Versions/A/Resources/TwitterKitResources.bundle/emailshare@2x.png
  254. BIN TwitterKit.framework/Versions/A/Resources/TwitterKitResources.bundle/emailshare@3x.png
  255. BIN TwitterKit.framework/Versions/A/Resources/TwitterKitResources.bundle/en-gb.lproj/Localizable.strings
  256. +51 −0 TwitterKit.framework/Versions/A/Resources/TwitterKitResources.bundle/en.lproj/Localizable.strings
  257. BIN TwitterKit.framework/Versions/A/Resources/TwitterKitResources.bundle/es.lproj/Localizable.strings
  258. BIN TwitterKit.framework/Versions/A/Resources/TwitterKitResources.bundle/fa.lproj/Localizable.strings
  259. BIN TwitterKit.framework/Versions/A/Resources/TwitterKitResources.bundle/fi.lproj/Localizable.strings
  260. BIN TwitterKit.framework/Versions/A/Resources/TwitterKitResources.bundle/fr.lproj/Localizable.strings
  261. BIN TwitterKit.framework/Versions/A/Resources/TwitterKitResources.bundle/he.lproj/Localizable.strings
  262. BIN TwitterKit.framework/Versions/A/Resources/TwitterKitResources.bundle/hi.lproj/Localizable.strings
  263. BIN TwitterKit.framework/Versions/A/Resources/TwitterKitResources.bundle/hu.lproj/Localizable.strings
  264. BIN TwitterKit.framework/Versions/A/Resources/TwitterKitResources.bundle/id.lproj/Localizable.strings
  265. BIN TwitterKit.framework/Versions/A/Resources/TwitterKitResources.bundle/it.lproj/Localizable.strings
  266. BIN TwitterKit.framework/Versions/A/Resources/TwitterKitResources.bundle/ja.lproj/Localizable.strings
  267. BIN TwitterKit.framework/Versions/A/Resources/TwitterKitResources.bundle/ko.lproj/Localizable.strings
  268. BIN TwitterKit.framework/Versions/A/Resources/TwitterKitResources.bundle/ms.lproj/Localizable.strings
  269. BIN TwitterKit.framework/Versions/A/Resources/TwitterKitResources.bundle/nb.lproj/Localizable.strings
  270. BIN TwitterKit.framework/Versions/A/Resources/TwitterKitResources.bundle/nl.lproj/Localizable.strings
  271. BIN TwitterKit.framework/Versions/A/Resources/TwitterKitResources.bundle/pl.lproj/Localizable.strings
  272. BIN TwitterKit.framework/Versions/A/Resources/TwitterKitResources.bundle/pt.lproj/Localizable.strings
  273. BIN TwitterKit.framework/Versions/A/Resources/TwitterKitResources.bundle/ru.lproj/Localizable.strings
  274. BIN TwitterKit.framework/Versions/A/Resources/TwitterKitResources.bundle/sv.lproj/Localizable.strings
  275. BIN TwitterKit.framework/Versions/A/Resources/TwitterKitResources.bundle/th.lproj/Localizable.strings
  276. BIN TwitterKit.framework/Versions/A/Resources/TwitterKitResources.bundle/tl.lproj/Localizable.strings
  277. BIN TwitterKit.framework/Versions/A/Resources/TwitterKitResources.bundle/tr.lproj/Localizable.strings
  278. BIN TwitterKit.framework/Versions/A/Resources/TwitterKitResources.bundle/twttr-icn-logo-white.png
  279. BIN TwitterKit.framework/Versions/A/Resources/TwitterKitResources.bundle/twttr-icn-logo-white@2x.png
  280. BIN TwitterKit.framework/Versions/A/Resources/TwitterKitResources.bundle/twttr-icn-logo-white@3x.png
  281. BIN TwitterKit.framework/Versions/A/Resources/TwitterKitResources.bundle/twttr-icn-logo.png
  282. BIN TwitterKit.framework/Versions/A/Resources/TwitterKitResources.bundle/twttr-icn-logo@2x.png
  283. BIN TwitterKit.framework/Versions/A/Resources/TwitterKitResources.bundle/twttr-icn-logo@3x.png
  284. BIN ...work/Versions/A/Resources/TwitterKitResources.bundle/twttr-icn-tweet-place-holder-photo-error.png
  285. BIN ...k/Versions/A/Resources/TwitterKitResources.bundle/twttr-icn-tweet-place-holder-photo-error@2x.png
  286. BIN ...k/Versions/A/Resources/TwitterKitResources.bundle/twttr-icn-tweet-place-holder-photo-error@3x.png
  287. BIN ....framework/Versions/A/Resources/TwitterKitResources.bundle/twttr-icn-tweet-place-holder-photo.png
  288. BIN ...amework/Versions/A/Resources/TwitterKitResources.bundle/twttr-icn-tweet-place-holder-photo@2x.png
  289. BIN ...amework/Versions/A/Resources/TwitterKitResources.bundle/twttr-icn-tweet-place-holder-photo@3x.png
  290. BIN ...it.framework/Versions/A/Resources/TwitterKitResources.bundle/twttr-icn-tweet-verified-pressed.png
  291. BIN ...framework/Versions/A/Resources/TwitterKitResources.bundle/twttr-icn-tweet-verified-pressed@2x.png
  292. BIN ...framework/Versions/A/Resources/TwitterKitResources.bundle/twttr-icn-tweet-verified-pressed@3x.png
  293. BIN TwitterKit.framework/Versions/A/Resources/TwitterKitResources.bundle/twttr-icn-tweet-verified.png
  294. BIN TwitterKit.framework/Versions/A/Resources/TwitterKitResources.bundle/twttr-icn-tweet-verified@2x.png
  295. BIN TwitterKit.framework/Versions/A/Resources/TwitterKitResources.bundle/twttr-icn-tweet-verified@3x.png
  296. BIN TwitterKit.framework/Versions/A/Resources/TwitterKitResources.bundle/ur.lproj/Localizable.strings
  297. BIN ...erKit.framework/Versions/A/Resources/TwitterKitResources.bundle/zh-Hans.lproj/Localizable.strings
  298. BIN ...erKit.framework/Versions/A/Resources/TwitterKitResources.bundle/zh-Hant.lproj/Localizable.strings
  299. BIN TwitterKit.framework/Versions/A/TwitterKit
  300. +1 −0 TwitterKit.framework/Versions/Current
@@ -0,0 +1,19 @@
.DS_Store
# Xcode
build/
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata
*.xccheckout
*.moved-aside
DerivedData
*.hmap
*.ipa
*.xcuserstate
@@ -0,0 +1,3 @@
language: objective-c
xcode_project: Cannonball.xcodeproj
xcode_scheme: CannonballTests
@@ -0,0 +1,67 @@
# Contributing to Cannonball
Looking to contribute something to the hbc? Here's how you can help.
## Bugs reports
A bug is a _demonstrable problem_ that is caused by the code in the
repository. Good bug reports are extremely helpful - thank you!
Guidelines for bug reports:
1. **Use the GitHub issue search** — check if the issue has already been
reported.
2. **Check if the issue has been fixed** — try to reproduce it using the
latest `master` or development branch in the repository.
3. **Isolate the problem** — ideally create a reduced test
case and a live example.
4. Please try to be as detailed as possible in your report. Include specific
information about the environment - operating system and version, browser
and version, version of hbc - and steps required to reproduce the issue.
## Feature requests & contribution enquiries
Feature requests are welcome. But take a moment to find out whether your idea
fits with the scope and aims of the project. It's up to *you* to make a strong
case for the inclusion of your feature. Please provide as much detail and
context as possible.
Contribution enquiries should take place before any significant pull request,
otherwise you risk spending a lot of time working on something that we might
have good reasons for rejecting.
## Pull requests
Good pull requests - patches, improvements, new features - are a fantastic
help. They should remain focused in scope and avoid containing unrelated
commits.
Make sure to adhere to the coding conventions used throughout the codebase
(indentation, accurate comments, etc.) and any other requirements (such as test
coverage).
Please follow this process; it's the best way to get your work included in the
project:
1. Create a new topic branch to contain your feature, change, or fix:
2. Commit your changes in logical chunks. Provide clear and explanatory commit
messages. Use git's [interactive rebase](https://help.github.com/articles/interactive-rebase)
feature to tidy up your commits before making them public.
3. Locally merge (or rebase) the upstream development branch into your topic branch:
4. Push your topic branch up to your fork:
5. [Open a Pull Request](http://help.github.com/send-pull-requests/) with a
clear title and description.
## License
By contributing your code,
You agree to license your contribution under the terms of the Apache Public License 2.0
https://github.com/twitterdev/cannonball-ios/blob/master/LICENSE

Large diffs are not rendered by default.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -0,0 +1,110 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0600"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "92A47B12199FCE4D00EDF6A8"
BuildableName = "Cannonball.app"
BlueprintName = "Cannonball"
ReferencedContainer = "container:Cannonball.xcodeproj">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "NO"
buildForArchiving = "NO"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "92A47B24199FCE4E00EDF6A8"
BuildableName = "CannonballTests.xctest"
BlueprintName = "CannonballTests"
ReferencedContainer = "container:Cannonball.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
buildConfiguration = "Debug">
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "92A47B24199FCE4E00EDF6A8"
BuildableName = "CannonballTests.xctest"
BlueprintName = "CannonballTests"
ReferencedContainer = "container:Cannonball.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "92A47B12199FCE4D00EDF6A8"
BuildableName = "Cannonball.app"
BlueprintName = "Cannonball"
ReferencedContainer = "container:Cannonball.xcodeproj">
</BuildableReference>
</MacroExpansion>
</TestAction>
<LaunchAction
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
buildConfiguration = "Debug"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
allowLocationSimulation = "YES">
<BuildableProductRunnable>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "92A47B12199FCE4D00EDF6A8"
BuildableName = "Cannonball.app"
BlueprintName = "Cannonball"
ReferencedContainer = "container:Cannonball.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
buildConfiguration = "Release"
debugDocumentVersioning = "YES">
<BuildableProductRunnable>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "92A47B12199FCE4D00EDF6A8"
BuildableName = "Cannonball.app"
BlueprintName = "Cannonball"
ReferencedContainer = "container:Cannonball.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
@@ -0,0 +1,72 @@
//
// Copyright (C) 2014 Twitter, Inc. and other contributors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
import UIKit
import TwitterKit
class AboutViewController: UIViewController {
// MARK: References
@IBOutlet weak var signOutButton: UIButton!
var logoView: UIImageView!
// MARK: View Life Cycle
override func viewDidLoad() {
// Add the logo view to the top (not in the navigation bar title to have it bigger).
logoView = UIImageView(frame: CGRectMake(0, 0, 40, 40))
logoView.image = UIImage(named: "Logo")?.imageWithRenderingMode(.AlwaysTemplate)
logoView.tintColor = UIColor.cannonballGreenColor()
logoView.frame.origin.x = (self.view.frame.size.width - logoView.frame.size.width) / 2
logoView.frame.origin.y = 8
// Add the logo view to the navigation controller.
self.navigationController?.view.addSubview(logoView)
// Bring the logo view to the front.
self.navigationController?.view.bringSubviewToFront(logoView)
// Customize the navigation bar.
let titleDict: NSDictionary = [NSForegroundColorAttributeName: UIColor.cannonballGreenColor()]
self.navigationController?.navigationBar.titleTextAttributes = titleDict
self.navigationController?.navigationBar.setBackgroundImage(UIImage(), forBarMetrics: .Default)
self.navigationController?.navigationBar.shadowImage = UIImage()
}
// MARK: IBActions
@IBAction func dismiss(sender: AnyObject) {
self.dismissViewControllerAnimated(true, completion: nil)
}
@IBAction func learnMore(sender: AnyObject) {
UIApplication.sharedApplication().openURL(NSURL(string: "http://t.co/cannonball")!)
}
@IBAction func signOut(sender: AnyObject) {
// Remove any Twitter or Digits local sessions for this app.
Twitter.sharedInstance().logOut()
Digits.sharedInstance().logOut()
// Present the Sign In again.
let storyboard = UIStoryboard(name: "Main", bundle: nil)
let signInViewController: UIViewController! = storyboard.instantiateViewControllerWithIdentifier("SignInViewController") as UIViewController
self.presentViewController(signInViewController, animated: true, completion: nil)
}
}
@@ -0,0 +1,45 @@
//
// Copyright (C) 2014 Twitter, Inc. and other contributors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
import UIKit
import Fabric
import TwitterKit
import Crashlytics
import MoPub
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow?
func application(application: UIApplication!, didFinishLaunchingWithOptions launchOptions: NSDictionary!) -> Bool {
assert(NSBundle.mainBundle().objectForInfoDictionaryKey("Fabric") != nil, "Welcome to Cannonball. Please remember to onboard using the Fabric Mac app. Check the instructions in the README file.")
// Register Twitter, Crashlytics and MoPub with Fabric.
Fabric.with([Twitter(), Crashlytics(), MoPub()])
// Check if the user is logged in or not to present the sign in screen.
if Twitter.sharedInstance().session() == nil {
let storyboard = UIStoryboard(name: "Main", bundle: nil)
let signInViewController: AnyObject! = storyboard.instantiateViewControllerWithIdentifier("SignInViewController")
self.window?.rootViewController = signInViewController as? UIViewController
}
// Override point for customization after application launch.
return true
}
}
Oops, something went wrong.

0 comments on commit 1a57294

Please sign in to comment.