Re: Newbe Question: Searching Address Book
Re: Newbe Question: Searching Address Book
- Subject: Re: Newbe Question: Searching Address Book
- From: Warner Onstine <email@hidden>
- Date: Tue, 2 May 2006 13:17:28 -0700
If you're talking about the first edition I agree (it essentially was
the material directly from Apple), but if you're referring to the
second edition that Duncan wrote I have to vehemently disagree. I got
bogged down in the Hillegass book initially until I picked up the
Learning Cocoa book which was at my learning level (I've done a ton
of Java, but very little Obj-C at that point) and it gave me the kick-
start to actually understand what the hell Hillegass was talking
about (I have the first edition of the book not the second so it may
have improved).
Sorry, just have to throw in my .02 on this issue as it is close to
my heart (as a tech writer and as a reader).
-warner
On May 2, 2006, at 10:39 AM, Kenny Millar wrote:
Learning Cocoa with Objective-C, 2nd Ed., by James Duncan Davidson.
Sounds like I need to start digging into this one.
I really don't know why this book is 'ADC Reccommended' No offence
to Mr
Davidson, but it's not great. A much better book would be Aaron
Hillegass'
book.
-----Original Message-----
From: cocoa-dev-bounces+kennymillar=email@hidden
[mailto:cocoa-dev-bounces+kennymillar=email@hidden] On
Behalf Of
Brad Bumgarner
Sent: 02 May 2006 18:33
To: Cocoa-Dev Mail Cocoa-Dev Mail List
Subject: Re: Newbe Question: Searching Address Book
Warner,
I have 2 books at this point:
Programming in Objective-C by Stephen G. Kochan. I have focused on
this book as of now as it starts off with C and then gets into obj-c.
Learning Cocoa with Objective-C, 2nd Ed., by James Duncan Davidson.
Sounds like I need to start digging into this one.
I THOUGHT searching the address book WOULD be a easy way to get my
feet wet (so to speak) :-)
Thanks,
Brad Bumgarner, CTA
On May 2, 2006, at 11:17 AM, Warner Onstine wrote:
Hi Brad,
Objective-C is like any other language in that it takes steps to
learn the syntax, method calls, logic, etc. When I started out, I
initially picked up the Hillegass book (Cocoa Programming for OS X)
which is very good, but was also a little confusing for me. I then
picked up the James Duncan Davidson book (Learning Cocoa and
Objective-C) which helped me to understand some of the material and
get my feet wet gradually.
You can also look at apple's docs on Objective-C here:
http://developer.apple.com/documentation/Cocoa/Conceptual/
ObjectiveC/index.html
And here are some other basic Objective-C tutorials on the apple site
http://developer.apple.com/documentation/Cocoa/ObjectiveCLanguage-
date.html
Good luck! It's a lot of fun once you start figuring it out (I have
thoroughly enjoyed Duncan's book and the exercises at the end of
each chapter were enough to stretch me to start looking at the API).
-warner
On May 2, 2006, at 10:04 AM, Brad Bumgarner wrote:
It can be very difficult to learn a language on your own. I was/am
hoping that someone here can help me learn how to write obj-c
code. I have read the Address Book documentation the comes with
Xcode and I just can't figure how to put all the pieces to
together. I know what I want to do can be done, Mail.app does it
all the time. If I wasn't clear in the wording of my question,
please let me know.
Thanks,
Brad Bumgarner, CTA
On May 1, 2006, at 12:02 PM, Brad Bumgarner wrote:
My name is Brad Bumgarner and I am new to Objective-C. I have
been using AppleScript since it was first introduced many (many)
"moons" ago. I have been using Project Builder / Xcode since OS X
10.2. I have recently decided to step up to using Objective-C so
that I may add features to my apps that I can't do (the way I'd
like to) in AppleScript Studio. The scary thing is Objective-C is
actually starting to make sense :-)
My question: How can I search for a name in Address Book? I want
to be able to search for first names, last names and both first/
last names. I want to be able to do this much like Mail.app does.
The code below (attached to a text field via AppleScript's "on
changed" handler) works until a space character is entered.
"theName" is passed from the applescript code and contains the
currently entered text from the text field as it is being entered.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40warneronstine.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40comcast.net
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40warneronstine.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden