Thanks, eskimo.
I notice another post with a similar issue:.
The header file for the framework had the following protocol...
@protocol itemSDK <NSObject>
- (SDK_RESULT) getAvailableItemList:(NSMutableArray**)itemList;
// ...
@end
I tested this specific API with the "standard pattern" and it does not fail. I will give it a try with the many other SDK interfaces for this framework and see if this can be the best solution. BTW, where is the standard pattern documented as the proper way to pass a value for an AutoreleasingUnsafeMutablePointer?. I found very few examples and most assign an initial value. I reviewed many of the videos from WWDC on unsafe pointers but none cover this particular pointer. Maybe I missed something.
Topic:
Programming Languages
SubTopic:
Swift
Tags: