AKPickerView-Swift
AKPickerView-Swift copied to clipboard
Log warnings in Swift 3 + XCode 8
Just migrated my project that uses this library to Swift 3.0, it works but I have these warnings:
2016-09-21 12:43:37.621 MyApp[261:22982] the behavior of the UICollectionViewFlowLayout is not defined because:
2016-09-21 12:43:37.622 MyApp[261:22982] the item height must be less than the height of the UICollectionView minus the section insets top and bottom values, minus the content insets top and bottom values.
2016-09-21 12:43:37.622 MyApp[261:22982] Please check the values return by the delegate.
2016-09-21 12:43:37.624 MyApp[261:22982] The relevant UICollectionViewFlowLayout instance is <_TtC18AKPickerView_SwiftP33_5835361EBAB06A1606BA941DE6A5477B22AKCollectionViewLayout: 0x16ed3e10>, and it is attached to <UICollectionView: 0x170e6000; frame = (0 0; 691 50); clipsToBounds = YES; autoresize = W+H; gestureRecognizers = <NSArray: 0x16d64f20>; layer = <CALayer: 0x16d65240>; contentOffset: {0, 0}; contentSize: {0, 0}> collection view layout: <_TtC18AKPickerView_SwiftP33_5835361EBAB06A1606BA941DE6A5477B22AKCollectionViewLayout: 0x16ed3e10>.
2016-09-21 12:43:37.624 MyApp[261:22982] Make a symbolic breakpoint at UICollectionViewFlowLayoutBreakForInvalidSizes to catch this in the debugger.
+1