---
title: synchronize()
framework: coregraphics
role: symbol
role_heading: Instance Method
path: coregraphics/cgcontext/synchronize()
---

# synchronize()

Marks a window context for update.

## Declaration

```swift
func synchronize()
```

## Discussion

Discussion When you call this function, all drawing operations since the last update are flushed at the next regular opportunity. Under normal conditions, you do not need to call this function.

## See Also

### Managing a Graphics Context

- [flush()](coregraphics/cgcontext/flush().md)
- [setBlendMode(_:)](coregraphics/cgcontext/setblendmode(_:).md)
- [CGBlendMode](coregraphics/cgblendmode.md)
- [setRenderingIntent(_:)](coregraphics/cgcontext/setrenderingintent(_:).md)
