# `GSFlowSegmentedControl.segmentCount`

*Instance Property*

Number of segments. Increasing this appends new (empty) segments; decreasing it removes segments from the trailing end.

## Declaration

```swift
var segmentCount: Int { get set }
```

```objc
@property (nonatomic, assign) NSInteger segmentCount;
```

```python
segmentCount() -> int
setSegmentCount_(segmentCount: int)
```

