Eine aufbereitete Darstellung der Quelle

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

Benutzer

Quelle  ActivityIndicatorProxy.m  Sprache: unbekannt

 
Spracherkennung für: .m vermutete Sprache: Lisp {Lisp[25] Masm[25] Python[20]} [Methode: maximale Elemente, drei Dimensionen]

#import "ActivityIndicatorProxy.h"

#ifdef DEBUG
static const DDLogLevel ddLogLevel = DDLogLevelVerbose;
#else
static const DDLogLevel ddLogLevel = DDLogLevelWarning;
#endif

static id wiredActivityIndicator;

@implementation ActivityIndicatorProxy

+ (void)wireActivityIndicator:(id)activityIndicator {
    if ([activityIndicator respondsToSelector:@selector(startActivity)] == NO) {
        DDLogError(@"activityIndicator is required to implement 'startActivity'");
        return;
    }

    if ([activityIndicator respondsToSelector:@selector(stopActivity)] == NO) {
        DDLogError(@"activityIndicator is required to implement 'stopActivity'");
        return;
    }

    wiredActivityIndicator = activityIndicator;
}


+ (void)startActivity {
    if (wiredActivityIndicator) {
        [wiredActivityIndicator startActivity];
    }
}

+ (void)stopActivity {
    if (wiredActivityIndicator) {
        [wiredActivityIndicator stopActivity];
    }
}

@end

[Dauer der Verarbeitung: 0.7 Sekunden]

                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....
    

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1104845
#Domains=499263