Ahmed KhalafRendering off The Main Thread in iOSOne of the first lessons we learn in iOS development is that UIKit classes (UILabel, UIImageView, …etc) shouldn’t be touched outside the…Mar 23, 2019Mar 23, 2019
Ahmed KhalafNon-Repeatable viewDidAppear LogicSometimes we need to show an alert, apply a gradient, or conditionally show another view controller on the startup of a view controller…Feb 5, 20192Feb 5, 20192
Ahmed KhalafExperimenting With targetContentOffset: Uneven PaginationThere are at least three ways of paginating content in iOS. Namely, via UIScrollView, UIPageViewController, and UICollectionView.Jan 19, 2019Jan 19, 2019
Ahmed KhalafArabic As A Default Language for Your iOS AppSometimes you want to make an Arabic-only app. Or you may want to support some languages, but you want Arabic to be the default app…Aug 10, 20182Aug 10, 20182
Ahmed KhalafEnabling Optimizations for CocoaPods in Debug ModeCompiler optimizations are disabled by default in Debug mode. This is to enable a sane debug experience by avoiding omitted variables (or…Jun 15, 2018Jun 15, 2018