Re: Book for expert programmer about cocoa and Objective-C

2011-04-03 Thread Scott Anguish
Well, I’m part of the trio. But I always feel bad that they don’t get the 
credit they really deserve.

:-)


On Apr 4, 2011, at 1:02 AM, Max Stottrop wrote:

> OK, I'll keep this in mind. I just saw your name at Amazon, so i thought 
> you'd be the author.
> 
> Am 04.04.2011 um 06:18 schrieb Scott Anguish :
> 
>> 
>> On Apr 2, 2011, at 4:12 PM, Max Stottrop wrote:
>> 
>>> I'd also recommend Cocoa Programming by Scott Anguish. But Steves 
>>> recommendation is a great choice, too.
>>> 
>> 
>> I always clarify this. My name is first because of the “A”. Erik and Don are 
>> the ones who did the heaviest lifting in my opinion. 
>> 
>>> http://www.amazon.com/gp/aw/d/B000212NUM/ref=redir_mdp_mobile/188-2135721-8610619?ref_=sr_1_7&s=books&qid=1301687411&sr=1-7
>>> 
>>> Am 02.04.2011 um 21:58 schrieb Steven Woolgar :
>>> 
> But now, I need a book for professional. Book that is BIG, DIFFICULT and 
> is
> HARDCORE about anything for cocoa and objective-c. That show a really lot 
> of
> thing. That will be my book for years.. You understand, right?
>> 
>> More of Erik and Don’t heavy lifting.
>> 
 
 Cocoa Design Patterns:
 
 
>> 

___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Category Question

2011-04-03 Thread koko
Of course not, ergo the warning ... thanks ... 


On Apr 4, 2011, at 12:17 AM, Kyle Sluder wrote:

> On Apr 3, 2011, at 11:08 PM, koko  wrote:
> 
>> I have added a category to NSDecimalNumber.
>> 
>> I get a warning that NSDecimalNUmber may not respond to 'method' where 
>> 'method' is what I added in the Category.
>> 
>> Is this standard behavior?  It seems to me that methods in Categories should 
>> be recognized at compile time.
> 
> Did you remember to #import the header file that declared the category?
> 
> --Kyle Sluder

___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Adding a 'usro' resource

2011-04-03 Thread Gerriet M. Denkmann
I want to make certain files to be opended by default by my own editor.
These files might contain all sort of file extentions.
In Finder.app I could do: File → Always open with..., but I want to do this 
programmatically.

I guess I have to add a 'usro' Resource (see:  
).

But I have great difficulties finding and understanding the relevant 
documentation.

Also: I cannot find the 'usro' string in any header file (and Xcode does not 
give any information either).

So, does anybody has some code snippets to share which can read, modify, write 
a 'usro' resource?


Kind regards,

Gerriet.

___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Book for expert programmer about cocoa and Objective-C

2011-04-03 Thread Howard Siegel
On Sun, Apr 3, 2011 at 21:19, Scott Anguish  wrote:

>
> On Apr 3, 2011, at 9:15 PM, Howard Siegel wrote:
>
> > Would you say to get Cocoa Programming by Anguish, Buck, & Yacktman
> (circa
> > Sept 2002), or get Cocoa Programming Developer's Handbook by David
> Chisnall
> > (circa Jan 2010), which according to Amazon is the "newer version" of the
> > book???
>
> It is _NOT_ the newer version of the book.
>
> There has been no second edition.
>

As I said, "according to Amazon" it is the "newer version".  I didn't find a
2nd edition of your book and one has to wonder how they (Amazon) can call it
the "newer version" when there a none of the original authors associated
with this other book and there is not even a nod to your book.

- h
___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Category Question

2011-04-03 Thread Kyle Sluder
On Apr 3, 2011, at 11:08 PM, koko  wrote:

> I have added a category to NSDecimalNumber.
> 
> I get a warning that NSDecimalNUmber may not respond to 'method' where 
> 'method' is what I added in the Category.
> 
> Is this standard behavior?  It seems to me that methods in Categories should 
> be recognized at compile time.

