build for iOS7 in xcode 5.1.1 This is a sample code for a custom calendar . We can change many properties, but It cost memory.When you change the month and redraw the calendar,it cost 1 MB memory.