You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a reason why this method isn't named add?
public func insert(child node: Node) {
xmlAddChild(xmlNode, node.xmlNode)
}
The underlying API uses the term 'add'. To me insert means the method should take an index, or maybe the node will be put in the front of the children list.
Is there a reason why this method isn't named
add?The underlying API uses the term 'add'. To me
insertmeans the method should take an index, or maybe the node will be put in the front of the children list.