Did you remember to #import the header file that declared the category?

--Kyle Sluder___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Category Question

2011-04-03 Thread koko
I have added a category to NSDecimalNumber.

I get a warning that NSDecimalNUmber may not respond to 'method' where 'method' 
is what I added in the Category.

Is this standard behavior?  It seems to me that methods in Categories should be 
recognized at compile time.

-koko___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Book for expert programmer about cocoa and Objective-C

2011-04-03 Thread Max Stottrop
OK, I'll keep this in mind. I just saw your name at Amazon, so i thought you'd 
be the author.

Am 04.04.2011 um 06:18 schrieb Scott Anguish :

> 
> On Apr 2, 2011, at 4:12 PM, Max Stottrop wrote:
> 
>> I'd also recommend Cocoa Programming by Scott Anguish. But Steves 
>> recommendation is a great choice, too.
>> 
> 
> I always clarify this. My name is first because of the “A”. Erik and Don are 
> the ones who did the heaviest lifting in my opinion. 
> 
>> http://www.amazon.com/gp/aw/d/B000212NUM/ref=redir_mdp_mobile/188-2135721-8610619?ref_=sr_1_7&s=books&qid=1301687411&sr=1-7
>> 
>> Am 02.04.2011 um 21:58 schrieb Steven Woolgar :
>> 
 But now, I need a book for professional. Book that is BIG, DIFFICULT and is
 HARDCORE about anything for cocoa and objective-c. That show a really lot 
 of
 thing. That will be my book for years.. You understand, right?
> 
> More of Erik and Don’t heavy lifting.
> 
>>> 
>>> Cocoa Design Patterns:
>>> 
>>> 
> 
___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Simulate touch event with cordinate?

2011-04-03 Thread Scott Anguish
Danger, drifting into accessibility. That’s another list. :-)

On Apr 3, 2011, at 6:15 AM, Jesse Armand wrote:

> I'm sorry, but my opinion remains.
> 
> If someone such as Stephen Hawking (which is not mentioned that people
> like him are the users) would like to read with face gestures, he
> would not use an iPhone. Not even an iPad.
> 
> Unless if there's an external device that could translate all of the
> gestures that these people have into touch events on the iOS.
> 
> An iOS app for people without hands would still require the help of
> another person to operate the OS.
> 
> On Sat, Apr 2, 2011 at 1:52 PM, Sherm Pendley  wrote:
>> On Sat, Apr 2, 2011 at 7:29 AM, Jesse Armand  wrote:
>>> 
>>> But, my word of advice:
>>> People don't read PDFs with the gestures of their face or head. It's just 
>>> silly.
>> 
>> Tell that to Stephen Hawking. There are cases where what seems "silly"
>> to most of us are the only options one has left.

___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Book for expert programmer about cocoa and Objective-C

2011-04-03 Thread Scott Anguish
No, not at all. 

I had nothing to do with the book. I didn’t even get a pre-release copy to 
read. I even bought my copy. (Although I think Erik offered to send me one)

I try desperately not to read third party books that cover areas I do until 
I’ve done so. I don’t want to be influenced, even by accident as far as their 
approach.

Erik and Don wrote the entire thing. Both of them are absolutely brilliant and 
have DEEP histories in the NeXT and OpenStep communities, not to mention that 
both wrote huge amounts of free Cocoa content for the (now defunct) Stepwise 
site. Sigh. Heart breaks.

My only connection with the book was I registered the domain and then the blog 
for them because Erik knows Cocoa, but is a wee bit light on the web stuff. :-) 
After that they took all that over and it’s in their hands.



On Apr 3, 2011, at 11:59 PM, Howard Siegel wrote:

