<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Hey everyone,<div></div><div><br></div><div>One of the things that came up in a code review today was the type of KVO's context param. If you look at the function signature it gets imported as <i>UnsafeMutableRawPointer?. </i>Is there ever a need to mutate this parameter, and if not can we change it to be <i>UnsafeRawPointer? </i>instead?</div><div><br></div><div>We commonly define a constant (e.g. kvoContext = 0) to pass in, but in Swift we have to make it mutable (which we'd rather not do). Is there another workaround? How is everyone else handling this? (We avoid KVO whenever possible, but some APIs require it.)</div><div><br></div><div>Thanks,</div><div><br></div><div>-Tyler</div></body></html>