-
-
Save fitomad/bd5e30020763432792680e513b9cb4aa to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Foundation | |
public class Usuario: NSObject | |
{ | |
/// Nombre del usuario. | |
/// Propiedad de la que queremos saber sus cambios | |
@objc dynamic public var nombre: String | |
/** | |
Creamos un nuevo usuario | |
*/ | |
public init(named nombre: String) | |
{ | |
self.nombre = nombre | |
super.init() | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment