lry

Results 4 issues of lry

commonInit 方法中自定义一个UICollectionViewFlowLayout, 代替系统默认的。 ``` class JXCollectionViewFlowLayout : UICollectionViewFlowLayout { override var flipsHorizontallyInOppositeLayoutDirection: Bool { get { if #available(iOS 9.0, *) { return UIView.appearance().semanticContentAttribute == .forceRightToLeft } else { return false...

实现NSTimer对ZYBannerView的弱引用。即使不调用stopTimer也能释放ZYBannerView

YYTextView.placeholderFont 设置为PingFang字体,placeholder不显示。 debug后发现,在YYTextLayout.m 494行 ` ctSetter = CTFramesetterCreateWithAttributedString((CFTypeRef)text); ` ` if (!ctSetter) goto fail; ` ` ctFrame = CTFramesetterCreateFrame(ctSetter, YYCFRangeFromNSRange(range), cgPath, (CFTypeRef)frameAttrs); ` 计算平方字体会出错,ctFrame值不对,系统默认字体正常。 看有没有解决方案

需要去网上查找解压脚本 https://github.com/nalansitan/my_unzip