---
title: "update(with:)"
framework: coregraphics
role: symbol
role_heading: Instance Method
path: "coregraphics/cgbitmapinfo/update(with:)"
---

# update(with:)

## Declaration

```swift
@discardableResult mutating func update(with newMember: CGBitmapInfo) -> CGBitmapInfo?
```
