Comments (6)
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.
from siesta.
As a followup:
maybe ResourceStatusOverlay.xib (and maybe related code) should be moved into a subspec called ResourceStatusOverlayIOS
from siesta.
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 ?
from siesta.
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
.
from siesta.
Looks like maybe @tritt was working on tvOS support?
from siesta.
#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.)
from siesta.
Related Issues (20)
- Possible memory leak in ProgressTracker HOT 13
- tvOS Carthage compilation broken for Xcode 9 HOT 2
- Swift 4.2 + Xcode 10 HOT 5
- Pods/Siesta/Source/Siesta/Support/WeakCache.swift:14:66: 'UIApplicationDidReceiveMemoryWarning' has been renamed to 'UIApplication.didReceiveMemoryWarningNotification' HOT 1
- Pods/Siesta/Source/Siesta/Support/WeakCache.swift:14:42: Type 'NSNotification.Name' has no member 'UIApplication' HOT 1
- Readme 404 link HOT 2
- unexpected duplicate task error for new Xcode build system from Xcode 10 IOS 12.0.1 HOT 1
- How to refresh same web service ?
- Wildcard in PipelineStage.add(_, contentTypes:) doesn't work as expected
- RemoteImageView placeholderImage not showing when imageResource or ImageURL is nil HOT 2
- File-based caching for Siesta HOT 4
- Unexpected version number in 'available' attribute for non-specific platform '*' HOT 2
- Cached Resource timestamp refresh after loading
- Proposal: More elegant way to avoid memory leak in closures HOT 4
- Y'all got wiki-spammed HOT 2
- Chained request progress support
- 404 errors from a resource don't clear as expected from a resource("static url").load()
- Xcode SPM will not accept Quick@around-each dependency HOT 7
- The package product 'Alamofire' requires minimum platform version 10.0 for the tvOS platform, but this target supports 9.0 HOT 3
- Quick dependancy is not correctly versioned HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from siesta.