<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div><blockquote type="cite" class=""><div class=""><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><div class="">XMLParser’s delegate is unowned, so it’s being deallocated when you exit the current scope. Hold on to it with a strong reference:</div><div class=""><br class=""></div><div class="">let delegate = ParserDelegate()</div><div class="">xmlParser.delegate = delegate</div></div></div></blockquote><br class=""></div><div>Wow!</div><div>Need to brush-up my understanding of Swift ‘pointers’</div><div><br class=""></div><div>Thank you.</div></body></html>