iOS / Mac OS Developers
469 subscribers
2 photos
308 links
iOS / Mac OS를 다루는 개발자들을 위한 채널 입니다.
Download Telegram
안녕하세요, GDG 송도 입니다.
GDG 송도의 첫 이벤트, 티타임을 진행 합니다! 🙂
가벼운 마음으로 오프라인 모임에 참여하여,
차 한잔과 IT기술 관련 테크토크를 가지는 시간이 되시길 바랍니다.
현업 개발자, 학생 개발자 뿐만아니라 비개발자인 분들도 참가 가능합니다.
https://sites.google.com/view/gdgsongdoteatime18
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
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
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
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
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
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
Xcode 10 Beta 6 Release!
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
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
https://numerics.diploid.ca/
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/
It's the most popular question since the release of Xcode 10 - ”Where's the Library?”.
So this article describes some tips on how to simplify the process of working with new library popup.

The most useful tip is you need to hold the Option (⌥) key to keep the popup visible until you close it yourself.

https://useyourloaf.com/blog/xcode-10-library-tips/