---
title: "objc_setCollectionRatio(_:)"
framework: Objective-C Runtime
role: symbol
role_heading: Function
path: "objectivec/objc_setcollectionratio(_:)"
---

# objc_setCollectionRatio(_:)

## Declaration

```swift
func objc_setCollectionRatio(_ ratio: Int)
```

## See Also

### Functions

- [autoreleasepool(invoking:)](objectivec/autoreleasepool(invoking:).md)
- [class_lookupMethod(_:_:)](objectivec/class_lookupmethod(_:_:).md)
- [class_respondsToMethod(_:_:)](objectivec/class_respondstomethod(_:_:).md)
- [objc_addExceptionHandler(_:_:)](objectivec/objc_addexceptionhandler(_:_:).md)
- [objc_addLoadImageFunc(_:)](objectivec/objc_addloadimagefunc(_:).md)
- [objc_assertRegisteredThreadWithCollector()](objectivec/objc_assertregisteredthreadwithcollector().md)
- [objc_begin_catch(_:)](objectivec/objc_begin_catch(_:).md)
- [objc_clear_stack(_:)](objectivec/objc_clear_stack(_:).md)
- [objc_collect(_:)](objectivec/objc_collect(_:).md)
- [objc_collectableZone()](objectivec/objc_collectablezone().md)
- [objc_collecting_enabled()](objectivec/objc_collecting_enabled().md)
- [objc_collectingEnabled()](objectivec/objc_collectingenabled().md)
- [objc_end_catch()](objectivec/objc_end_catch().md)
- [objc_enumerateClasses(fromImage:matchingNamePrefix:conformingTo:subclassing:)](objectivec/objc_enumerateclasses(fromimage:matchingnameprefix:conformingto:subclassing:).md)
- [objc_exception_rethrow()](objectivec/objc_exception_rethrow().md)
