Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

iOS Build an Interactive Story App with Swift Creating a Story Helper Methods

Kapil Soni
Kapil Soni
2,612 Points

Why in Xcode there is error Popping up saying that enum case .some not found in type Page.Choice?

does Swift 4 made some changes to the enum .some and .none ? how should we find the changes if in swift 4 through documentation?

1 Answer

Jason Anders
MOD
Jason Anders
Treehouse Moderator 145,545 Points

Hi,

I'm not sure I understand your question. Swift 4(beta) isn't scheduled for release until later this fall (and hasn't been released early to my knowledge), so you are probably using Swift 3.

But without seeing all of your code / files, it is really difficult to help troubleshoot, otherwise.
If you could be more specific with what you are doing and the error you are receiving, plus posting your code (Please refer to the Markdown CheatSheet link below Post button for proper formatting of code blocks before posting) will help others be able to fully assist you.

Hopefully we can help you. :dizzy:

Kapil Soni
Kapil Soni
2,612 Points

Sorry i found that the xcode get upset sometime which make it spit wierd issues. the code works fine.

Kapil Soni
Kapil Soni
2,612 Points

Hi Jason, I need a help, I am having a difficult time visualizing what is happening in codes eg : - in this example, we created class Page then we use constant and assigned Story to it, initialize it, then when we use extension and created method it gets messed up , is their tools to visualize the code ? I had used a UML diagram but it's not that useful any other tool or any guide to master the code visualization in mind while reading and writing code?