Ich verwende ConFORM Nhibernate in einem meiner MVC-Projekt. Und hatte ein Problem mit One to Many Mappings. IEnumerable<Type> domainEntities = this.GetDomainEntities();
var relationalMapper =
Ich möchte eine Variable, die Protokoll entspricht, aber der schnelle Compiler sagt mir das Protokoll nicht bestätigt. protocol A {}
protocol B {
var a : A { get }
}
class AA : A {}
// Type '
Ich habe Conform-Konfiguration in einer Phoenix-App funktioniert. Dies erfordert eine Freischaltung. Für Entwicklungszwecke möchten wir die gleiche Konfigurationstechnik verwenden, jedoch nicht jedes
sagen, dass ich ein Protokoll haben protocol A: class {
func configure(view: UIView)
}
Jetzt habe ich zu diesem Protokoll entsprechen wollen, UILabel als Unterklasse von UIView final class B: