STANDALONE GIMI IS DEPRECATED! Please use XXMI loader instead, which will automatically load the required files and libraries. The guides and scripts on this github are outdated, but still contain useful information
❓How to dynamically insert or delete some elements(怎么动态的插入或者删除一组元素)
You can change the element properties of the opposite side of the TableView’s Sections array and then call reloadData.(您可以更改TableView的Sections数组的另一侧的元素属性,然后调用reloadData。)
❓How to listen to other agents of UIScrollView(怎么监听UIScrollView其他代理方法)
public struct ScrollViewDelegate {
public var scrollViewDidScroll:((_ scrollView: UIScrollView) -> Void)?
public var scrollViewWillBeginDragging:((_ scrollView: UIScrollView) -> Void)?
public var scrollViewWillEndDragging:((_ scrollView: UIScrollView, _ velocity: CGPoint, _ targetContentOffset: UnsafeMutablePointer<CGPoint>) -> Void)?
public var scrollViewDidEndDragging:((_ scrollView: UIScrollView, _ decelerate: Bool) -> Void)?
public var scrollViewWillBeginDecelerating:((_ scrollView: UIScrollView) -> Void)?
public var scrollViewDidEndDecelerating:((_ scrollView: UIScrollView) -> Void)?
}
Can implement the above proxy method of UITableView(可以实现`UITableView的上述代理方法)
Example
tableView.scrollDelegate?.scrollViewDidScroll = { scrollView in
}
I feel that there are too few supported features.(我觉得支持的功能太少了。)
typora-copy-images-to: ../SwiftTableViewGroup/images/ typora-root-url: ../SwiftTableViewGroup
SwiftTableViewGroup
Completionas an example)SysctlNamespaceSysctlNamespace.FieldSysctlValueandSysctlValueRepresentableStringNSCacheStorageGETrequestPOSTrequest and decode the response JSONSVGImageViewCAShapeLayerQueryBuilderArrayRawSQL.vueImports in TS.markdownStyle()package.json参考格式-spark-uos-52json-cgit,gccandcmakevcpkglibjson-cmodel_runner.pybmodel模型工具async/awaitJavaScriptEventLoopactivation in XCTest suitesScrollViewObserverScrollViewOffsetMonitorScrollViewVisibilityTogglerWaveformView- renders a one-off waveform from an audio file:WaveformLiveCanvas- renders a live waveform from(0...1)normalized samples:WaveformImageView- renders a one-off waveform from an audio file:WaveformLiveView- renders a live waveform from(0...1)normalized samples:WaveformImageDrawer- creates aUIImagewaveform from an audio file:WaveformAnalyzer- calculates an audio file’s waveform sample:async/awaitSupportheight: CGFloatisRelativeToSafeArea: BoolgradientColors: [UIColor]progressAnimationDuration: TimeIntervalfadeIn(duration:completion)fadeOut(duration:completion)gradientColors: [UIColor]progressAnimationDuration: TimeIntervalgradientColors: [Color]:progressDuration: TimeInterval:UIScrollView(怎么监听UIScrollView其他代理方法)代码例子
ChangeLog(更新记录)
v2.0.0
UICollectionViewdata driver(支持UICollectionView数据驱动)Apiis easier to use(更改Api使用更简单)安装
Swift Package Manager(Xcode 11)
CocoaPods
Carthage
Claim(要求)
Xcode11Swift5.1How to use(怎么使用)
UITableView
Fake code(伪代码)
Create a static text list(创建一个简单的列表)
Create complex TableView(创建复杂的表格)
Dynamic change quantity(动态更改数量)
Dynamic height(动态修改高度)
UICollectionView
Problem
❓How to dynamically insert or delete some elements(怎么动态的插入或者删除一组元素)
❓How to listen to other agents of
UIScrollView(怎么监听UIScrollView其他代理方法)Example
I feel that there are too few supported features.(我觉得支持的功能太少了。)
Api Document(Api 文档)
contact me