<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 class="">Thanks Brent!</div><div class=""><br class=""></div><div class="">This solved my different but related issue on iOS:</div><div class=""><br class=""></div><div class="">Taking the standard template for a Master-Detail Application with Core Data and making all the changes so that it compiles, leads to&nbsp;<span style="color: rgb(112, 61, 170); font-family: Menlo; font-size: 11px;" class="">NSFetchedResultsControllerDelegate</span>’s&nbsp;<span style="font-family: Menlo; font-size: 11px; font-variant-ligatures: no-common-ligatures; color: rgb(49, 89, 93);" class="">controller</span><span style="font-family: Menlo; font-size: 11px; font-variant-ligatures: no-common-ligatures;" class="">(</span><span style="font-family: Menlo; font-size: 11px; font-variant-ligatures: no-common-ligatures; color: rgb(187, 44, 162);" class="">_</span><span style="font-family: Menlo; font-size: 11px; font-variant-ligatures: no-common-ligatures;" class="">:didChange:at:</span><span style="font-family: Menlo; font-size: 11px; font-variant-ligatures: no-common-ligatures; color: rgb(187, 44, 162);" class="">for</span><span style="font-family: Menlo; font-size: 11px; font-variant-ligatures: no-common-ligatures;" class="">:newIndexPath:)</span><span style="font-variant-ligatures: no-common-ligatures;" class="">&nbsp;function&nbsp;</span>not being called.</div><div class="">Adding&nbsp;<span style="font-family: Menlo; font-size: 11px; font-variant-ligatures: no-common-ligatures; color: rgb(187, 44, 162);" class="">@objc</span><span style="font-family: Menlo; font-size: 11px; font-variant-ligatures: no-common-ligatures;" class="">(controller:didChangeObject:atIndexPath:forChangeType:newIndexPath:)</span>&nbsp;makes it get called. Fantastic!</div><div class=""><br class=""></div><div class="">Thanks!</div><div class=""><br class=""></div><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">- Dennis</div></div>

</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On Apr 17, 2016, at 9:09 PM, Brent Royal-Gordon &lt;<a href="mailto:brent@architechies.com" class="">brent@architechies.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div class=""><blockquote type="cite" class="">The app builds fine. &nbsp;&nbsp;Running the app gives me errors such as "Must implement numberOfRowsInTableView: and tableView:objectValueForTableColumn:row:” when the swiftified version "numberOfRows(in tableView: NSTableView) -&gt; Int” and the required methods to support a view based table exist -- unless I got them wrong. &nbsp;<br class=""></blockquote><br class="">You may need to give the Objective-C versions of the method names in @objc(foo) attributes.<br class=""><br class="">-- <br class="">Brent Royal-Gordon<br class="">Architechies<br class=""><br class=""></div></div></blockquote></div><br class=""></body></html>