While developing with Flutter, I briefly reviewed resolution differences by OS to determine whether the UI differences between Android and iOS are due to OS-level resolution systems.
Unit systems in Android and iOS
Android: DP (dots per inch)
Size | dpi | Pixel | Scale |
---|---|---|---|
ldpi | ~120dpi | 240 x 320 | 0.75x |
mdpi | ~160dpi | 360 x 480 | 1x |
hdpi | ~240dpi | 480 x 800 | 1.5x |
xhdpi | ~320dpi | 720 x 1280 | 2.0x |
xxhdpi | ~480dpi | 1080 x 1920 | 3.0x |
xxxhdpi | ~640dpi | 1440 x 2560 | 4.0x |
iOS: PT (points)
Scale |
---|
1.0x |
2.0x |
3.0x |
Links
I began attending a 5-week offline course hosted by FastCampus titled Efficient and Stable iOS Code Architecture. The topic of the course is functional & declarative programming. - Course Introduction Link
Summary of Session 4
MVVM
architecture, values from network or data layers are processed in the ViewModel
using immutability and pure functions.