A little about me before the questions come out:
I'm 40 years old and just recently decided to get into programming for the Mac. I have XCode 3.something installed on my iMac (the version that I got with the iMac discs), and I should let you all know that I just got my Mac about 4 months ago when I finally had enough of my Windows machine.
I'm a fairly competent programmer to start with. VB is a second language to me, I had a course in C++ 14 years ago in college and had to learn Java on the fly in my first job after college. And it's now been YEARS since I've touched either one. And considering I refuse to use dual boot on my iMac, I have decided to pick up Objective C/Cocoa/XCode and expand my horizons. I have a couple of ideas for stuff I'd like to try and write, but I need to learn how to do it first.
The question:
I have several books on order, but I'm getting itchy and want to get started. So I'm looking for some tutorials on specific topics in Objective C and/or Cocoa to help jump-start my learning. I went through the tutorial included with the XCode documentation on the DVD, and that helped get my brain back into a semi-C-like state, and I can follow what happened and why.
I'm not talking about the basic tutorials like loops or function calls. Specifically, the tutorials for Objective C I'm looking for include:
1. Singletons. I have read that this is really the only way to create and use global variables, and some of the programs I want to try and write rely on global variables. If #DEFINE works better than singletons, then a good tutorial on that would be nice.
2. File I/O. I'd like to be able to read and write to files, especially files that are delimited with commas or pipe ("|") characters.
3. Database access. I know about the Data Model containers in XCode, but from what I've read (and I haven't read a whole lot on these) they appear to take in data from the user while the program is running instead of accessing an external database file. Personally, I'd prefer to use file i/o, but I'd like a good knowledge of how to do this as well.
I've searched the internet, and I just can't seem to find anything on these topics in a tutorial format other than "Here's what I did and works, so just copy and paste the code". I don't want those because I'll never learn WHY something works, and I won't be able to alter it for my own purposes.
I'd also like to find some tutorials on Interface Builder and/or XCode as I'm used to Visual Studio (read: VB), and the design aspect is quite different than what I'm used to.
I can wait for the books I have on order if necessary, but I figured I would at least give it a shot to see if anyone has any tutorial suggestions for me.
Thanks in advance for any advice you can give me!
I'm 40 years old and just recently decided to get into programming for the Mac. I have XCode 3.something installed on my iMac (the version that I got with the iMac discs), and I should let you all know that I just got my Mac about 4 months ago when I finally had enough of my Windows machine.
I'm a fairly competent programmer to start with. VB is a second language to me, I had a course in C++ 14 years ago in college and had to learn Java on the fly in my first job after college. And it's now been YEARS since I've touched either one. And considering I refuse to use dual boot on my iMac, I have decided to pick up Objective C/Cocoa/XCode and expand my horizons. I have a couple of ideas for stuff I'd like to try and write, but I need to learn how to do it first.
The question:
I have several books on order, but I'm getting itchy and want to get started. So I'm looking for some tutorials on specific topics in Objective C and/or Cocoa to help jump-start my learning. I went through the tutorial included with the XCode documentation on the DVD, and that helped get my brain back into a semi-C-like state, and I can follow what happened and why.
I'm not talking about the basic tutorials like loops or function calls. Specifically, the tutorials for Objective C I'm looking for include:
1. Singletons. I have read that this is really the only way to create and use global variables, and some of the programs I want to try and write rely on global variables. If #DEFINE works better than singletons, then a good tutorial on that would be nice.
2. File I/O. I'd like to be able to read and write to files, especially files that are delimited with commas or pipe ("|") characters.
3. Database access. I know about the Data Model containers in XCode, but from what I've read (and I haven't read a whole lot on these) they appear to take in data from the user while the program is running instead of accessing an external database file. Personally, I'd prefer to use file i/o, but I'd like a good knowledge of how to do this as well.
I've searched the internet, and I just can't seem to find anything on these topics in a tutorial format other than "Here's what I did and works, so just copy and paste the code". I don't want those because I'll never learn WHY something works, and I won't be able to alter it for my own purposes.
I'd also like to find some tutorials on Interface Builder and/or XCode as I'm used to Visual Studio (read: VB), and the design aspect is quite different than what I'm used to.
I can wait for the books I have on order if necessary, but I figured I would at least give it a shot to see if anyone has any tutorial suggestions for me.
Thanks in advance for any advice you can give me!