The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
画像選択時に背景色を選べるように修正
1 year ago
## Update porotocol
**APScrollingHeaderViewDatasource**
```
func headerBackgroundImageColor(_ apScrollingHeaderView: APScrollingHeaderView) -> UIColor {
// FIXME: return the color you want
}
```
Fix ClipsToBounds
2 years ago
子ビューでClipsToBoundsを設定するように修正しました。
色、フォントを変更できるように修正
2 years ago
色、フォントを変更できるように修正
```
let layout = APSegmentControllerLayout()
layout = .red
layout = UIFont.boldSystemFont(ofSize: 20)
```
ボタンの幅を選択できるモードの作成
2 years ago
ボタンの幅を固定もしくは可変に設定できるように修正
```
public enum Mode {
case constant
case fit
}
```
設定方法は以下のように
```
let layout = APSegmentControllerLayout()
layout.contentMode = .fit
```
change class name as below
* APScrollHeaderViewDatasource → APScrollingHeaderViewDatasource
CoverHeaderの作成
2 years ago
使い方
* [APScrollingHeaderViewCover](https://github.com/Lacicu/swift-common-parts/blob/master/demo.swiftpm/Source/UIKItExampleModule/controller/APScrollingHeaderViewCoverTest.swift)
fix delegate param
2 years ago
* fix delegate param to not conflict with other functions
Create SegmentController
2 years ago