Changeset 42

Show
Ignore:
Timestamp:
04/17/05 22:19:28 (4 years ago)
Author:
kevin
Message:

Remove last remaining #define NSStrings
Update TODO

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Controller.h

    r17 r42  
    11#import <Cocoa/Cocoa.h> 
    22#import <Security/Security.h> 
    3  
    4 #define remoteVersionURL @"http://www.sshkeychain.org/latestversion.xml" 
    53 
    64@protocol UI 
  • trunk/TODO

    r36 r42  
    1818 
    1919The Early Spring Code Cleanup: 
    20  
    21 - #define NSStrings is rubbish 
    22 - Constants should start uppercase 
    2320- Check retain/release 
    2421- Implement dealloc for all classes containing iVars 
     
    2724- Move local() to a macro (http://developer.apple.com/intl/localization/tools.html) 
    2825 
     26The Early Spring Code Cleanup DONE: 
     27- #define NSStrings is rubbish 
     28- Constants should start uppercase 
  • trunk/UpdateController.h

    r17 r42  
    11#import <Cocoa/Cocoa.h> 
    22#import <Security/Security.h> 
    3  
    4 #define remoteVersionURL @"http://www.sshkeychain.org/latestversion.xml" 
    53 
    64@interface UpdateController : NSObject 
  • trunk/UpdateController.m

    r28 r42  
    22 
    33#include "SSHKeychain_Prefix.pch" 
     4 
     5NSString *RemoteVersionURL = @"http://www.sshkeychain.org/latestversion.xml"; 
    46 
    57UpdateController *sharedUpdateController; 
     
    4547        NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; 
    4648 
    47         remoteVersionInfo = [NSDictionary dictionaryWithContentsOfURL:[NSURL URLWithString:remoteVersionURL]]; 
     49        remoteVersionInfo = [NSDictionary dictionaryWithContentsOfURL:[NSURL URLWithString:RemoteVersionURL]]; 
    4850 
    4951        if(!remoteVersionInfo)