Xcode-beta (8S128d): IceCreamBuilder Sample app broken in Beta 2 (with workaround)

Originator:aralbalkan
Number:rdar://27393624 Date Originated:17-Jul-2016 05:39 PM
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode-beta (8S128d)
Classification:Serious Bug Reproducible:Always
 
Summary:

1. Does not compile (requires update to Swift 3 syntax)
2. After update, MessagesViewController → buildIceCreamViewController() doesn’t compile.

Workaround:

        // Add the message to the conversation.
        conversation.insert(message, localizedChangeDescription: nil) { error in
            if let error = error {
                print(error)
            }
        }

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!