Skip to content

Commit 861e5f8

Browse files
committed
Merge branch 'release/1.0.0'
2 parents ebb3153 + 5e55edb commit 861e5f8

File tree

96 files changed

+5304
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

96 files changed

+5304
-1
lines changed

.gitignore

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# Xcode
2+
#
3+
# https://github.com/github/gitignore
4+
5+
## Build generated
6+
build/
7+
DerivedData
8+
9+
## Various settings
10+
*.pbxuser
11+
!default.pbxuser
12+
*.mode1v3
13+
!default.mode1v3
14+
*.mode2v3
15+
!default.mode2v3
16+
*.perspectivev3
17+
!default.perspectivev3
18+
xcuserdata
19+
20+
## Other
21+
*.xccheckout
22+
*.moved-aside
23+
*.xcuserstate
24+
*.xcscmblueprint
25+
test_output
26+
27+
## Obj-C/Swift specific
28+
*.hmap
29+
*.ipa
30+
31+
## CocoaPods
32+
Pods/
33+
34+
## Carthage
35+
Carthage/
36+
37+
## Production
38+
icook-tv-top-shelf-image.png
39+
keys/
40+
fabric.*

.ruby-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2.1.5

.travis.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
language: objective-c
2+
osx_image: xcode7.3
3+
cache:
4+
bundler: true
5+
directories:
6+
- vendor/bundle
7+
- Pods
8+
before_install:
9+
- export LANG=en_US.UTF-8
10+
install:
11+
- bundle install --without development --deployment --jobs=3 --retry=3
12+
- bundle exec pod install
13+
script:
14+
- bundle exec scan
15+
notifications:
16+
email: false
17+
slack:
18+
secure: H14oCUW/JfvUz2qtjccQU+1NK2Uq8GDlnXp0OnFTS0/U3wcrBJxjFI0ZdmseZ1JhHn27jvl+1B/xtRQeCxBExxdOnl7oATf4w1DP0E4pgrCRdTO6NJ+iASB6LbCPMj89wVGZysng5Glxjuh0Q2kbC1wXi1OHozhG9QasXIrcWRcImgZwN3JXeSKDCpbHLL2tfC9eBH8/1wqRCWxacWPlFeKCLBp/BIBvkvkD3NkiDrX4TdCWtPl08LmsPnAEkUYtCGNLONbVDEIUbzBsOyceNjQCqFd3kwWTeqr/iyqYLq0pBOz6/J2EPmbNe9tbyo+TcqUlaUOFfMSwEdgsPwrdVRu/6U6eOprhgG1PgOLlO3moO7k2I7/1s3yZZKvVe31ahMPHVS1FJNKFWuAp0+MsXeTKcM9QhqD0au+TW186dfqbLeKdbA7skIex4YoThw4JNQJee0Rgs5H6xxiuL3c8zgS+vIZ3/eBEoOpjBj4yjaL9c+Y1iL2MIvwTkiExZYZEqHxr3BWDwTMFOUI8UJ+ZXIZHvqjcipunUMCFmxoKHi/LKYVbGGHj9qCwKc2nLDLlGkkLiBDbfvvY70aVp3DWchSA10MlEIrYWlOeP3quRnkDcI1YTBirDIlGdo1y3nthGcPD/mPWXP8Xsm3Y9DAs47enNGHR2q4L8LwUkoDkfxY=

Brewfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
tap "caskroom/cask"
2+
3+
brew "xcproj"

Gemfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
source "http://rubygems.org"
2+
ruby "2.1.5"
3+
4+
gem "cocoapods", "~> 0.39.0"
5+
gem "cocoapods-keys"
6+
gem "scan"
7+
gem "travis"

Gemfile.lock

