Menu Home

Adding stored properties to an extension

Almost every iOS developer already faced this not-so-friendly message: Yeah. Extensions cannot contain stored properties. If you need to add a property to a native component, you must create your own button inheriting from UIButton. In my opinion, creating your own button using a UIButton inheritance is the best way […]