【发布时间】:2021-11-07 00:44:11
【问题描述】:
我一直在阅读以试图理解它。你可以在这里看到dictionaryWithObjects:objects 需要一个对象和键数组:
NSDictionary *dictionary = [NSDictionary dictionaryWithObjects:objects
forKeys:keys
count:count];
https://developer.apple.com/documentation/foundation/nsdictionary#overview
但是initWithObjectsAndKeys_ 只有一个输入对象? ??????????♂️
unsafe fn initWithObjectsAndKeys_(self, firstObject: *mut Object) -> *mut Object
【问题讨论】:
标签: objective-c cocoa rust nsdictionary