안녕하세요, GDG 송도 입니다.
GDG 송도의 첫 이벤트, 티타임을 진행 합니다! 🙂
가벼운 마음으로 오프라인 모임에 참여하여,
차 한잔과 IT기술 관련 테크토크를 가지는 시간이 되시길 바랍니다.
현업 개발자, 학생 개발자 뿐만아니라 비개발자인 분들도 참가 가능합니다.
https://sites.google.com/view/gdgsongdoteatime18
GDG 송도의 첫 이벤트, 티타임을 진행 합니다! 🙂
가벼운 마음으로 오프라인 모임에 참여하여,
차 한잔과 IT기술 관련 테크토크를 가지는 시간이 되시길 바랍니다.
현업 개발자, 학생 개발자 뿐만아니라 비개발자인 분들도 참가 가능합니다.
https://sites.google.com/view/gdgsongdoteatime18
Google
GDG송도 티타임
Imagine a registration flow with a few steps (screens) and each of them fils some information about a user. Finally, you have to construct the user by the data from the previous steps... how?
There're many solutions to achieve it - using optional properties and just pass an object over the screens; maybe create a dictionary with filed data and so on.
But I really adore this solution by utilizing KeyPath's, Generics and subscripts to create a partial object. Of course, in no way without downsides, but they're so minor and it doesn't prevent to use it!
p.s. Recently I already posted the similar article, but this one looks really great with more details about a realization.
https://josephduffy.co.uk/partial-in-swift
#swift #keypath
There're many solutions to achieve it - using optional properties and just pass an object over the screens; maybe create a dictionary with filed data and so on.
But I really adore this solution by utilizing KeyPath's, Generics and subscripts to create a partial object. Of course, in no way without downsides, but they're so minor and it doesn't prevent to use it!
p.s. Recently I already posted the similar article, but this one looks really great with more details about a realization.
https://josephduffy.co.uk/partial-in-swift
#swift #keypath
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
Forwarded from 이것저것링크
지금까지의 iOS와 맥OS 버전들에 포함되었던 월페이퍼를 모두 모은 아카이브! iOS는 아이폰,아이패드 버전은 물론 WWDC,광고,이벤트 프로모션에만 쓰였던 것까지도 포함. 맥OS는 System 7 버전부터 시작해 이벤트용 등도 포함. 강추! iOS용 http://bit.ly/2JSuM9b 맥OS 용 http://bit.ly/2LCu1px http://bit.ly/2JRk6HJ
-- @minist님 | tweet
-- @minist님 | tweet
Google Photos
iOS Wallpapers
646 new photos · Album by Евгений Богун
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
Imagine a registration flow with a few steps (screens) and each of them fils some information about a user. Finally, you have to construct the user by the data from the previous steps... how?
There're many solutions to achieve it - using optional properties and just pass an object over the screens; maybe create a dictionary with filed data and so on.
But I really adore this solution by utilizing KeyPath's, Generics and subscripts to create a partial object. Of course, in no way without downsides, but they're so minor and it doesn't prevent to use it!
p.s. Recently I already posted the similar article, but this one looks really great with more details about a realization.
https://josephduffy.co.uk/partial-in-swift
There're many solutions to achieve it - using optional properties and just pass an object over the screens; maybe create a dictionary with filed data and so on.
But I really adore this solution by utilizing KeyPath's, Generics and subscripts to create a partial object. Of course, in no way without downsides, but they're so minor and it doesn't prevent to use it!
p.s. Recently I already posted the similar article, but this one looks really great with more details about a realization.
https://josephduffy.co.uk/partial-in-swift
In the near future, we can stop using % operator for checking if a number is odd or even and start utilizing a new proposed function - isMultiple(of:).
https://forums.swift.org/t/accepted-with-modifications-se-0225-adding-iseven-isodd-ismultiple-to-binaryinteger/15689
and a bit of optimization of is-multiple checks with the weird trick:
http://duriansoftware.com/joe/Optimizing-is-multiple-checks-with-modular-arithmetic.html
https://forums.swift.org/t/accepted-with-modifications-se-0225-adding-iseven-isodd-ismultiple-to-binaryinteger/15689
and a bit of optimization of is-multiple checks with the weird trick:
http://duriansoftware.com/joe/Optimizing-is-multiple-checks-with-modular-arithmetic.html
Swift Forums
[Accepted with Modifications] SE-0225: Adding isMultiple to BinaryInteger
Review thread | Proposal This proposal prompted a lot of very interesting discussion. Many members of the community favor adding these methods, but others are concerned about opening the door to a large number of trivial additions. Adding many trivial…
A bit of undocumented Swift feature. Have you known, that you can set a default type for associatedtype?
associatedtype A: Foo
associatedtype B = Foo // default
https://swiftrocks.com/swift-associated-types-with-default-values.html
#swift
associatedtype A: Foo
associatedtype B = Foo // default
https://swiftrocks.com/swift-associated-types-with-default-values.html
#swift
Swiftrocks
Swift Associated Types With Default Values
I was browsing the Swift forums when I stumbled across a discussion regarding an undocumented feature of Swift (as of this post's date): the ability to give associated types a default value.
Mattt's decided to trawl through the API diffs from iOS 11.4 to 12, thus posted a new NSHipster article describing what's new here.
https://nshipster.com/ios-12/
#iOS12
https://nshipster.com/ios-12/
#iOS12
NSHipster
iOS 12
Here at NSHipster, we’re interested in the nitty-gritty: the small (dare we say, obscure?) changes that add up to make a big impact to our day-to-day. In celebration of this week’s release of iOS 12, we’re sharing a few gems we found by trawling through API…
https://numerics.diploid.ca/
Notes on numerics in Swift
Notes on numerics in Swift
I completely forgot about new logging system that works since the iOS 10, but then I noticed this article that describes this system with some thoughts on why we'd want to use it. So I think we have to try to stop using NSLog and print statements, as well as some kind of logging libs such as CocoaLumberjack.
https://www.bignerdranch.com/blog/migrating-to-unified-logging-swift-edition/
https://www.bignerdranch.com/blog/migrating-to-unified-logging-swift-edition/
Big Nerd Ranch
Migrating to Unified Logging, Swift Edition - Big Nerd Ranch
Check out our blog post Migrating to Unified Logging, Swift Edition from Big Nerd Ranch. Learn more and read it now!