iOS / Mac OS Developers
466 subscribers
2 photos
308 links
iOS / Mac OS를 다루는 개발자들을 위한 채널 입니다.
Download Telegram
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/
A bit of array performance - need to be aware when it's preferable to use reserveCapacity rather than a simple array allocation. Be familiar with the Big-O notation! 😉
https://www.hackingwithswift.com/articles/128/array-performance-append-vs-reservecapacity
#swift #performance
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://www.wtfautolayout.com/ 오토레이아웃이 깨지거나, 콘솔에 뜨는 로그를 넣으면 왜 깨지는지 알려 줍니다.
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