> No fair You have a vested interest ;-) ;-) ;-) ;-)
> 
> - h
> 
> On Sun, Apr 3, 2011 at 20:49, Scott Anguish  wrote:
> 
>> I’d second that.
>> 
>> On Apr 1, 2011, at 5:31 PM, Scott Ellsworth wrote:
>> 
>>> I am told that buck and yacktman's cocoa design patterns is a good source
>> of
>>> interview questions for Cocoa
>>> 
>>> On Fri, Apr 1, 2011 at 1:01 PM, John Pannell >> wrote:
>>> 
 Even though it is getting on in age, I really like Anguish, Buck and
 Yacktman's Cocoa Programming...
 
 
 
>> http://www.amazon.com/Cocoa-Programming-Scott-Anguish/dp/B000212NUM/ref=sr_1_7?s=books&ie=UTF8&qid=1301687411&sr=1-7
 
 Once you've completed the beginner stuff, this provides a very thorough
 look at the cocoa frameworks in a lot of depth.  It was written prior to
 some of the new frameworks (i.e. Core Data, Core Animation, etc.), but
 nothing beats it for deep coverage of the AppKit and Foundation stuff
>> that
 every app is made of.
 
 HTH!
 
 John
 
 
 On Apr 1, 2011, at 1:40 PM, Rodrigo Zanatta Silva wrote:
 
> Hi. I need to have a good book in my side to program with Objective-C
 using
> the cocoa. I read the beginner books like "... for absolute beginner",
> "starting to program with...".
> 
> But now, I need a book for professional. Book that is BIG, DIFFICULT
>> and
 is
> HARDCORE about anything for cocoa and objective-c. That show a really
>> lot
 of
> thing. That will be my book for years.. You understand, right?
> 
> Anyone can give-me an idea?
> ___
>> 
>> 
> ___
> 
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
> 
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
> 
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/scott%40cocoadoc.com
> 
> This email sent to sc...@cocoadoc.com

___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Book for expert programmer about cocoa and Objective-C

2011-04-03 Thread Dave DeLong
Having been an avid reader of his blog, I highly recommend Mike Ash's "The 
Complete Friday Q&A: Volume 1", though I'm not sure if it's available in 
printed form:

http://www.amazon.com/dp/B004KZQ0LO

Dave

On Apr 1, 2011, at 1:40 PM, Rodrigo Zanatta Silva wrote:

> Hi. I need to have a good book in my side to program with Objective-C using
> the cocoa. I read the beginner books like "... for absolute beginner",
> "starting to program with...".
> 
> But now, I need a book for professional. Book that is BIG, DIFFICULT and is
> HARDCORE about anything for cocoa and objective-c. That show a really lot of
> thing. That will be my book for years.. You understand, right?
> 
> Anyone can give-me an idea?
___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Book for expert programmer about cocoa and Objective-C

2011-04-03 Thread Scott Anguish
We try and do that in the doc now. If it falls short, tell us, be specific, and 
constructive is possible.

On Apr 3, 2011, at 10:52 PM, Luther Baker wrote:

> I have and like Chisnall's book - but I wouldn't describe it as
> 
>> BIG, DIFFICULT and ... HARDCORE
> 
> I think Chisnall cover's a lot of ground - has a lot of breadth - but isn't
> necessarily a deep dive into the API.
> 
> I miss a big Cocoa reference like the old
> superbibleor
> Rector's win32
> book.
> Those books literally walk through almost every API call with lively
> descriptions and practical examples (they are also 1500 pages each).

___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Book for expert programmer about cocoa and Objective-C

2011-04-03 Thread Scott Anguish

On Apr 3, 2011, at 9:15 PM, Howard Siegel wrote:

> Would you say to get Cocoa Programming by Anguish, Buck, & Yacktman (circa
> Sept 2002), or get Cocoa Programming Developer's Handbook by David Chisnall
> (circa Jan 2010), which according to Amazon is the "newer version" of the
> book???

It is _NOT_ the newer version of the book.

There has been no second edition.


___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Book for expert programmer about cocoa and Objective-C

2011-04-03 Thread Scott Anguish

