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…
A bunch of breaking changes need to be aware of before shipping an app with iOS 13 SDK.
https://fluffy.es/4-ios13-breaking-changes/
#iOS
https://fluffy.es/4-ios13-breaking-changes/
#iOS
fluffy.es - iOS development tutorials
5 breaking changes to check before building your app for iOS 13
iOS 13 does bring a lot of exciting feature like Dark mode, Multi-tasking, Sign in with Apple etc. Other than exciting feature, iOS 13 SDK also bring some breaking changes as well, overlooking these changes might cause your app to behave differently as expected…
“UTM is a full featured virtual machine host for iOS. In short, it allows you to run Windows, Android, and more on your iPhone and iPad.”
https://getutm.app
#iOS
https://getutm.app
#iOS
Forwarded from Readaggregator - iOS, Swift, Apple, Programming, Mobile (Nikita Ermolenko)
Sheets in SwiftUI are not so obvious to work with, so Artem decided to highlight and clarify some interesting behaviors.
https://blog.artemnovichkov.com/sheet-happens
#iOS #swiftUI
https://blog.artemnovichkov.com/sheet-happens
#iOS #swiftUI
Teletype
Sheet happens. Working with modal views in SwiftUI
My experience with sheets in SwiftUI based on developing pet projects.