Consider this simple code fragment:
class Class1
{
func fun1 () {}
func fun2 () {}
}
class Class2
{
func fun1 () {}
func fun2 () {}
}
iMenu only shows the top-level entities:

However, putting the { on the same line as the class names makes it work as expected:
class Class1 {
func fun1 () {}
func fun2 () {}
}
class Class2 {
func fun1 () {}
func fun2 () {}
}

It would be nice if this could be fixed, as Xcode copes with either version correctly 😄

Thanks,
Mike