FROM : Chris Paveglio
DATE : Thu Jul 03 22:09:40 2008
Thanks all for your help and insight!
I believe Jason's solution will work for me as I am changing the assignment of what "theSetting" is each time through the loop. I have a list (array) of files that gets copied from one place to the other, and I change the origin and the destination each time in the loop.
Also Michael I understand now what you are saying about the assignment. Thank you for putting it in a nice detailed explanation! :-)
FWIW, I'm coming from an Applescripting background and that was mostly self and book taught, learning Cocoa and things about memory management and assinging the right kind of variables is tough. Well tougher than AScript which will let you do almost any coercion to any variable on the fly. But I am learning. I got tired of the book examples and had to start with making one of my Applescript apps in Cocoa. I never had any computer science in college (actually I was an art major) so learning all the details of C/Obj-C is slow going.
Thanks again! I hope you'll all bear with me until I don't have to preface with (newb). :-)
Chris
ps. Working through the Hillegas book now.
DATE : Thu Jul 03 22:09:40 2008
Thanks all for your help and insight!
I believe Jason's solution will work for me as I am changing the assignment of what "theSetting" is each time through the loop. I have a list (array) of files that gets copied from one place to the other, and I change the origin and the destination each time in the loop.
Also Michael I understand now what you are saying about the assignment. Thank you for putting it in a nice detailed explanation! :-)
FWIW, I'm coming from an Applescripting background and that was mostly self and book taught, learning Cocoa and things about memory management and assinging the right kind of variables is tough. Well tougher than AScript which will let you do almost any coercion to any variable on the fly. But I am learning. I got tired of the book examples and had to start with making one of my Applescript apps in Cocoa. I never had any computer science in college (actually I was an art major) so learning all the details of C/Obj-C is slow going.
Thanks again! I hope you'll all bear with me until I don't have to preface with (newb). :-)
Chris
ps. Working through the Hillegas book now.






Cocoa mail archive

