Documentation Language: Swift

Method

attribute(named:)

Returns the string value of a named attribute.

func attribute(named n: String) -> String?

Parameters

n

The local attribute name to look up.

Return Value

The attribute value, or nil if no matching attribute exists.