Skip to content

Commit 2d0e585

Browse files
committed
silence warnings
1 parent 04910a3 commit 2d0e585

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Diff for: CalendarDemo/Calendar-Info.plist

+2
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@
3838
<array>
3939
<string>armv7</string>
4040
</array>
41+
<key>UIRequiresFullScreen</key>
42+
<true/>
4143
<key>UISupportedInterfaceOrientations</key>
4244
<array>
4345
<string>UIInterfaceOrientationPortrait</string>

Diff for: CalendarLib/MGCYearCalendarView.m

-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646
static const CGFloat kDefaultMonthHeaderFontSize = 20; // default font size for the month headers
4747
static const CGFloat kDefaultYearHeaderFontSize = 40; // deafult font size for the year headers
4848

49-
static const NSUInteger kYearsLoadingStepiPhone = 10; // number of years in a loaded page = 2 * kYearsLoadingStep + 1
5049
static const CGFloat kCellMinimumSpacingiPhone = 0; // minimum distance between month cells
5150
static const CGFloat kDefaultDayFontSizeiPhone = 7; // default font size for the day ordinals
5251
static const CGFloat kDefaultMonthHeaderFontSizeiPhone = 12; // default font size for the month headers

0 commit comments

Comments
 (0)