Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

Quelle  ThreemaMacros.swift   Sprache: JAVA

 

/// Takes a key of type `String` and tries to look up a localized string for the current language set. If no matching
/// string is found it tries falls back to English. If that does no succeed to, then it returns the key itself.
///
///     #localize("key")
///
///     will expand to
///
///     String(localized: "key", defaultValue: BundleUtil.localizedString(for: "key"))"
///
/// - Parameter value: The key of the localized text
@freestanding(expression)
public macro localize<T>(_ value: T) -> String = #externalMacro(
    module: "ThreemaMacrosMacros",
    type: "LocalizationMacro"
)

/// Adds for an entity property a static variable for the field name and the encrypted field
/// name and its KVO function to trigger the observers for that property.
///
///     @EncryptedField(name: "bla")
///     @objc public dynamic var text: String
///
///     will expand to
///
///     @objc public dynamic var text: String
///     private static let textName = "bla"
///     private static let encryptedTextName = "blaEncrypted"
///     @objc class func keyPathsForValuesAffectingText() -> Set<NSObject> {
///         return [NSString(string: Self.encryptedTextName)]
///     }
///
/// - Parameter name: The field name, can be used if is different to the property name
@attached(peer, names: arbitrary)
public macro EncryptedField(name: String? = nil) = #externalMacro(
    module: "ThreemaMacrosMacros",
    type: "EncryptedFieldMacro"
)

Messung
CHZG
849710093

¤ Dauer der Verarbeitung: 0.2 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover


Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....
    

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1104856
#Domains=417374