On Apr 2, 2011, at 4:12 PM, Max Stottrop wrote:

> I'd also recommend Cocoa Programming by Scott Anguish. But Steves 
> recommendation is a great choice, too.
> 

I always clarify this. My name is first because of the “A”. Erik and Don are 
the ones who did the heaviest lifting in my opinion. 

> http://www.amazon.com/gp/aw/d/B000212NUM/ref=redir_mdp_mobile/188-2135721-8610619?ref_=sr_1_7&s=books&qid=1301687411&sr=1-7
> 
> Am 02.04.2011 um 21:58 schrieb Steven Woolgar :
> 
>>> But now, I need a book for professional. Book that is BIG, DIFFICULT and is
>>> HARDCORE about anything for cocoa and objective-c. That show a really lot of
>>> thing. That will be my book for years.. You understand, right?

More of Erik and Don’t heavy lifting.

>> 
>> Cocoa Design Patterns:
>> 
>> 

___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Book for expert programmer about cocoa and Objective-C

2011-04-03 Thread Scott Anguish
John’s kind.

A) You’d be hard pressed to find it in any form other than electronic. Even I 
only have a single copy. I think Erik hoarded the last few.
b) It is 8+ years old. A lot of it is dated in that new additional have been 
made to those classes.
c) As John said, it doesn’t cover new capabilities: No Core Animation, Core 
Data, Cocoa Animation, Spotlight, Quicklook, OpenGLES, the list is pretty log. 
I don’t recall if KVC and KVO are there, I know bindings is not. I know I’m 
missing loads more that has just become second nature material in the last 8 
years of writing docs at Apple.

Plus lots of things that can make your app stand out and incorporate into the 
OS just aren’t covered (because they weren’t there). And the lack of things 
like @property and other new Obj-C features like Blocks make it really dated. 
And I’m a co-author, by saying this I’m taking mere nothing from our mouths! 
:-) It was probably the most advanced at its time (he says widely out of 
character — and mostly due to Don and Erik — back into character), but now 
there are better options. (Although I was flattered beyond any measure when I 
saw it on an Apple engineer’s shelf and he told me he learned from it... I 
admire the heck out of this guy... if he reads this, he knows who he is)

Aaron’s books are great for starting out and getting there. 

Erik and Don’s Design Patterns is also excellent and a must read. (Read that as 
more advanced)

Bill Cheeseman has a Vermont Recipes sequel that is also excellent. Bill is 
sharp, not a dufus according to Roger Ebert (true - search the net), and a man 
I have huge respect for. His attention to detail (in particular with respect to 
accessibility) is admirable. I doubt anyone outside Apple knows more about 
accessibility than Bill.

iOS has lots more. Matt Drance’s iOS Recipes (I think?) is supposed to be 
excellent and is in beta. Matt is sharp as hell (see FlipBook) and was an 
evangelist (Apple’s loss, and I’ve told him so). I’d say he knows it all.

I’d get my butt kicked if I didn’t mention Jiiva Devoes book, but the name 
escapes me.

Someone else is working on an Xcode 4 book, and he seems to be rather clueful. 
;-)


Plus, we work very hard to get the doc to where the majority of the developers 
need it. We publish in excess of 200,000 pages a month of developer 
docuentation (and that’s a low number from my calcs)

If it isn’t what you need you have one option  TELL US. WE SERVE YOU! Sorry to 
yell. But I really want to get that across. 

YOU are our customers in this case (DevPubs). You don’t buy it, but you are the 
reason it’s done. If you need something else or something more tell us. We’ll 
do our best. The more feedback we get, the better it will get. And if it helps 
save DTS time, that they can spend on other issues. Great.

And on a personal note, thanks to Don and Erik for picking up the ball after so 
many years and writing the new book. Now maybe people will stop asking when 
there will be another version of Cocoa Programming (which, BTW, the newer book 
of the same name, also published by Sams, is not related too). 

In fact, thanks to ALL those who write books for the platform. Few other than 
Mr Hillegass are getting rich off them (and you have to keep him in cowboy hats 
:-). They’re a labor of love. 





On Apr 1, 2011, at 4:01 PM, John Pannell wrote:

> Even though it is getting on in age, I really like Anguish, Buck and 
> Yacktman's Cocoa Programming...
> 
> http://www.amazon.com/Cocoa-Programming-Scott-Anguish/dp/B000212NUM/ref=sr_1_7?s=books&ie=UTF8&qid=1301687411&sr=1-7
> 
> Once you've completed the beginner stuff, this provides a very thorough look 
> at the cocoa frameworks in a lot of depth.  It was written prior to some of 
> the new frameworks (i.e. Core Data, Core Animation, etc.), but nothing beats 
> it for deep coverage of the AppKit and Foundation stuff that every app is 
> made of.
> 
> HTH!
> 
> John
> 
> 
> On Apr 1, 2011, at 1:40 PM, Rodrigo Zanatta Silva wrote:
> 
>> Hi. I need to have a good book in my side to program with Objective-C using
>> the cocoa. I read the beginner books like "... for absolute beginner",
>> "starting to program with...".
>> 
>> But now, I need a book for professional. Book that is BIG, DIFFICULT and is
>> HARDCORE about anything for cocoa and objective-c. That show a really lot of
>> thing. That will be my book for years.. You understand, right?
>> 
>> Anyone can give-me an idea?
>> ___
>> 
>> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
>> 
>> Please do not post admin requests or moderator comments to the list.
>> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>> 
>> Help/Unsubscribe/Update your Subscription:
>> http://lists.apple.com/mailman/options/cocoa-dev/john%40positivespinmedia.com
>> 
>> This email sent to j...@positivespinmedia.com
> 
> ___
> 
> Cocoa-dev mailing list (Cocoa-dev@lists.app

Re: Book for expert programmer about cocoa and Objective-C

2011-04-03 Thread Howard Siegel
No fair You have a vested interest ;-) ;-) ;-) ;-)

- h

On Sun, Apr 3, 2011 at 20:49, Scott Anguish  wrote:

> I’d second that.
>
> On Apr 1, 2011, at 5:31 PM, Scott Ellsworth wrote:
>
> > I am told that buck and yacktman's cocoa design patterns is a good source
> of
> > interview questions for Cocoa
> >
> > On Fri, Apr 1, 2011 at 1:01 PM, John Pannell  >wrote:
> >
> >> Even though it is getting on in age, I really like Anguish, Buck and
> >> Yacktman's Cocoa Programming...
> >>
> >>
> >>
> http://www.amazon.com/Cocoa-Programming-Scott-Anguish/dp/B000212NUM/ref=sr_1_7?s=books&ie=UTF8&qid=1301687411&sr=1-7
> >>
> >> Once you've completed the beginner stuff, this provides a very thorough
> >> look at the cocoa frameworks in a lot of depth.  It was written prior to
> >> some of the new frameworks (i.e. Core Data, Core Animation, etc.), but
> >> nothing beats it for deep coverage of the AppKit and Foundation stuff
> that
> >> every app is made of.
> >>
> >> HTH!
> >>
> >> John
> >>
> >>
> >> On Apr 1, 2011, at 1:40 PM, Rodrigo Zanatta Silva wrote:
> >>
> >>> Hi. I need to have a good book in my side to program with Objective-C
> >> using
> >>> the cocoa. I read the beginner books like "... for absolute beginner",
> >>> "starting to program with...".
> >>>
> >>> But now, I need a book for professional. Book that is BIG, DIFFICULT
> and
> >> is
> >>> HARDCORE about anything for cocoa and objective-c. That show a really
> lot
> >> of
> >>> thing. That will be my book for years.. You understand, right?
> >>>
> >>> Anyone can give-me an idea?
> >>> ___
>
>
___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Book for expert programmer about cocoa and Objective-C

2011-04-03 Thread Scott Anguish
I’d second that.

