GeneDeLisaDev: #Xcode 9.2 is available. I had to free up 18GB to download it. See where it says 5.5 GB? ha! With any luck, I'll be able to run on my #iOS 11.2 device now. pic.twitter.com/tYhRE7BdMv
ios 11.2 대응 Xcode 9.2 업데이트
ios 11.2 대응 Xcode 9.2 업데이트
Twitter
Gene De Lisa
#Xcode 9.2 is available. I had to free up 18GB to download it. See where it says 5.5 GB? ha! With any luck, I'll be able to run on my #iOS 11.2 device now.
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.
Ash Furrow prepared an article about Snapshot Testing - talks about their experience at Artsy, pros/cons of this methodology, so how valuable this to use it.
A bit poor with good articles lately, thus there's a delay in the channel. 🙁
https://ashfurrow.com/blog/snapshot-testing-on-ios/
#iOS #Tests #snapshot_testing
A bit poor with good articles lately, thus there's a delay in the channel. 🙁
https://ashfurrow.com/blog/snapshot-testing-on-ios/
#iOS #Tests #snapshot_testing
Nathan, inspired by “Designing Fluid Interfaces” WWDC session, has written a great article that demonstrates how to achieve these effects. The article covers not only a theory part but also you will see eight examples (some of them are part of iOS os) with visual animations, critical code, and important remarks.
”An interface is fluid when it behaves according to the way people think, not the way machines think.”
Share this knowledge with your designers, because this makes the user interface more comfortable, enjoyable. They have to know about it!
https://medium.com/@nathangitter/building-fluid-interfaces-ios-swift-9732bb934bf5
#iOS #animations #UI
”An interface is fluid when it behaves according to the way people think, not the way machines think.”
Share this knowledge with your designers, because this makes the user interface more comfortable, enjoyable. They have to know about it!
https://medium.com/@nathangitter/building-fluid-interfaces-ios-swift-9732bb934bf5
#iOS #animations #UI
Medium
Building Fluid Interfaces
How to create natural gestures and animations on iOS
Let's talk a bit about the architecture.
Alexander tells his thoughts about this topic - what architecture we used to prefer in the past, what is a popular architecture nowadays and what we can come to. MVVM, MVC, and MVP are so known for us of course, so the Elm Architecture has to be the most interesting to read.
p.s. I highly recommend reading the "App Architecture" book to cover all these architectures more deeply.
https://kean.github.io/post/app-architecture
#iOS #architecture
Alexander tells his thoughts about this topic - what architecture we used to prefer in the past, what is a popular architecture nowadays and what we can come to. MVVM, MVC, and MVP are so known for us of course, so the Elm Architecture has to be the most interesting to read.
p.s. I highly recommend reading the "App Architecture" book to cover all these architectures more deeply.
https://kean.github.io/post/app-architecture
#iOS #architecture
Alexander Grebenyuk
Let’s Talk Architecture
MVC – The Past. MVVM with RxSwift or ReactiveCocoa, MVP – The Present. Functional Architectures – The Future.
Oh, I so adore articles dedicated to the scroll optimization and this one isn't an exception. Even though this article was written in the distance 2015, there are a lot of techniques that are still actual nowadays. Especially I like the tip about Subpixel Rendering.
p.s. Don't be afraid of Objective-С.
https://medium.com/ios-os-x-development/perfect-smooth-scrolling-in-uitableviews-fd609d5275a5
#iOS #performance
p.s. Don't be afraid of Objective-С.
https://medium.com/ios-os-x-development/perfect-smooth-scrolling-in-uitableviews-fd609d5275a5
#iOS #performance
Medium
Perfect smooth scrolling in UITableViews
Story about optimizations for reaching 60 FPS in iOS most frequently used building block
A step by step guide how to build an iOS app without Xcode's Build System. Why lol?
https://vojtastavik.com/2018/10/15/building-ios-app-without-xcode/
#iOS
https://vojtastavik.com/2018/10/15/building-ios-app-without-xcode/
#iOS
There's an awesome tool I've found.
”It injects itself into the iOS Simulator so that it can monitor views and adjust them in real time.”
https://www.hackingwithswift.com/articles/131/sherlock-turbocharges-your-ios-simulator
#iOS #simulator
”It injects itself into the iOS Simulator so that it can monitor views and adjust them in real time.”
https://www.hackingwithswift.com/articles/131/sherlock-turbocharges-your-ios-simulator
#iOS #simulator
Hacking with Swift
Sherlock turbocharges your iOS simulator
Inspect and adjust any app in real time
There's a new hype post about snapshot testing on Twitter provided by guys from the Point Free. Many fellows liked it and highly recommend to try it out, so I can't miss to share it with you.
https://www.pointfree.co/blog/posts/23-snapshottesting-1-0-delightful-swift-snapshot-testing
#iOS #swift #Tests #snapshot_testing
https://www.pointfree.co/blog/posts/23-snapshottesting-1-0-delightful-swift-snapshot-testing
#iOS #swift #Tests #snapshot_testing
www.pointfree.co
SnapshotTesting 1.0: Delightful Swift snapshot testing
Today we are open sourcing SnapshotTesting 1.0: a modern, composable snapshot testing library built entirely in Swift!
Implementing the Coordinator pattern using UIResponder. 🤔
”With this approach, you can:
1. Call a Coordinator's method from anywhere: view controller, view, button's event handler, table/collection view cell, UIAlertAction etc.
2. That call will be passed up the responder chain until it reaches some Coordinator instance which overrides that method.”
…
http://aplus.rs/2018/coordinator-missing-pattern-uikit/
#iOS #coordinators #architecture
”With this approach, you can:
1. Call a Coordinator's method from anywhere: view controller, view, button's event handler, table/collection view cell, UIAlertAction etc.
2. That call will be passed up the responder chain until it reaches some Coordinator instance which overrides that method.”
…
http://aplus.rs/2018/coordinator-missing-pattern-uikit/
#iOS #coordinators #architecture
sing the coordinator pattern isn't a great choice all the time, because managing complex flows with vanilla UIKit is a good way as well. 🤔
https://sandofsky.com/blog/controller-hierarchies.html
p.s. For better understanding aforementioned article need to be aware of the Actor Chain.
http://wangling.me/2014/06/view-controller-actor-chain.html
#iOS #coordinators
https://sandofsky.com/blog/controller-hierarchies.html
p.s. For better understanding aforementioned article need to be aware of the Actor Chain.
http://wangling.me/2014/06/view-controller-actor-chain.html
#iOS #coordinators
Sandofsky
Controller Hierarchies
Benjamin Sandofsky, a Software Engineer in San Francisco, California.
Found a helpful thread with Xcode tricks and useful shortcuts.
https://twitter.com/nerdonica/status/1088459155264995328
#Xcode #iOS #twitter
https://twitter.com/nerdonica/status/1088459155264995328
#Xcode #iOS #twitter
Twitter
Veronica Ray
iOS devs: What is an Xcode productivity or quality of life trick that you wish more people knew about?
Use the iOS Responder Chain the right way. An author tries to describe this pattern in a simple form with some theoretical examples to dive deeper.
p.s. One of the most asked interview question.
https://swiftrocks.com/understanding-the-ios-responder-chain.html
#iOS #responder_chain
p.s. One of the most asked interview question.
https://swiftrocks.com/understanding-the-ios-responder-chain.html
#iOS #responder_chain
Swiftrocks
iOS Responder Chain: UIResponder, UIEvent, UIControl and uses
In iOS, the Responder Chain is the name given to an UIKit-generated linked list of UIResponder objects, and is the foundation for everything regarding events (like touch and motion) in iOS.
Airbnb open-sourced a UICollectionViewLayout library.
https://github.com/airbnb/MagazineLayout
#iOS #layout #UI
https://github.com/airbnb/MagazineLayout
#iOS #layout #UI
GitHub
GitHub - airbnb/MagazineLayout: A collection view layout capable of laying out views in vertically scrolling grids and lists.
A collection view layout capable of laying out views in vertically scrolling grids and lists. - airbnb/MagazineLayout
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
An author compares a few approaches for converting a UIImage to Data in a less memory consumption way. One of them is using autoreleasepool with UIImageJPEGRepresentation. 🤔
https://bencoding.com/2017/03/07/thinking-about-memory-converting-uiimage-to-data-in-swift/
#optimization #iOS
https://bencoding.com/2017/03/07/thinking-about-memory-converting-uiimage-to-data-in-swift/
#optimization #iOS
bencoding
Thinking about Memory: Converting UIImage to Data in Swift
How often do you convert a UIImage into a Data object? Seems like a relatively straight forward task, just use UIImageJPEGRepresentation and your done. After doing this I started seeing memory spik…