Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
macOS & iOS Developer Playground
iOS Development
Can’t view Storyboard and swift code on the same screen
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Rocky48" data-source="post: 1878960" data-attributes="member: 398352"><p>I am just started to learn iOS programming using Xcode.</p><p>This may seem a silly question but I can't figure out how to set the screen to show the storyboard on the left and the swift code on the right. I am new to Xcode and am working through an exercise and need the Storyboard scenes and the specific swift file where I need to drag from the scene to the swift file. I have clicked on Assistant and the assistant editor should be set to Automatic > LocationViewController.swift. When I click on Assistant with Storyboard selected, it says no Assistant results, if I click on the swift file in the tabs I get 2 copies of the swift file??</p><p>I have looked for a tutorial or info on the web but can't find any info on this topic.</p><p>Would this be the reason?</p><p>[CODE]Code Block 2021-03-18 17:54:41.850809+0000 LetsEat2[11993:109147] [Storyboard] Unknown class _TtC8LetsEat222locationViewController in Interface Builder file.</p><p>2021-03-18 17:54:41.878913+0000 LetsEat2[11993:109147] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<UIViewController 0x121a05cb0> setValue:forUndefinedKey:]:</p><p>this class is not key value coding-compliant for the key tableView.'[/CODE]</p><p></p><p></p><p>How do I solve the error? </p><p></p><p>Could someone please help?</p></blockquote><p></p>
[QUOTE="Rocky48, post: 1878960, member: 398352"] I am just started to learn iOS programming using Xcode. This may seem a silly question but I can't figure out how to set the screen to show the storyboard on the left and the swift code on the right. I am new to Xcode and am working through an exercise and need the Storyboard scenes and the specific swift file where I need to drag from the scene to the swift file. I have clicked on Assistant and the assistant editor should be set to Automatic > LocationViewController.swift. When I click on Assistant with Storyboard selected, it says no Assistant results, if I click on the swift file in the tabs I get 2 copies of the swift file?? I have looked for a tutorial or info on the web but can't find any info on this topic. Would this be the reason? [CODE]Code Block 2021-03-18 17:54:41.850809+0000 LetsEat2[11993:109147] [Storyboard] Unknown class _TtC8LetsEat222locationViewController in Interface Builder file. 2021-03-18 17:54:41.878913+0000 LetsEat2[11993:109147] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<UIViewController 0x121a05cb0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key tableView.'[/CODE] How do I solve the error? Could someone please help? [/QUOTE]
Verification
Post reply
Forums
macOS & iOS Developer Playground
iOS Development
Can’t view Storyboard and swift code on the same screen
Top