• 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
Re: Hurdles in converting to Swift
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hurdles in converting to Swift


  • Subject: Re: Hurdles in converting to Swift
  • From: Quincey Morris <email@hidden>
  • Date: Wed, 23 Dec 2015 17:49:20 -0800
  • Feedback-id: 167118m:167118agrif8a:167118sgXQfeKjiA:SMTPCORP

On Dec 23, 2015, at 17:38 , John Brownie <email@hidden <mailto:email@hidden>> 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.)
_______________________________________________

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: John Brownie <email@hidden>
References: 
 >Hurdles in converting to Swift (From: John Brownie <email@hidden>)

  • Prev by Date: Re: Hurdles in converting to Swift
  • Next by Date: Re: Hurdles in converting to Swift
  • Previous by thread: Re: Hurdles in converting to Swift
  • Next by thread: Re: Hurdles in converting to Swift
  • Index(es):
    • Date
    • Thread