On 24/12/2015 11:49, Quincey Morris wrote:
On Dec 23, 2015, at 17:38 , John Brownie <[email protected] 
<mailto:[email protected]>> wrote:
2015-12-24 10:43:40.664 AppName[10464:1086828] Unknown class 
SearchViewController in Interface Builder file.
Try going to the inspector in IB and remove the class name 
SearchViewController, and make sure both the class and module fields are empty. 
Then choose the class name from the popup menu beside the text field.

In the current version of Xcode, the module field should say “Current — <your app 
module name>” in gray.  IIRC in older versions, you needed to choose/type the 
module name explicitly.

(I went the long way around, but I suspect your problem is that the Swift 
module name is missing, which is causing IB to assume the view controller class 
is an Obj-C class name.)

It looks as though my original reply didn't make it, but this was the problem, and both following Quincey's instructions and directly selecting my app's name in the module field worked to make it all running correctly again.

Thanks to Quincey and others who offered suggestions!

John
--
John Brownie, [email protected] or [email protected]
Summer Institute of Linguistics, Ukarumpa, Eastern Highlands Province, Papua New Guinea
Mussau-Emira language, Mussau Island, New Ireland Province, Papua New Guinea
_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to