Skip to content

Commit

Permalink
Allow network connection for macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
buh committed Sep 30, 2023
1 parent a961fcd commit a511a2b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 10 deletions.
10 changes: 6 additions & 4 deletions Demo/Hubble/Hubble.entitlements
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.app-sandbox</key>
<true/>
<key>com.apple.security.files.user-selected.read-only</key>
<true/>
<key>com.apple.security.app-sandbox</key>
<true/>
<key>com.apple.security.files.user-selected.read-only</key>
<true/>
<key>com.apple.security.network.client</key>
<true/>
</dict>
</plist>
15 changes: 9 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,15 @@ let data = try await urlSession.zipEntryData(entry, from: url)

Check out the Hubble demo app to view selected images from the archive taken by [The Hubble Space Telescope](https://esahubble.org).

# TODO
- [x] Add custom `URLRequest`
- [x] Add custom decompressor
- [ ] Add more tests
- [x] Fix Demo for iPad.
- [ ] Fix Demo for macOS.
# Features
- [x] Custom `URLRequest`
- [x] Task management with `URLSessionTaskDelegate`
- [x] Support for a custom decompressor
- [x] ZIP 64-bit support
- [x] Demo for iPhone.
- [x] Demo for iPad.
- [x] Demo for macOS.
- [ ] More tests

# ZIP file format specification sources
- [Wikipedia](http://en.wikipedia.org/wiki/ZIP_(file_format)#File_headers)
Expand Down

0 comments on commit a511a2b

Please sign in to comment.