Creating a UICollectionViewCell to have a dynamic height based on font size and image aspect ratio

Photo by Tim Bennett from Unsplash

The Problem

Using the extension concept to make your iOS development work easier

Photo by from Pexels
  1. Reduce Massive Controller Problem

Three simple steps to creating a native popup menu without needing any third-party libraries

Photo by from Pexels

Four simple steps to get started with UIScrollView in your iOS App

Photo by cottonbro from Pexels
  1. contentLayoutGuide
  2. frameLayoutGuide

The Implementation

The easiest way for adding a loading indicator to your asynchronous data view in under 5 minutes without any third-party code

Photo by Castorly Stock from Pexels

The Problem

How to add constraints programmatically


What is the problem with the Auto layout?

I want to create four methods :

  1. anchor : to pin a view with four edge
  2. setSize: to set a fixed size for a view
  3. center: to center a view
  4. proportionalSize : to set a percentage size with…

How to add centered UIActivityIndicator in UICollectionView using Autolayout

Mohannad Bakbouk

Full Stack Web & iOS Developer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store