Tags » CALayer

How to Create Top/Bottom Rounded Corners for Views and Buttons

I know how to create rounded corners of a view or button. But what if I just want to create a view with top/bottom rounded corners only? 728 more words


Tutorial: Creating CAShapeLayers using UIBezierPaths

Icons are essential in iOS development. They can be used to display navigational information throughout your application, many of which will be familiar to the user, such as the search and home icon, as they are similar throughout app design. 633 more words


Add shadow to UIView on all sides in Swift 4

In this video, we are going to learn how to add shadow to UIView in swift. Shadow will be added to all sides of UIView. We will learn about shadowColor, shadowOffset, shadowOpacity, shadowRadius properties of UIView’s layer. 7 more words


Progress Indicator v1

Idea behind this post is described in UIBezierPath, CAAnimation and Swift article.


  1. Indicator should be a subclass of UIView
  2. Shapes in the indicator have to be like drops…
  3. 409 more words

UIBezierPath, CABasicAnimation and Swift


Target of this post is to create an easy-to-use progress indicator class written in Swift 4.0.


In this post we need to define a set of actors in order to make it clear how to write the best API. 127 more words