Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Threema/Threema/SharedUI/Details/   (Social Medium ©)  Datei vom 26.9.2026 mit Größe 694 B image not shown  

Quelle  DetailsConfiguration.swift   Sprache: JAVA

 

import Foundation

/// Configuration used by multiple detail views
///
/// Normally you don't create your own implementation but use the default implementation
protocol DetailsConfiguration {
    /// Size of the big profile picture
    var profilePictureSize: CGFloat { get }
    
    /// Font for contact or group name. Based on current dynamic type setting.
    var nameFont: UIFont { get }
}

// Default implementation
extension DetailsConfiguration {
    var profilePictureSize: CGFloat { 120 }
    
    var nameFont: UIFont {
        let title2Font = UIFont.preferredFont(forTextStyle: .title2)
        return UIFont.systemFont(ofSize: title2Font.pointSize + 2, weight: .semibold)
    }
}

Messung
CHZG
859710094

¤ 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.