• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Hurdles in converting to Swift
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Hurdles in converting to Swift


  • Subject: Hurdles in converting to Swift
  • From: John Brownie <email@hidden>
  • Date: Thu, 24 Dec 2015 11:38:53 +1000

I have a fairly simple iOS application that was working in Objective-C, and which I've now rewritten in Swift, by rewriting each class and removing the old .m and .h files, and keeping the storyboard. However, it falls over immediately with the console message:

2015-12-24 10:43:40.664 AppName[10464:1086828] Unknown class SearchViewController in Interface Builder file.

After that, it crashes with an uncaught exception (which looks like it's related to the above):

2015-12-24 10:43:40.707 AppName[10464:1086828] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<UIViewController 0x7b83a990> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key activityIndicator.'

Of course, there is an appropriate class called SearchViewController in the application, and it has an outlet activityIndicator, and it's set as the class for one scene. I've cleaned the build folder, but it still happens.

Any wisdom on how to proceed?

John
--
John Brownie, email@hidden or email@hidden
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@hidden)

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:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Hurdles in converting to Swift
      • From: Quincey Morris <email@hidden>
    • Re: Hurdles in converting to Swift
      • From: Roland King <email@hidden>
  • Prev by Date: Re: Frameworks in the Helper LoginItems app
  • Next by Date: Re: Hurdles in converting to Swift
  • Previous by thread: Re: Frameworks in the Helper LoginItems app
  • Next by thread: Re: Hurdles in converting to Swift
  • Index(es):
    • Date
    • Thread