├── .gitignore ├── .gitmodules ├── BitTorrent.xcodeproj ├── project.pbxproj └── project.xcworkspace │ └── contents.xcworkspacedata ├── BitTorrent.xcworkspace └── contents.xcworkspacedata ├── BitTorrent ├── BitTorrent-Bridging-Header.h ├── BitTorrent.h ├── File Manager │ ├── BigTorrentTest.torrent │ ├── Data.bin │ ├── FileHandleFake.swift │ ├── MultFileHandleTests.swift │ ├── MultiFileHandle.swift │ ├── TorrentFileManager.swift │ └── TorrentFileManagerTests.swift ├── HTTP Networking │ ├── HTTPConnection.swift │ ├── HTTPConnectionStub.swift │ ├── HTTPConnectionTests.swift │ ├── String+URLEncode.swift │ └── URLEncodeTests.swift ├── Info.plist ├── Models │ ├── BitField.swift │ ├── BitFieldTests.swift │ ├── TorrentFileInfo.swift │ ├── TorrentMetaInfo.swift │ ├── TorrentMetaInfoTests.swift │ └── TorrentPeerInfo.swift ├── Peer Manager │ ├── TorrentPeerManager.swift │ └── TorrentPeerManagerTests.swift ├── Peer │ ├── Communicator │ │ ├── Message Buffers │ │ │ ├── TorrentPeerHandshakeMessageBuffer.swift │ │ │ ├── TorrentPeerHandshakeMessageBufferTests.swift │ │ │ ├── TorrentPeerMessageBuffer.swift │ │ │ └── TorrentPeerMessageBufferTests.swift │ │ ├── TorrentPeerCommunicator.swift │ │ ├── TorrentPeerCommunicatorDelegateStub.swift │ │ ├── TorrentPeerCommunicatorReadTests.swift │ │ ├── TorrentPeerCommunicatorStub.swift │ │ └── TorrentPeerCommunicatorTests.swift │ ├── Piece Download Buffer │ │ ├── TorrentPieceDownloadBuffer.swift │ │ └── TorrentPieceDownloadBufferTests.swift │ ├── Piece Request info │ │ ├── TorrentUploadPieceRequest.swift │ │ └── TorrentUploadPieceRequestTests.swift │ ├── TorrentPeer.swift │ ├── TorrentPeerDelegateStub.swift │ ├── TorrentPeerTests.swift │ └── TorrentPeerUploadingTests.swift ├── Progress Manager │ ├── TorrentProgressManager.swift │ └── TorrentProgressManagerTests.swift ├── TCP Networking │ ├── GCDAsyncSocketStub.swift │ ├── TCPConnection.swift │ ├── TCPConnectionStub.swift │ └── TCPConnectionTests.swift ├── Torrent Client │ ├── TorrentClient.swift │ ├── TorrentClientManagerStubs.swift │ └── TorrentClientTests.swift ├── Torrent Progress │ ├── TorrentProgress.swift │ └── TorrentProgressTests.swift ├── Torrent Server │ └── TorrentServer.swift ├── Tracker Manager │ ├── TorrentTrackerManager.swift │ ├── TorrentTrackerManagerTests.swift │ └── TrackerManagerTests.torrent ├── Tracker │ ├── TorrentHTTPTracker.swift │ ├── TorrentHTTPTrackerTests.swift │ ├── TorrentTracker.swift │ ├── TorrentTrackerResponse.swift │ ├── TorrentUDPTracker.swift │ └── TorrentUDPTrackerTests.swift ├── UDP Networking │ ├── GCDAsyncUdpSocketStub.swift │ ├── InternetProtocol.h │ ├── InternetProtocol.m │ ├── InternetProtocol.swift │ ├── InternetProtocolTests.swift │ ├── UDPConnection.swift │ └── UDPConnectionTests.swift └── Utilities │ ├── CombinedNetworkSpeedTracker.swift │ ├── Data+sha1.swift │ ├── IndexCorrectedDataSlice.swift │ ├── NetworkSpeedTracker.swift │ ├── NetworkSpeedTrackerTests.swift │ ├── RandomEnumeration.swift │ └── URL.swift ├── BitTorrentExample ├── AppDelegate.swift ├── Assets.xcassets │ └── AppIcon.appiconset │ │ └── Contents.json ├── Base.lproj │ └── LaunchScreen.storyboard ├── Info.plist ├── StringUtilities.swift ├── TorrentInfoRowData.swift └── TorrentViewController.swift ├── BitTorrentTests ├── Info.plist └── Utilities │ ├── BitTorrentTestMacros.swift │ └── TestHelpers.swift ├── CommonCrypto ├── CommonCrypto.xcconfig ├── Info.plist ├── iphoneos.modulemap ├── iphonesimulator.modulemap └── macosx.modulemap ├── Podfile ├── Podfile.lock ├── README.md └── Test Torrents └── Single text file ├── TestText.torrent └── text.txt /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/.gitmodules -------------------------------------------------------------------------------- /BitTorrent.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent.xcodeproj/project.pbxproj -------------------------------------------------------------------------------- /BitTorrent.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent.xcodeproj/project.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /BitTorrent.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /BitTorrent/BitTorrent-Bridging-Header.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent/BitTorrent-Bridging-Header.h -------------------------------------------------------------------------------- /BitTorrent/BitTorrent.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent/BitTorrent.h -------------------------------------------------------------------------------- /BitTorrent/File Manager/BigTorrentTest.torrent: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent/File Manager/BigTorrentTest.torrent -------------------------------------------------------------------------------- /BitTorrent/File Manager/Data.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent/File Manager/Data.bin -------------------------------------------------------------------------------- /BitTorrent/File Manager/FileHandleFake.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent/File Manager/FileHandleFake.swift -------------------------------------------------------------------------------- /BitTorrent/File Manager/MultFileHandleTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent/File Manager/MultFileHandleTests.swift -------------------------------------------------------------------------------- /BitTorrent/File Manager/MultiFileHandle.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent/File Manager/MultiFileHandle.swift -------------------------------------------------------------------------------- /BitTorrent/File Manager/TorrentFileManager.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent/File Manager/TorrentFileManager.swift -------------------------------------------------------------------------------- /BitTorrent/File Manager/TorrentFileManagerTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent/File Manager/TorrentFileManagerTests.swift -------------------------------------------------------------------------------- /BitTorrent/HTTP Networking/HTTPConnection.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent/HTTP Networking/HTTPConnection.swift -------------------------------------------------------------------------------- /BitTorrent/HTTP Networking/HTTPConnectionStub.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent/HTTP Networking/HTTPConnectionStub.swift -------------------------------------------------------------------------------- /BitTorrent/HTTP Networking/HTTPConnectionTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent/HTTP Networking/HTTPConnectionTests.swift -------------------------------------------------------------------------------- /BitTorrent/HTTP Networking/String+URLEncode.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent/HTTP Networking/String+URLEncode.swift -------------------------------------------------------------------------------- /BitTorrent/HTTP Networking/URLEncodeTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent/HTTP Networking/URLEncodeTests.swift -------------------------------------------------------------------------------- /BitTorrent/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent/Info.plist -------------------------------------------------------------------------------- /BitTorrent/Models/BitField.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent/Models/BitField.swift -------------------------------------------------------------------------------- /BitTorrent/Models/BitFieldTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent/Models/BitFieldTests.swift -------------------------------------------------------------------------------- /BitTorrent/Models/TorrentFileInfo.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent/Models/TorrentFileInfo.swift -------------------------------------------------------------------------------- /BitTorrent/Models/TorrentMetaInfo.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent/Models/TorrentMetaInfo.swift -------------------------------------------------------------------------------- /BitTorrent/Models/TorrentMetaInfoTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent/Models/TorrentMetaInfoTests.swift -------------------------------------------------------------------------------- /BitTorrent/Models/TorrentPeerInfo.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent/Models/TorrentPeerInfo.swift -------------------------------------------------------------------------------- /BitTorrent/Peer Manager/TorrentPeerManager.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent/Peer Manager/TorrentPeerManager.swift -------------------------------------------------------------------------------- /BitTorrent/Peer Manager/TorrentPeerManagerTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent/Peer Manager/TorrentPeerManagerTests.swift -------------------------------------------------------------------------------- /BitTorrent/Peer/Communicator/Message Buffers/TorrentPeerHandshakeMessageBuffer.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent/Peer/Communicator/Message Buffers/TorrentPeerHandshakeMessageBuffer.swift -------------------------------------------------------------------------------- /BitTorrent/Peer/Communicator/Message Buffers/TorrentPeerHandshakeMessageBufferTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent/Peer/Communicator/Message Buffers/TorrentPeerHandshakeMessageBufferTests.swift -------------------------------------------------------------------------------- /BitTorrent/Peer/Communicator/Message Buffers/TorrentPeerMessageBuffer.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent/Peer/Communicator/Message Buffers/TorrentPeerMessageBuffer.swift -------------------------------------------------------------------------------- /BitTorrent/Peer/Communicator/Message Buffers/TorrentPeerMessageBufferTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent/Peer/Communicator/Message Buffers/TorrentPeerMessageBufferTests.swift -------------------------------------------------------------------------------- /BitTorrent/Peer/Communicator/TorrentPeerCommunicator.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent/Peer/Communicator/TorrentPeerCommunicator.swift -------------------------------------------------------------------------------- /BitTorrent/Peer/Communicator/TorrentPeerCommunicatorDelegateStub.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent/Peer/Communicator/TorrentPeerCommunicatorDelegateStub.swift -------------------------------------------------------------------------------- /BitTorrent/Peer/Communicator/TorrentPeerCommunicatorReadTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent/Peer/Communicator/TorrentPeerCommunicatorReadTests.swift -------------------------------------------------------------------------------- /BitTorrent/Peer/Communicator/TorrentPeerCommunicatorStub.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent/Peer/Communicator/TorrentPeerCommunicatorStub.swift -------------------------------------------------------------------------------- /BitTorrent/Peer/Communicator/TorrentPeerCommunicatorTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent/Peer/Communicator/TorrentPeerCommunicatorTests.swift -------------------------------------------------------------------------------- /BitTorrent/Peer/Piece Download Buffer/TorrentPieceDownloadBuffer.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent/Peer/Piece Download Buffer/TorrentPieceDownloadBuffer.swift -------------------------------------------------------------------------------- /BitTorrent/Peer/Piece Download Buffer/TorrentPieceDownloadBufferTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent/Peer/Piece Download Buffer/TorrentPieceDownloadBufferTests.swift -------------------------------------------------------------------------------- /BitTorrent/Peer/Piece Request info/TorrentUploadPieceRequest.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent/Peer/Piece Request info/TorrentUploadPieceRequest.swift -------------------------------------------------------------------------------- /BitTorrent/Peer/Piece Request info/TorrentUploadPieceRequestTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent/Peer/Piece Request info/TorrentUploadPieceRequestTests.swift -------------------------------------------------------------------------------- /BitTorrent/Peer/TorrentPeer.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent/Peer/TorrentPeer.swift -------------------------------------------------------------------------------- /BitTorrent/Peer/TorrentPeerDelegateStub.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent/Peer/TorrentPeerDelegateStub.swift -------------------------------------------------------------------------------- /BitTorrent/Peer/TorrentPeerTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent/Peer/TorrentPeerTests.swift -------------------------------------------------------------------------------- /BitTorrent/Peer/TorrentPeerUploadingTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent/Peer/TorrentPeerUploadingTests.swift -------------------------------------------------------------------------------- /BitTorrent/Progress Manager/TorrentProgressManager.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent/Progress Manager/TorrentProgressManager.swift -------------------------------------------------------------------------------- /BitTorrent/Progress Manager/TorrentProgressManagerTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent/Progress Manager/TorrentProgressManagerTests.swift -------------------------------------------------------------------------------- /BitTorrent/TCP Networking/GCDAsyncSocketStub.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent/TCP Networking/GCDAsyncSocketStub.swift -------------------------------------------------------------------------------- /BitTorrent/TCP Networking/TCPConnection.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent/TCP Networking/TCPConnection.swift -------------------------------------------------------------------------------- /BitTorrent/TCP Networking/TCPConnectionStub.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent/TCP Networking/TCPConnectionStub.swift -------------------------------------------------------------------------------- /BitTorrent/TCP Networking/TCPConnectionTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent/TCP Networking/TCPConnectionTests.swift -------------------------------------------------------------------------------- /BitTorrent/Torrent Client/TorrentClient.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent/Torrent Client/TorrentClient.swift -------------------------------------------------------------------------------- /BitTorrent/Torrent Client/TorrentClientManagerStubs.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent/Torrent Client/TorrentClientManagerStubs.swift -------------------------------------------------------------------------------- /BitTorrent/Torrent Client/TorrentClientTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent/Torrent Client/TorrentClientTests.swift -------------------------------------------------------------------------------- /BitTorrent/Torrent Progress/TorrentProgress.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent/Torrent Progress/TorrentProgress.swift -------------------------------------------------------------------------------- /BitTorrent/Torrent Progress/TorrentProgressTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent/Torrent Progress/TorrentProgressTests.swift -------------------------------------------------------------------------------- /BitTorrent/Torrent Server/TorrentServer.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent/Torrent Server/TorrentServer.swift -------------------------------------------------------------------------------- /BitTorrent/Tracker Manager/TorrentTrackerManager.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent/Tracker Manager/TorrentTrackerManager.swift -------------------------------------------------------------------------------- /BitTorrent/Tracker Manager/TorrentTrackerManagerTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent/Tracker Manager/TorrentTrackerManagerTests.swift -------------------------------------------------------------------------------- /BitTorrent/Tracker Manager/TrackerManagerTests.torrent: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent/Tracker Manager/TrackerManagerTests.torrent -------------------------------------------------------------------------------- /BitTorrent/Tracker/TorrentHTTPTracker.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent/Tracker/TorrentHTTPTracker.swift -------------------------------------------------------------------------------- /BitTorrent/Tracker/TorrentHTTPTrackerTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent/Tracker/TorrentHTTPTrackerTests.swift -------------------------------------------------------------------------------- /BitTorrent/Tracker/TorrentTracker.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent/Tracker/TorrentTracker.swift -------------------------------------------------------------------------------- /BitTorrent/Tracker/TorrentTrackerResponse.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent/Tracker/TorrentTrackerResponse.swift -------------------------------------------------------------------------------- /BitTorrent/Tracker/TorrentUDPTracker.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent/Tracker/TorrentUDPTracker.swift -------------------------------------------------------------------------------- /BitTorrent/Tracker/TorrentUDPTrackerTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent/Tracker/TorrentUDPTrackerTests.swift -------------------------------------------------------------------------------- /BitTorrent/UDP Networking/GCDAsyncUdpSocketStub.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent/UDP Networking/GCDAsyncUdpSocketStub.swift -------------------------------------------------------------------------------- /BitTorrent/UDP Networking/InternetProtocol.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent/UDP Networking/InternetProtocol.h -------------------------------------------------------------------------------- /BitTorrent/UDP Networking/InternetProtocol.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent/UDP Networking/InternetProtocol.m -------------------------------------------------------------------------------- /BitTorrent/UDP Networking/InternetProtocol.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent/UDP Networking/InternetProtocol.swift -------------------------------------------------------------------------------- /BitTorrent/UDP Networking/InternetProtocolTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent/UDP Networking/InternetProtocolTests.swift -------------------------------------------------------------------------------- /BitTorrent/UDP Networking/UDPConnection.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent/UDP Networking/UDPConnection.swift -------------------------------------------------------------------------------- /BitTorrent/UDP Networking/UDPConnectionTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent/UDP Networking/UDPConnectionTests.swift -------------------------------------------------------------------------------- /BitTorrent/Utilities/CombinedNetworkSpeedTracker.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent/Utilities/CombinedNetworkSpeedTracker.swift -------------------------------------------------------------------------------- /BitTorrent/Utilities/Data+sha1.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent/Utilities/Data+sha1.swift -------------------------------------------------------------------------------- /BitTorrent/Utilities/IndexCorrectedDataSlice.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent/Utilities/IndexCorrectedDataSlice.swift -------------------------------------------------------------------------------- /BitTorrent/Utilities/NetworkSpeedTracker.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent/Utilities/NetworkSpeedTracker.swift -------------------------------------------------------------------------------- /BitTorrent/Utilities/NetworkSpeedTrackerTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent/Utilities/NetworkSpeedTrackerTests.swift -------------------------------------------------------------------------------- /BitTorrent/Utilities/RandomEnumeration.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent/Utilities/RandomEnumeration.swift -------------------------------------------------------------------------------- /BitTorrent/Utilities/URL.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrent/Utilities/URL.swift -------------------------------------------------------------------------------- /BitTorrentExample/AppDelegate.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrentExample/AppDelegate.swift -------------------------------------------------------------------------------- /BitTorrentExample/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrentExample/Assets.xcassets/AppIcon.appiconset/Contents.json -------------------------------------------------------------------------------- /BitTorrentExample/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrentExample/Base.lproj/LaunchScreen.storyboard -------------------------------------------------------------------------------- /BitTorrentExample/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrentExample/Info.plist -------------------------------------------------------------------------------- /BitTorrentExample/StringUtilities.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrentExample/StringUtilities.swift -------------------------------------------------------------------------------- /BitTorrentExample/TorrentInfoRowData.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrentExample/TorrentInfoRowData.swift -------------------------------------------------------------------------------- /BitTorrentExample/TorrentViewController.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrentExample/TorrentViewController.swift -------------------------------------------------------------------------------- /BitTorrentTests/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrentTests/Info.plist -------------------------------------------------------------------------------- /BitTorrentTests/Utilities/BitTorrentTestMacros.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrentTests/Utilities/BitTorrentTestMacros.swift -------------------------------------------------------------------------------- /BitTorrentTests/Utilities/TestHelpers.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/BitTorrentTests/Utilities/TestHelpers.swift -------------------------------------------------------------------------------- /CommonCrypto/CommonCrypto.xcconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/CommonCrypto/CommonCrypto.xcconfig -------------------------------------------------------------------------------- /CommonCrypto/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/CommonCrypto/Info.plist -------------------------------------------------------------------------------- /CommonCrypto/iphoneos.modulemap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/CommonCrypto/iphoneos.modulemap -------------------------------------------------------------------------------- /CommonCrypto/iphonesimulator.modulemap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/CommonCrypto/iphonesimulator.modulemap -------------------------------------------------------------------------------- /CommonCrypto/macosx.modulemap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/CommonCrypto/macosx.modulemap -------------------------------------------------------------------------------- /Podfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/Podfile -------------------------------------------------------------------------------- /Podfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/Podfile.lock -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/README.md -------------------------------------------------------------------------------- /Test Torrents/Single text file/TestText.torrent: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/Test Torrents/Single text file/TestText.torrent -------------------------------------------------------------------------------- /Test Torrents/Single text file/text.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imben123/BitTorrentSwift/HEAD/Test Torrents/Single text file/text.txt --------------------------------------------------------------------------------