image
image

Go Back   macosx.com > Community > Opinions, & Open Letters

Reply
 
LinkBack Thread Tools
  #1  
Old February 25th, 2002, 07:47 PM
strobe's Avatar
Puny Member
 
Join Date: Dec 2000
Posts: 795
Thanks: 0
Thanked 0 Times in 0 Posts
strobe is on a distinguished road
Apple, please fix Cocoa

I have yet to find a Cocoa app which doesn't drive me up the wall. Clearly there are some implicit Mac HI conventions which have not found their way into the Aqua HI Guidelines. For example:

•*When selecting text to the right or down, the trailing hard return (linefeed in UNIX) shouldn't be selected. The Mac behavior of only selecting the trailing linefeed when moving to the next line (or triple-clicking) is by far superior. I nearly never want the trailing linefeed, and when I do I add it after pasting. This problem is only compounded when trying to move selections.

•*The delay when trying to drag+drop text makes absolutely no sense. It pisses off not only those who want drag+drop text, but those who do not! Either have it on or off.

•*Most Cocoa apps assume a file's path is constant. This logic is opposite of Carbon apps and inferior. When Apple depricated functions using paths long ago it was a huge human interface boon since the user no longer had to keep track of which files were open by what apps. Instead the user could move and rename files/folders/apps willy nilly without doing a census on what files/folders/apps were open. Apple does provide functions in the closed-source version of CoreFoundation to convert POSIX file paths to FSRefs and back, but Cocoa developers aren't using them. They could also use NSDocument for all file I/O, but often they are fetching the file paths from these objects and using them elsewhere in a manner other than temporary. The behavior of commands like "Save" and "Save As..." are based on the implication that file paths are constant or variable.
__________________
---
>80 column hard wrapped e-mail is not a sign of intelligent
>life
Reply With Quote
  #2  
Old February 26th, 2002, 08:52 AM
sheepguy42's Avatar
AFOL
 
Join Date: Mar 2001
Location: Glenside
Posts: 326
Thanks: 0
Thanked 0 Times in 0 Posts
sheepguy42 is on a distinguished road
Re: Apple, please fix Cocoa

Quote:
Originally posted by strobe
Apple does provide functions in the closed-source version of CoreFoundation to convert POSIX file paths to FSRefs and back, but Cocoa developers aren't using them. They could also use NSDocument for all file I/O, but often they are fetching the file paths from these objects and using them elsewhere in a manner other than temporary. The behavior of commands like "Save" and "Save As..." are based on the implication that file paths are constant or variable.
And this is where the real problem comes to light: Cocoa is fine, Cocoa coders are not. keep in mind that former Classic programmers are probably mostly sticking to Carbon because it's more like what they're used to, and Unix coders are going to use methods they are used to, so it will be a while before there are lots of good Cocoa programmers (good in the sense that they are completely familiar with using the Cocoa environment and take advantage of ALL its great features). Be patient....within a year or so we should see a lot more Cocoa apps, including Carbon apps being converted to Cocoa.
__________________
Still wanting a MacBook, but my free iMac helps soften the pain
Reply With Quote
  #3  
Old February 27th, 2002, 07:59 PM
strobe's Avatar
Puny Member
 
Join Date: Dec 2000
Posts: 795
Thanks: 0
Thanked 0 Times in 0 Posts
strobe is on a distinguished road
Cocoa is NOT fine! How does one solve these problems while using Cocoa? You don't, instead you have to use non-Cocoa APIs.

This is a definite problem with the Cocoa API
__________________
---
>80 column hard wrapped e-mail is not a sign of intelligent
>life
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Apple- Yesturday, Today, and Tomorrow GroundZeroX Opinions, & Open Letters 19 May 9th, 2005 07:56 PM
InfoWorld Special Report: Apple Unpeeled Michael Watson Apple News, Rumors & Discussion 4 November 24th, 2002 09:22 AM
Future of Apple With x86 pezagent Apple News, Rumors & Discussion 28 August 26th, 2002 12:41 PM
Apple observations and opinions TellarHK Apple News, Rumors & Discussion 4 May 31st, 2002 12:36 AM
Apple: Forget XP, try the Mac tagliatelle Bob's Place 1 November 25th, 2001 07:12 AM


All times are GMT -5. The time now is 05:32 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC1
Copyright 2000-2010 DigitalCrowd, Inc.