On Apr 1, 2011, at 5:31 PM, Scott Ellsworth wrote:

> I am told that buck and yacktman's cocoa design patterns is a good source of
> interview questions for Cocoa
> 
> On Fri, Apr 1, 2011 at 1:01 PM, John Pannell 
> wrote:
> 
>> Even though it is getting on in age, I really like Anguish, Buck and
>> Yacktman's Cocoa Programming...
>> 
>> 
>> http://www.amazon.com/Cocoa-Programming-Scott-Anguish/dp/B000212NUM/ref=sr_1_7?s=books&ie=UTF8&qid=1301687411&sr=1-7
>> 
>> Once you've completed the beginner stuff, this provides a very thorough
>> look at the cocoa frameworks in a lot of depth.  It was written prior to
>> some of the new frameworks (i.e. Core Data, Core Animation, etc.), but
>> nothing beats it for deep coverage of the AppKit and Foundation stuff that
>> every app is made of.
>> 
>> HTH!
>> 
>> John
>> 
>> 
>> On Apr 1, 2011, at 1:40 PM, Rodrigo Zanatta Silva wrote:
>> 
>>> Hi. I need to have a good book in my side to program with Objective-C
>> using
>>> the cocoa. I read the beginner books like "... for absolute beginner",
>>> "starting to program with...".
>>> 
>>> But now, I need a book for professional. Book that is BIG, DIFFICULT and
>> is
>>> HARDCORE about anything for cocoa and objective-c. That show a really lot
>> of
>>> thing. That will be my book for years.. You understand, right?
>>> 
>>> Anyone can give-me an idea?
>>> ___
>>> 
>>> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
>>> 
>>> Please do not post admin requests or moderator comments to the list.
>>> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>>> 
>>> Help/Unsubscribe/Update your Subscription:
>>> 
>> http://lists.apple.com/mailman/options/cocoa-dev/john%40positivespinmedia.com
>>> 
>>> This email sent to j...@positivespinmedia.com
>> 
>> ___
>> 
>> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
>> 
>> Please do not post admin requests or moderator comments to the list.
>> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>> 
>> Help/Unsubscribe/Update your Subscription:
>> 
>> http://lists.apple.com/mailman/options/cocoa-dev/scott_ellsworth%40alumni.hmc.edu
>> 
>> This email sent to scott_ellswo...@alumni.hmc.edu
>> 
> ___
> 
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
> 
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
> 
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/scott%40cocoadoc.com
> 
> This email sent to sc...@cocoadoc.com

___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Book for expert programmer about cocoa and Objective-C

2011-04-03 Thread Luther Baker
I have and like Chisnall's book - but I wouldn't describe it as

>  BIG, DIFFICULT and ... HARDCORE

I think Chisnall cover's a lot of ground - has a lot of breadth - but isn't
necessarily a deep dive into the API.

I miss a big Cocoa reference like the old
superbibleor
Rector's win32
book.
Those books literally walk through almost every API call with lively
descriptions and practical examples (they are also 1500 pages each).


On Sun, Apr 3, 2011 at 8:15 PM, Howard Siegel  wrote:

> Would you say to get Cocoa Programming by Anguish, Buck, & Yacktman (circa
> Sept 2002), or get Cocoa Programming Developer's Handbook by David Chisnall
> (circa Jan 2010), which according to Amazon is the "newer version" of the
> book???
>
> - h
>
> On Fri, Apr 1, 2011 at 13:01, John Pannell  >wrote:
>
> > Even though it is getting on in age, I really like Anguish, Buck and
> > Yacktman's Cocoa Programming...
> >
> >
> >
> http://www.amazon.com/Cocoa-Programming-Scott-Anguish/dp/B000212NUM/ref=sr_1_7?s=books&ie=UTF8&qid=1301687411&sr=1-7
> >
> > Once you've completed the beginner stuff, this provides a very thorough
> > look at the cocoa frameworks in a lot of depth.  It was written prior to
> > some of the new frameworks (i.e. Core Data, Core Animation, etc.), but
> > nothing beats it for deep coverage of the AppKit and Foundation stuff
> that
> > every app is made of.
> >
> > HTH!
> >
> > John
> >
> >
> > On Apr 1, 2011, at 1:40 PM, Rodrigo Zanatta Silva wrote:
> >
> > > Hi. I need to have a good book in my side to program with Objective-C
> > using
> > > the cocoa. I read the beginner books like "... for absolute beginner",
> > > "starting to program with...".
> > >
> > > But now, I need a book for professional. Book that is BIG, DIFFICULT
> and
> > is
> > > HARDCORE about anything for cocoa and objective-c. That show a really
> lot
> > of
> > > thing. That will be my book for years.. You understand, right?
> > >
> > > Anyone can give-me an idea?
> > > ___
> > >
> > > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
> > >
> > > Please do not post admin requests or moderator comments to the list.
> > > Contact the moderators at cocoa-dev-admins(at)lists.apple.com
> > >
> > > Help/Unsubscribe/Update your Subscription:
> > >
> >
> http://lists.apple.com/mailman/options/cocoa-dev/john%40positivespinmedia.com
> > >
> > > This email sent to j...@positivespinmedia.com
> >
> > ___
> >
> > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
> >
> > Please do not post admin requests or moderator comments to the list.
> > Contact the moderators at cocoa-dev-admins(at)lists.apple.com
> >
> > Help/Unsubscribe/Update your Subscription:
> > http://lists.apple.com/mailman/options/cocoa-dev/hsiegel%40gmail.com
> >
> > This email sent to hsie...@gmail.com
> >
> ___
>
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/lutherbaker%40gmail.com
>
> This email sent to lutherba...@gmail.com
>
___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Book for expert programmer about cocoa and Objective-C

2011-04-03 Thread Howard Siegel
Would you say to get Cocoa Programming by Anguish, Buck, & Yacktman (circa
Sept 2002), or get Cocoa Programming Developer's Handbook by David Chisnall
(circa Jan 2010), which according to Amazon is the "newer version" of the
book???

- h

On Fri, Apr 1, 2011 at 13:01, John Pannell wrote:

> Even though it is getting on in age, I really like Anguish, Buck and
> Yacktman's Cocoa Programming...
>
>
> http://www.amazon.com/Cocoa-Programming-Scott-Anguish/dp/B000212NUM/ref=sr_1_7?s=books&ie=UTF8&qid=1301687411&sr=1-7
>
> Once you've completed the beginner stuff, this provides a very thorough
> look at the cocoa frameworks in a lot of depth.  It was written prior to
> some of the new frameworks (i.e. Core Data, Core Animation, etc.), but
> nothing beats it for deep coverage of the AppKit and Foundation stuff that
> every app is made of.
>
> HTH!
>
> John
>
>
> On Apr 1, 2011, at 1:40 PM, Rodrigo Zanatta Silva wrote:
>
> > Hi. I need to have a good book in my side to program with Objective-C
> using
> > the cocoa. I read the beginner books like "... for absolute beginner",
> > "starting to program with...".
> >
> > But now, I need a book for professional. Book that is BIG, DIFFICULT and
> is
> > HARDCORE about anything for cocoa and objective-c. That show a really lot
> of
> > thing. That will be my book for years.. You understand, right?
> >
> > Anyone can give-me an idea?
> > ___
> >
> > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
> >
> > Please do not post admin requests or moderator comments to the list.
> > Contact the moderators at cocoa-dev-admins(at)lists.apple.com
> >
> > Help/Unsubscribe/Update your Subscription:
> >
> http://lists.apple.com/mailman/options/cocoa-dev/john%40positivespinmedia.com
> >
> > This email sent to j...@positivespinmedia.com
>
> ___
>
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/hsiegel%40gmail.com
>
> This email sent to hsie...@gmail.com
>
___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: API to determine a list of installed scriptable applications