Lines changed: 153 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,153 @@
1+
GEM
2+
remote: http://rubygems.org/
3+
specs:
4+
RubyInline (3.12.4)
5+
ZenTest (~> 4.3)
6+
ZenTest (4.11.0)
7+
activesupport (4.2.6)
8+
i18n (~> 0.7)
9+
json (~> 1.7, >= 1.7.7)
10+
minitest (~> 5.1)
11+
thread_safe (~> 0.3, >= 0.3.4)
12+
tzinfo (~> 1.1)
13+
addressable (2.4.0)
14+
babosa (1.0.2)
15+
backports (3.6.8)
16+
claide (0.9.1)
17+
cocoapods (0.39.0)
18+
activesupport (>= 4.0.2)
19+
claide (~> 0.9.1)
20+
cocoapods-core (= 0.39.0)
21+
cocoapods-downloader (~> 0.9.3)
22+
cocoapods-plugins (~> 0.4.2)
23+
cocoapods-search (~> 0.1.0)
24+
cocoapods-stats (~> 0.6.2)
25+
cocoapods-trunk (~> 0.6.4)
26+
cocoapods-try (~> 0.5.1)
27+
colored (~> 1.2)
28+
escape (~> 0.0.4)
29+
molinillo (~> 0.4.0)
30+
nap (~> 1.0)
31+
xcodeproj (~> 0.28.2)
32+
cocoapods-core (0.39.0)
33+
activesupport (>= 4.0.2)
34+
fuzzy_match (~> 2.0.4)
35+
nap (~> 1.0)
36+
cocoapods-downloader (0.9.3)
37+
cocoapods-keys (1.6.1)
38+
dotenv
39+
osx_keychain
40+
cocoapods-plugins (0.4.2)
41+
nap
42+
cocoapods-search (0.1.0)
43+
cocoapods-stats (0.6.2)
44+
cocoapods-trunk (0.6.4)
45+
nap (>= 0.8, < 2.0)
46+
netrc (= 0.7.8)
47+
cocoapods-try (0.5.1)
48+
colored (1.2)
49+
commander (4.3.5)
50+
highline (~> 1.7.2)
51+
credentials_manager (0.16.0)
52+
colored
53+
commander (>= 4.3.5)
54+
highline (>= 1.7.1)
55+
security
56+
dotenv (2.1.1)
57+
escape (0.0.4)
58+
ethon (0.9.0)
59+
ffi (>= 1.3.0)
60+
excon (0.45.4)
61+
faraday (0.9.2)
62+
multipart-post (>= 1.2, < 3)
63+
faraday_middleware (0.10.0)
64+
faraday (>= 0.7.4, < 0.10)
65+
fastlane_core (0.43.1)
66+
babosa
67+
colored
68+
commander (= 4.3.5)
69+
credentials_manager (>= 0.16.0, < 1.0.0)
70+
excon (~> 0.45.0)
71+
highline (>= 1.7.2)
72+
json
73+
multi_json
74+
plist (~> 3.1)
75+
rubyzip (~> 1.1.6)
76+
sentry-raven (~> 0.15)
77+
terminal-table (~> 1.4.5)
78+
ffi (1.9.10)
79+
fuzzy_match (2.0.4)
80+
gh (0.14.0)
81+
addressable
82+
backports
83+
faraday (~> 0.8)
84+
multi_json (~> 1.0)
85+
net-http-persistent (>= 2.7)
86+
net-http-pipeline
87+
highline (1.7.8)
88+
i18n (0.7.0)
89+
json (1.8.3)
90+
launchy (2.4.3)
91+
addressable (~> 2.3)
92+
minitest (5.8.4)
93+
molinillo (0.4.5)
94+
multi_json (1.12.0)
95+
multipart-post (2.0.0)
96+
nap (1.1.0)
97+
net-http-persistent (2.9.4)
98+
net-http-pipeline (1.0.1)
99+
netrc (0.7.8)
100+
osx_keychain (1.0.1)
101+
RubyInline (~> 3)
102+
plist (3.2.0)
103+
pusher-client (0.6.2)
104+
json
105+
websocket (~> 1.0)
106+
rouge (1.10.1)
107+
rubyzip (1.1.7)
108+
scan (0.6.0)
109+
fastlane_core (>= 0.36.1, < 1.0.0)
110+
slack-notifier (~> 1.3)
111+
terminal-table
112+
xcpretty (>= 0.2.1)
113+
xcpretty-travis-formatter (>= 0.0.3)
114+
security (0.1.3)
115+
sentry-raven (0.15.6)
116+
faraday (>= 0.7.6)
117+
slack-notifier (1.5.1)
118+
terminal-table (1.4.5)
119+
thread_safe (0.3.5)
120+
travis (1.8.2)
121+
backports
122+
faraday (~> 0.9)
123+
faraday_middleware (~> 0.9, >= 0.9.1)
124+
gh (~> 0.13)
125+
highline (~> 1.6)
126+
launchy (~> 2.1)
127+
pusher-client (~> 0.4)
128+
typhoeus (~> 0.6, >= 0.6.8)
129+
typhoeus (0.8.0)
130+
ethon (>= 0.8.0)
131+
tzinfo (1.2.2)
132+
thread_safe (~> 0.1)
133+
websocket (1.2.3)
134+
xcodeproj (0.28.2)
135+
activesupport (>= 3)
136+
claide (~> 0.9.1)
137+
colored (~> 1.2)
138+
xcpretty (0.2.2)
139+
rouge (~> 1.8)
140+
xcpretty-travis-formatter (0.0.4)
141+
xcpretty (~> 0.2, >= 0.0.7)
142+
143+
PLATFORMS
144+
ruby
145+
146+
DEPENDENCIES
147+
cocoapods (~> 0.39.0)
148+
cocoapods-keys
149+
scan
150+
travis
151+
152+
BUNDLED WITH
153+
1.11.2

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
pod-install:
2+
bundle exec pod install --no-repo-update
3+
xcproj touch iCookTV.xcodeproj

Podfile

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
source "https://github.com/CocoaPods/Specs.git"
2+
source "https://github.com/bcylin/Specs.git"
3+
4+
platform :tvos, "9.0"
5+
use_frameworks!
6+
inhibit_all_warnings!
7+
8+
workspace "iCookTV"
9+
xcodeproj "iCookTV"
10+
11+
target :iCookTV do
12+
pod "Alamofire"
13+
pod "Crashlytics"
14+
pod "Fabric"
15+
pod "Freddy"
16+
pod "HCYoutubeParser"
17+
pod "Hue", git: "https://github.com/hyperoslo/Hue.git", commit: "89ae5e1"
18+
pod "Kingfisher"
19+
pod "TreasureData-tvOS-SDK", "0.1.14"
20+
end
21+
22+
target :iCookTVTests do
23+
pod "Nimble"
24+
pod "Quick"
25+
end
26+
27+
plugin "cocoapods-keys", {
28+
project: "iCookTV",
29+
keys: ["BaseAPIURL", "CrashlyticsAPIKey", "TreasureDataAPIKey"]
30+
}

Podfile.lock

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
PODS:
2+
- Alamofire (3.4.0)
3+
- Crashlytics (3.7.0):
4+
- Fabric (~> 1.6.3)
5+
- Fabric (1.6.7)
6+
- Freddy (2.1.0)
7+
- HCYoutubeParser (0.0.5)
8+
- Hue (1.1)
9+
- KeenClientTD (3.2.25)
10+
- Keys (1.0.0)
11+
- Kingfisher (2.4.0)
12+
- Nimble (4.0.1)
13+
- Quick (0.9.2)
14+
- TreasureData-tvOS-SDK (0.1.14):
15+
- KeenClientTD (= 3.2.25)
16+
17+
DEPENDENCIES:
18+
- Alamofire
19+
- Crashlytics
20+
- Fabric
21+
- Freddy
22+
- HCYoutubeParser
23+
- Hue (from `https://github.com/hyperoslo/Hue.git`, commit `89ae5e1`)
24+
- Keys (from `Pods/CocoaPodsKeys`)
25+
- Kingfisher
26+
- Nimble
27+
- Quick
28+
- TreasureData-tvOS-SDK (= 0.1.14)
29+
30+
EXTERNAL SOURCES:
31+
Hue:
32+
:commit: 89ae5e1
33+
:git: https://github.com/hyperoslo/Hue.git
34+
Keys:
35+
:path: Pods/CocoaPodsKeys
36+
37+
CHECKOUT OPTIONS:
38+
Hue:
39+
:commit: 89ae5e1
40+
:git: https://github.com/hyperoslo/Hue.git
41+
42+
SPEC CHECKSUMS:
43+
Alamofire: c19a627cefd6a95f840401c49ab1f124e07f54ee
44+
Crashlytics: c3a2333dea9e2733d2777f730910321fc9e25c0d
45+
Fabric: caf7580c725e64db144f610ac65cd60956911dc7
46+
Freddy: bbdca013977db29638b24baf6572ce94452bec29
47+
HCYoutubeParser: bc1db8c062e4b835eda381f2be2f9970f6a8d071
48+
Hue: c7d6a7206bac669ed69e78cc6c14a4d7bd28277c
49+
KeenClientTD: ffe8b9a67e71643f59a9fda7ce51941ed5c49a42
50+
Keys: 7d2ff6ff42f6903358267ce56e9392f83c31acfe
51+
Kingfisher: 9171a424ee7f8031f518f649bb850d1eab541247
52+
Nimble: 0f3c8b8b084cda391209c3c5efbb48bedeeb920a
53+
Quick: 18d057bc66451eedd5d1c8dc99ba2a5db6e60226
54+
TreasureData-tvOS-SDK: 18c6a68471e6df592ed5c50bf2c07507ee6e3b77
55+
56+
COCOAPODS: 0.39.0

