Can anyone think of a good non-subpage name for this page? -- Tarquin
| This is the talk page for discussing improvements to the Cocoa (API) article. This is not a forum for general discussion of the subject of the article. |
Article policies
|
| Find sources: Google (books · news · scholar · free images · WP refs) · FENS · JSTOR · TWL |
| This It is of interest to the following WikiProjects: | ||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||
Can anyone think of a good non-subpage name for this page? -- Tarquin
The following comes from Talk:Cocoa programming:
Suggestions for Future Changes:
I'm new here, but doesn't this page seem disturbingly partisan? The talk about the lack of garbage collection and the (from my point of view) senseless rambling about DOM smacks of advocacy where none is called for.
How would it be if we stuck to facts? Cocoa is based on Objective C. Objective C has no global automatic garbage collection, but rather uses local garbage collection through autorelease pools instead. How about that? -- Jharrell 01:35 8 Jul 2003 (UTC)
However, it seems Apple next release of ObjectiveC will have garbage collection (and I suppose it will be employed in Cocoa too). If you look at the sources of the gnu compiler, you can see it. McOsten 24 Aug 2006
I just deleted
"In this way, autoreleased objects behave precisely like Java objects. They are automatically garbage-collected when they move out of scope. " from the page. The description given does NOT describe anything like Java's true GC nature. (It seems that when a varable goes out of scope, it can be GC'd, unlike java where it is there references to the object). Could someone that know's put it back in if deserved? Tenbaset 07:01 11 Jul 2003 (UTC)
I un-did some of Tenbaset's edits. Here's why.
I also changed a couple of other little things to better reflect the document's structure, and I got rid of the phrase "among Windows users" because there were just too many commas in that sentence, and that phrase didn't really add anything useful anyway. (Even though I wrote it. I know, I'm heartless.)
Jharrell 00:15 12 Jul 2003 (UTC)
JavaMac 18:54, 17 September 2006 (UTC) 18:52, 17 September 2006 (UTC)Guys, maybe I am being too picky, but I found this page on Apple's site: http://developer.apple.com/documentation/Cocoa/Conceptual/CocoaFundamentals/WhatIsCocoa/chapter_2_section_6.html which points out that the NS prefix comes from OPENSTEP note NEXTSTEP, NEXTSTEP used NX. I also felt it was interesting that Sun had some involvement. What do you think? Should it be corrected?
I feel this page is becoming excessively detailed for a general encyclopedia article. I am a huge fan of Cocoa myself, but even I am somewhat surprosed at the amount this article has grown recently, and with far too much stuff that really is only of interest to those who already know something about Cocoa. Those people will have far better references to work from than Wikipedia! I think there is an element of evangelism which is driving the page to become a bit over the top. I think all those who contribute here should start thinking about ways to cut it down without losing the essence of what the article is for, which is to get over the basic concepts and overview of Cocoa to the interested lay person. The other problem with the article being as long as it is now is that it's actually a bit dense and off-putting to read, which is achieving the opposite of evangelism. I think there is much that can be replaced with suitable external links to Apple's documentation. Graham 11:02, 17 Apr 2005 (UTC)
Why was the name of this article changed, apparently without consultation (if there was consultation, where did it take place? - I have most Apple-related articles on my watchlist and didn't get a chance to see anything about this). API stands for APPLICATION programming Interfaces. Cocoa is NOT an API, it's vitually a whole operating system, you can write anything from command-line tools to drivers to system services to plug-ins to preference panels to screensavers and yes, even applications. The previous title seems fine to me, though if this is related to the other discussion about naming conventions for Mac-related articles, then Cocoa (Macintosh) would be more appropriate.Graham 23:30, 27 Apr 2005 (UTC)
I am going to go through and do a bit of surgery on this article. I hope this will meet with folks' approval - the problem as I see it is that there is far too much detail and advocacy in the article. While I'm a big fan of Cocoa and use it daily in my work, I feel this article is not in the right vein. It needs to convey what Cocoa is, without getting carried away with trying to evangelise it. I'll be making the changes over the next day or two - give me chance OK? Graham 00:04, 19 May 2005 (UTC)
This article says December '96 but the NeXT article says early '97. What gives? WAvegetarian 21:48, 18 October 2005 (UTC)
Iamleeg (talk) 13:32, 3 May 2013 (UTC)
I've been working on a wikibook which a beginners guide to programming with Cocoa. As I write this it's still just a very early first draft, with many typos and other inconsistencies. Hopefully some others will be interested enough to help out! Here's the link: [1]. Graham 23:22, 29 January 2006 (UTC)
"...called Key-Value Coding (KVC). This permits a piece of data or property of an object to be looked up or changed at runtime by name"
This does not say if an attribute can be created or deleted in run-time like in some hash based objects in Perl. —Preceding unsigned comment added by 82.67.217.13 (talk) 09:22, Jun 30, 2006 (UTC)
Attributes can be created or deleted at runtime but the object must be specifically setup to work this way. This is how NSDictionary works (a hash based object).
The article does not say if Cocoa provides hook to register entities like filehandles to be monitored by the event loop. This feature is essential for the use of scripting language and their libraries. For example, POE in Perl can have its own event loop or register entities to an external loop (here Cocoa event loop) for monitoring. —Preceding unsigned comment added by 82.67.217.13 (talk) 09:22, Jun 30, 2006 (UTC)
It would be nice to include some information that regular end-users would find interesting and understandable. Like "cocoa apps run faster than carbon apps" or "Cocoa apps all use the same style buttons and font renderings" if that's true; I don't know. —Preceding unsigned comment added by Ephilei (talk • contribs) 23:37, 8 October 2007 (UTC)

Image:Cocoa dev screenshot.png is being used on this article. I notice the image page specifies that the image is being used under fair use but there is no explanation or rationale as to why its use in this Wikipedia article constitutes fair use. In addition to the boilerplate fair use template, you must also write out on the image description page a specific explanation or rationale for why using this image in each article is consistent with fair use.
Please go to the image description page and edit it to include a fair use rationale. Using one of the templates at Wikipedia:Fair use rationale guideline is an easy way to insure that your image is in compliance with Wikipedia policy, but remember that you must complete the template. Do not simply insert a blank template on an image page.
If there is other fair use media, consider checking that you have specified the fair use rationale on the other images used on this page. Note that any fair use images lacking such an explanation can be deleted one week after being tagged, as described on criteria for speedy deletion. If you have any questions please ask them at the Media copyright questions page. Thank you.
BetacommandBot (talk) 21:14, 13 February 2008 (UTC)
Is there any official word on the pronunciation, and should the phonetic version be added to the first line? I've always assumed it was pronounced "ko-ko", like hot chocolate, but I've heard "ko-ko-uh" or "ko-ko-ah" as well. — John 19:23, 27 February 2008 (UTC)
Add it, pronto! —Preceding unsigned comment added by 129.120.94.106 (talk) 18:24, 6 March 2008 (UTC)
"Using only the built-in features, one can write a text editor application in as few as 0 lines of code. With new controller objects, this may fall to zero."
Also, maybe an example of how you would write a text editor in zero lines of code might be .. illustrative.
Could someone write a very detailed explanation of the difference between Cocoa and Carbon, and how they compare and contrast? I don't know much in that field. I think it would benefit people reading this article, especially if they are choosing one. Maybe make a "Differences between Cocoa and Carbon" page sometime? —Preceding unsigned comment added by Geek 2.0 (talk • contribs) 01:23, 29 October 2008 (UTC)
http://www.osnews.com/story/661/What_is_the_Difference_Between_Carbon_and_Cocoa — Preceding unsigned comment added by 2001:558:6045:56:A494:E24D:2C11:BD29 (talk) 23:03, 27 July 2018 (UTC)
The following sentence needs an update reflecting AppleScript changes in Snow Leopard: "AppleScript Studio, part of Apple's Xcode Tools makes it possible to write (less complex) Cocoa applications using AppleScript."(91.46.121.29 (talk) 15:12, 12 September 2009 (UTC))
The first sentence says that "Cocoa is one of Apple Inc.'s native object-oriented application program languages" but it is not a programming language, instead, it is a framework. Khatchad (talk) 05:22, 13 August 2010 (UTC)Raffi 8/13/2010
This remark seems like an opinion or original research: "For end-users, Cocoa applications are considered to be those written using the Cocoa programming environment. Such applications usually have a distinctive feel, since the Cocoa programming environment automates many aspects of an application to comply with Apple's human interface guidelines."
It's entirely possible for a Carbon app to behave exactly like a Cocoa app, or for a Cocoa app to be poorly written and exhibit inconsistent behavior. Mike Richardson (talk) 20:20, 6 November 2012 (UTC)
But in both cases, the developer has to do extra work to get it to be like that
Maybe Swift should get a mention. The first I heard of cocoa was in researching Swift for a project. According to at least one source [1] Cocoa works with Swift so perhaps Swift should be mentioned along with the other languages being mentioned in the article. 184.75.159.160 (talk) 00:04, 6 June 2014 (UTC)
References
Since Yellow Box does not have a dedicated webpage, I'm writing here.
Yellow Box for Windows could be found in WebObjects for Windows, Yellow Box Developer Preview, OPENSTEP Enterprise for Windows, Rhapsody DR2 for Windows and it's not obvious what is the order between them. One man has shown screenshots of "Project Builder" about Window on different Yellow Boxes.
OPENSTEP Enterprise 4.2 (1996?) v300.2
Rhapsody DR2 (1998) v332.2
WebObjects 4.5.1 (2001) contain Yellow Box 1.0, v365
YellowBox 5.1 DR2 (?), v?
OCTAGRAM (talk) 22:45, 22 November 2014 (UTC)
Recently there has been work on an open source Cocoa binding in C called Silicon[2]. Maybe it could be added to the list of other Cocoa bindings[3]? ColleagueRiley (talk) 20:17, 9 April 2023 (UTC)
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.