Comments (6)
TBH I hope once SPM is out, nobody else still uses Carthage or CocoaPods so we can all safely use a single official package manager.
from differencekit.
Hi @gotev ,
Thanks for the proposal.
I currently have no motivation for this for three reasons.
- Apple hasn't yet shipped Swift's module stability. It may cause confusion for users who don't use compatible compiler versions.
- In most cases, you can reduce build time significantly using
--cache-builds
option. - I don't know how to attach binaries with ensuring safety for security.
from differencekit.
Hi @ra1028 !
For the first point, Carthage deals with that, ensuring all the frameworks are built with the same swift version. If a binary framework is not built with the same swift version, it automatically falls back to building it from source. For 2 definitely yes, and I use it a lot. For 3 it depends on how many people have access to your repository to publish releases. If you are the only one, then you're safe.
from differencekit.
The number of people currently accessible isn't the problem, IMHO.
I'm concerned that there is no way to verify that a binary is safe.
I don't want to publish prebuilt framework at present because of the evolution of SwiftPM announced by Apple at WWDC 2019.
Do I make sense?
from differencekit.
@ra1028 it's OT here, but thanks to your library my code looks similar to what SwiftUI has brought to the table. Outstanding!
Regarding security, when I publish prebuilt frameworks today I use GitHub hub
from CI, which uses safe authentication mechanism to deploy the framework, so I personally feel safe deploying like that, but this is your library, so I respect your point of view and your way of doing things, and if you don't intend publishing anything binary until new SPM comes out, that's perfectly reasonable.
from differencekit.
Thanks for your understanding.
TBH, I hope to abolish the support for package managers other than SwiftPM in the future.
I understand the convenience of the prebuilt binary, and the distribution as XCFrameworks is one possibility then.
from differencekit.
Related Issues (20)
- Compute changeset in the background
- To do the insert and delete operations at once
- Delete .swift-version
- Crash when I reload collectionView HOT 1
- Help needed with crash - NSInternalInconsistencyException HOT 1
- Buggy default reload method HOT 1
- How can I reload a table that is behind on the navigation stack? HOT 1
- UICollectionView reload animation
- Duplicate items with some edge cases in AppKitExtension HOT 13
- Why DifferenceKit is so much faster than Apple's Foundation diffing? HOT 2
- Animation option for row reloading is not a valid option in AppKitExtension
- Does it work seamlessly when using an UICollectionView with SwiftUI cells? HOT 2
- tvOS UICollectionView.reload crash
- The algorithm cannot get the best diff results? HOT 1
- `Differentiable` requres `Equatable` AND `Hashable`, but docs say otherwise
- Using only the diffing algorithm
- Invalid batch updates detected
- How to apply ChageSet to an array?
- Use UITableView reconfigureRows and UICollectionView reconfigureItems for ChangeSet.elementUpdated
- How to use DifferenceKit with diffable data sources? HOT 1
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 differencekit.