There are multiple libraries for calendar e.g. JTAppleCalendar and some in awesome-ios list.
If you would like to make it from scratch you can do it programmatically the following way:
- Create UIScrollView
- Add a grid inside it: lines would be UIView’s with width/height of 1
- Add UILabel’s with hours inside it
- Add each appointment as UIView with UILabel inside it
CLICK HERE to find out more related problems solutions.