2011-04-03 Thread jonat...@mugginsoft.com

On 3 Apr 2011, at 13:35, Peter Lübke wrote:

> 
> Am 02.04.2011 um 11:56 schrieb jonat...@mugginsoft.com:
> 
>> Is there an API to determine a list of installed scriptable applications?
>> 
>> Such a list is displayed by the AppleScript Editor menu item Open 
>> Dictionary...
>> 
>> Application bundles can be queried for using MDQuery and the scriptability 
>> of a given application can be be determined.
>> I don't think that ASE uses this approach as its existence long predates 
>> Spotlight etc.
>> 
>> Also the ASE list includes items that have not been previously launched.
>> 
>> Regards
>> 
>> Jonathan Mitchell
> 
> The list of the applications shown in AppleScript Editor menu item Open 
> Dictionary... is stored in a plist file:
> home/Library/Preferences/com.apple.ScriptEditor2.plist (key: 
> "LibraryApplications").
> 
Interesting suggestion but..
On OS X 10.6.6 the LibraryApplications key is absent.
I would also prefer a more direct method than querying another app's 
preferences file.


> I think the reason you see items that haven't been previously launched is 
> that these are Apple Applications / Additions that might already be in the 
> plist when the OS is installed.
> Maybe you can use these as a starting point and add items to your own .plist 
> file as you or your users found more scriptable apps?
> 
> Just out of interest: how do you determine scriptability of an application 
> without launching it?
> 
(* applescript *)
tell the application "Finder"

set myApp to the application file "Mail" in the folder "Applications" 
in the startup disk
if has scripting terminology of myApp then
return "scriptable "
else
return "not scriptable "
end if
end tell

or one can query the application bundle for the .scriptsuite or .sdef resource 
files.

Regards

Jonathan Mitchell

Developer
Mugginsoft LLP
http://www.mugginsoft.com___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: API to determine a list of installed scriptable applications

2011-04-03 Thread Peter Lübke


Am 02.04.2011 um 11:56 schrieb jonat...@mugginsoft.com:

Is there an API to determine a list of installed scriptable  
applications?


Such a list is displayed by the AppleScript Editor menu item Open  
Dictionary...


Application bundles can be queried for using MDQuery and the  
scriptability of a given application can be be determined.
I don't think that ASE uses this approach as its existence long  
predates Spotlight etc.


Also the ASE list includes items that have not been previously  
launched.


Regards

Jonathan Mitchell


The list of the applications shown in AppleScript Editor menu item  
Open Dictionary... is stored in a plist file:
home/Library/Preferences/com.apple.ScriptEditor2.plist (key:  
"LibraryApplications").


I think the reason you see items that haven't been previously  
launched is that these are Apple Applications / Additions that might  
already be in the plist when the OS is installed.
Maybe you can use these as a starting point and add items to your  
own .plist file as you or your users found more scriptable apps?


 Just out of interest: how do you determine scriptability of an  
application without launching it?


Cheers,

Peter

___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Simulate touch event with cordinate?

2011-04-03 Thread Jesse Armand
I'm sorry, but my opinion remains.

If someone such as Stephen Hawking (which is not mentioned that people
like him are the users) would like to read with face gestures, he
would not use an iPhone. Not even an iPad.

Unless if there's an external device that could translate all of the
gestures that these people have into touch events on the iOS.

An iOS app for people without hands would still require the help of
another person to operate the OS.

On Sat, Apr 2, 2011 at 1:52 PM, Sherm Pendley  wrote:
> On Sat, Apr 2, 2011 at 7:29 AM, Jesse Armand  wrote:
>>
>> But, my word of advice:
>> People don't read PDFs with the gestures of their face or head. It's just 
>> silly.
>
> Tell that to Stephen Hawking. There are cases where what seems "silly"
> to most of us are the only options one has left.
>
> sherm--
>
> --
> Cocoa programming in Perl:
> http://camelbones.sourceforge.net
>
___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com