README.md

Lines changed: 66 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,66 @@
1-
# Try-tvOS
1+
# iCook tvOS App
2+
3+
[![Build Status](https://travis-ci.org/polydice/iCook-tvOS.svg)](https://travis-ci.org/polydice/iCook-tvOS)
4+
![Swift 2.2](https://img.shields.io/badge/Swift-2.2-orange.svg)
5+
6+
A tvOS app that plays [iCook TV](https://tv.icook.tw/) videos.
7+
8+
## Setup
9+
10+
Install required dependencies using [Homebrew](http://brew.sh/) and [Bundler](http://bundler.io/):
11+
12+
```
13+
brew tap homebrew/bundle
14+
brew bundle
15+
```
16+
```
17+
bundle install
18+
bundle exec pod install
19+
```
20+
21+
### API
22+
23+
`pod install` will prompt for the `BaseAPIURL` and other keys, which are required to run the app:
24+
25+
```
26+
CocoaPods-Keys has detected a keys mismatch for your setup.
27+
What is the key for BaseAPIURL
28+
>
29+
```
30+
31+
> TBD: API details are hidden for now due to proprietary reasons.
32+
33+
### Required Keys
34+
35+
* CrashlyticsAPIKey
36+
* TreasureDataAPIKey
37+
38+
Managed by CocoaPods-Keys, they can be real API keys or any arbitrary strings.
39+
40+
### Required Files
41+
42+
```
43+
./keys/fabric.apikey
44+
./keys/fabric.buildsecret
45+
```
46+
47+
Required by the Fabric script. The file contents can also be arbitrary texts.
48+
49+
### Ignored
50+
51+
* `icook-tv-top-shelf-image.png` is not included in the repo due to the license of image.
52+
53+
## Demo
54+
55+
Install the beta version via <https://testflight.icook.tw>.
56+
57+
## Contact
58+
59+
[![Twitter](https://img.shields.io/badge/[email protected]?style=flat)](https://twitter.com/polydice)
60+
61+
## License
62+
63+
The names and icons for iCook are trademarks of [Polydice, Inc.](https://polydice.com/) Please refer to the guidelines at [iCook Newsroom](https://newsroom.icook.tw/downloads).
64+
65+
* All image assets are Copyright © 2016 Polydice, Inc. All rights reserved.
66+
* The source code is released under the MIT license. See [LICENSE](https://github.com/bcylin/Try-tvOS/blob/master/LICENSE) for more info.

0 commit comments

Comments
 (0)