Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tvOS support [partially completed] #28

Open
6 tasks done
pcantrell opened this issue Dec 28, 2015 · 6 comments
Open
6 tasks done

Add tvOS support [partially completed] #28

pcantrell opened this issue Dec 28, 2015 · 6 comments

Comments

@pcantrell
Copy link
Member

pcantrell commented Dec 28, 2015

  • Add tvOS target
  • Prove viability with a test app
  • Get specs passing on tvOS
  • Add tvOS environment(s) to Travis build matrix
  • Ensure it works with:
    • Carthage
    • CocoaPods

(Looks like @djz-code may be working on this on a fork?)

@pcantrell pcantrell changed the title Add tvOS support Add watch & tvOS support Jan 1, 2016
@pcantrell pcantrell changed the title Add watch & tvOS support Add tvOS support Jan 1, 2016
@igostavro
Copy link

whoever starts on this, just a tip:

I pulled from git and started my own local pod spec.

Had to make the following changes:

#s.resources = "Source/**/*.xib" <<-- remove xibs

  s.subspec "Core" do |s|
    s.source_files = "Source/**/*.swift" #<<-- only copy swift files as source (WAS pulling xibs)
  end

The xib in the project is an iOS xib that prevents TVOS from compiling. Once I excluded it from the pod everything seemed to compile just fine. Testing now.

@igostavro
Copy link

As a followup:

maybe ResourceStatusOverlay.xib (and maybe related code) should be moved into a subspec called ResourceStatusOverlayIOS

@victorcotap
Copy link
Contributor

victorcotap commented Oct 7, 2016

It would be very beneficial if it could work on watchOs as well. Being able to build one api client for all platforms would be a tremendous improvement
Also splitting UI and Core code might help the process as @igostavro suggested

EDIT: Actually WatchKit includes way of getting data through the iOS app so it's ok if it's dismissed for now. tvOS would be amazing to get tho. Can we split Siesta and SiestaUI ?

@pcantrell
Copy link
Member Author

Actually WatchKit includes way of getting data through the iOS app so it's ok if it's dismissed for now.

That was my understanding, but…

It would be very beneficial if it could work on watchOs as well.

I’m all for it if anyone finds a need for it.

tvOS would be amazing to get tho

I’d welcome a pull request.

Can we split Siesta and SiestaUI ?

Already done. Isolating UIKit code was done by @onekiloparsec for the macOS target, and I already split SiestaUI for SwiftPM support. Siesta & SiestaUI are now two separate subdirectories under Source, separate targets in the Xcode project, separate modules if you build with SwiftPM or Carthage, and separate subspecs if you’re using Cocoapods.

I’m only aware of two spots in the core Siesta module that require platform-specific attention: the type of parsed images, and the name of the low memory notification. Both should be easy to resolve. Search Source/Siesta/ for the two occurrences of #if.

@pcantrell
Copy link
Member Author

Looks like maybe @tritt was working on tvOS support?

@pcantrell
Copy link
Member Author

pcantrell commented Apr 15, 2017

#187 added a tvOS target. Specs don’t run on tvOS because of Nocilla, but that seems solvable.

I'd like to hear from users about any success / troubles in actual apps before declaring this supported. (See checklist at the top of the issue.)

@pcantrell pcantrell changed the title Add tvOS support Add tvOS support [partially completed] Apr 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants