xcode - iOS Swift Error - Objective C method ... provided by method -


what error mean? code compiled fine previous week. noticed when change func parser func something, there no compilation errors, method, obviously, not work @ runtime , shows no output.

any ideas?

enter image description here

**error :** objective-c method 'parser:didstartelement:namespaceuri:qualifiedname:attributes:' provided method 'parser(_:didstartelement:namespaceuri:qualifiedname:attributes:)' conflicts optional requirement method 'parser(_:didstartelement:namespaceuri:qualifiedname:attributes:)' in protocol 'nsxmlparserdelegate' 

if @ docs or headers, see how declare method:

func parser(parser: nsxmlparser,  didstartelement elementname: string,     namespaceuri namespaceuri: string?,    qualifiedname qualifiedname: string?,       attributes attributedict: [nsobject : anyobject]) 

as can see, types different types using. need fix yours match these exactly.


Comments

Popular posts from this blog

css - SVG using textPath a symbol not rendering in Firefox -

Java 8 + Maven Javadoc plugin: Error fetching URL -

order - Notification for user in user account opencart -