Swift computed variable blocks should be foldable in Xcode.

Originator:martin.j.nash
Number:rdar://20230319 Date Originated:3/19/2015
Status:Duplicate of 17188139 Resolved:
Product:Xcode Product Version:>= 6.0
Classification:Enhancement Reproducible:always
 
class FoldableThing {
    
    // class block is foldable
    
    func foldableFunction() -> String {
        return "I am foldable :)"
    }
    
    var unfoldableVar: String {
        return "I can't be folded :("
    }
    
}

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!