We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 15233ec + e766351 commit 27f9ff4Copy full SHA for 27f9ff4
Foundation/NSXMLElement.swift
@@ -327,9 +327,10 @@ open class XMLElement: XMLNode {
327
328
extension XMLElement {
329
/*!
330
- @method setAttributesAsDictionary:
+ @method setAttributesAs:
331
@abstract Set the attributes base on a name-value dictionary.
332
- @discussion This method is deprecated and does not function correctly. Use -setAttributesWithDictionary: instead.
+ @discussion This method is deprecated and does not function correctly. Use -setAttributesWith: instead.
333
*/
334
+ @available(*, unavailable, renamed:"setAttributesWith")
335
public func setAttributesAs(_ attributes: [NSObject : AnyObject]) { NSUnimplemented() }
336
}
0 commit comments