After 4 years of internal usage, Twitter has decided to share with the community their own Network Layer framework on top of Apple's NSURLSession.
- Additional flexibility and scalability
- Ability to specify the execution mode
- Prioritization of requests
- Dynamic retrying with retry policies
... (so so on)
p.s. it's time to rewrite it to Swift :)
https://blog.twitter.com/engineering/en_us/topics/open-source/2018/opensourcetnl.html
#iOS #twitter #network
- Additional flexibility and scalability
- Ability to specify the execution mode
- Prioritization of requests
- Dynamic retrying with retry policies
... (so so on)
p.s. it's time to rewrite it to Swift :)
https://blog.twitter.com/engineering/en_us/topics/open-source/2018/opensourcetnl.html
#iOS #twitter #network
X
Introducing Twitter Network Layer iOS framework for open source
Today, we’re excited to open source our Twitter Network Layer framework for iOS, or TNL for short.
Another series of tips, this time is about testing background session.
https://forums.developer.apple.com/thread/14855
#iOS #network
https://forums.developer.apple.com/thread/14855
#iOS #network
Apple
Testing Background Session Code |Apple Developer Forums
Testing an app that uses an NSURLSession background session is tricky because there are differences between the test environment and the production