Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The static TBXML helper methods to get name/text/values out of elements will crash if you pass a nil element. #14

Closed
wants to merge 1 commit into from

Conversation

mmacdermaid
Copy link

Added nil checks for [TBXML elementName:], [TBXML attributeName:], [TBXML attributeValue:], and [TBXML textForElement:], if you pass in nil you will receive an EXC_BAD_ACCESS instead of returning empty string.

…BXML attributeValue:], and [TBXML textForElement:], if you pass in nil you will receive an EXC_BAD_ACCESS instead of returning emptystring
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant