to anything within a class or protocol that’s marked with the @objc attribute as long as it’s compatible with Objective-C. This excludes Swift-only features such as those listed here: Generics Tuples Enumerations defined in Swift without Int raw value type Structures defined in Swift Top-level functions defined in Swift Global variables defined in Swift Typealiases defined in Swift Swift-style variadics Nested types Curried functions https://developer.apple.com/library/ios/documentation/Swift/ Conceptual/BuildingCocoaApps/MixandMatch.html#//apple_ref/doc/ uid/TP40014216-CH10-ID122
"channelInfo" } struct Cells { static let channelCell = "channelCell" } struct ReuseView { static let sectionHeader = "header" } } Swift will make your life easier Define Segues, Identifier, and so forth
collectionView?.indexPathsForSelectedItems()?.first) { case let(Storyboard.Segues.info?, controller as InfoController, index?): controller.channel = channels?.get(index.row) default: break } } Swift will make your life easier Pattern Match Your Life
S } let wizardFlow: [StateFlow<WizardState, WizardConfig>] = [ from(.Init).to { config in if config.useCustomSeletion { return .ComponentWizard } return .ComponentSelection } ] Swift will make your life easier Double Down on Types