Changeset 554 for trunk


Ignore:
Timestamp:
07/18/09 05:59:43 (10 years ago)
Author:
Nicholas Riley
Message:

Fix naming to pacify Clang Analyzer and comply with Cocoa rules.

Location:
trunk/Cocoa/Pester/Source
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cocoa/Pester/Source/PSMovieAlert.m

    r544 r554  
    9898- (void)triggerForAlarm:(PSAlarm *)alarm;
    9999{
    100     [PSMovieAlertController controllerWithAlarm: alarm movieAlert: self];
     100    [PSMovieAlertController newControllerWithAlarm: alarm movieAlert: self];
    101101}
    102102
  • trunk/Cocoa/Pester/Source/PSMovieAlertController.h

    r543 r554  
    2222}
    2323
    24 + (PSMovieAlertController *)controllerWithAlarm:(PSAlarm *)anAlarm movieAlert:(PSMovieAlert *)anAlert;
     24// note: retains itself until the alert completes
     25+ (PSMovieAlertController *)newControllerWithAlarm:(PSAlarm *)anAlarm movieAlert:(PSMovieAlert *)anAlert;
    2526
    2627- (id)initWithAlarm:(PSAlarm *)anAlarm movieAlert:(PSMovieAlert *)anAlert;
  • trunk/Cocoa/Pester/Source/PSMovieAlertController.m

    r543 r554  
    1616@implementation PSMovieAlertController
    1717
    18 + (PSMovieAlertController *)controllerWithAlarm:(PSAlarm *)anAlarm movieAlert:(PSMovieAlert *)anAlert;
     18+ (PSMovieAlertController *)newControllerWithAlarm:(PSAlarm *)anAlarm movieAlert:(PSMovieAlert *)anAlert;
    1919{
     20    // retained until the alert completes
    2021    return [[self alloc] initWithAlarm: anAlarm movieAlert: anAlert];
    2122}
Note: See TracChangeset for help on using the changeset viewer.