Skip navigation.
 
mlRe: Does this caution need fixed? (newb)
FROM : Jens Alfke
DATE : Wed Jul 09 17:27:53 2008

On 9 Jul '08, at 7:44 AM, Chris Paveglio wrote:

> I'm trying to make sure that this part of my code is good and clean 
> and not leaking. I believe that I have it right (but still think I 
> have something wrong).


It looks OK to me on quick reading. The main thing I'd change is to 
put the path strings into a plist, or at least put the string literals 
directly into the NSArray initializer lines instead of declaring 
separate variables for them, i.e.
   myPrefs = [NSArray arrayWithObjects: @"Library/Preferences/Adobe 
Photoshop CS3 Settings",
                               @"Adobe Photoshop CS3 Settings",
                               ..........., nil];
but that's just an issue of style.

—Jens

Related mailsAuthorDate
mlDoes this caution need fixed? (newb) Chris Paveglio Jul 3, 18:40
mlRe: Does this caution need fixed? (newb) Andy Lee Jul 3, 19:35
mlRe: Does this caution need fixed? (newb) Kyle Sluder Jul 3, 19:47
mlRe: Does this caution need fixed? (newb) Chris Paveglio Jul 3, 20:57
mlRe: Does this caution need fixed? (newb) Sherm Pendley Jul 3, 21:08
mlRe: Does this caution need fixed? (newb) Jason Stephenson Jul 3, 21:22
mlRe: Does this caution need fixed? (newb) Michael Watson Jul 3, 21:29
mlRe: Does this caution need fixed? (newb) Andy Lee Jul 3, 21:43
mlRe: Does this caution need fixed? (newb) Chris Paveglio Jul 3, 22:09
mlRe: Does this caution need fixed? (newb) Steve Christensen Jul 3, 22:46
mlRe: Does this caution need fixed? (newb) Steve Christensen Jul 3, 22:53
mlRe: Does this caution need fixed? (newb) Sean McBride Jul 3, 23:04
mlRe: Does this caution need fixed? (newb) Jason Stephenson Jul 4, 02:22
mlRe: Does this caution need fixed? (newb) Chris Paveglio Jul 9, 16:44
mlRe: Does this caution need fixed? (newb) Jens Alfke Jul 9, 17:27
mlRe: Does this caution need fixed? (newb) Brian Stern Jul 9, 21:39