Colored Pattern example problems

2010-12-23 Thread FF
I copied this example from Apple docs. Listing 6-5: and get 3 errors - as below. Can someone suggest the fixes. I'm new to CG environment. Thanks and Merry Xmas everyone. Jack. #define H_PATTERN_SIZE 16 #define V_PATTERN_SIZE 16 #define H_PSIZE 8 #define V_PSIZE 8 void MyColoredPatternPaint

How to make 2D lines look 3D

2010-12-23 Thread Matthias Arndt
Hi folks, first a kind of disclaimer: Addressing different graphic technologies (Quartz 2D, OpenGL ES, Cocoa classes) I was quite uncertain in list I should write this posting: feel free to forward me to anyone you'll find appropriate ... I posted the same question to the Developer Forums, but

Re: How to make 2D lines look 3D

2010-12-23 Thread John Joyce
On Dec 23, 2010, at 8:52 AM, Matthias Arndt wrote: > Hi folks, > > first a kind of disclaimer: Addressing different graphic technologies (Quartz > 2D, OpenGL ES, Cocoa classes) I was quite uncertain in list I should write > this posting: feel free to forward me to anyone you'll find appropriat

Re: Colored Pattern example problems

2010-12-23 Thread David Duncan
On Dec 23, 2010, at 5:58 AM, FF wrote: > I copied this example from Apple docs. Generally the examples are there to show you how to use an API, not necessarily to be complete standalone code. You shouldn't necessarily expect doc examples to compile without doing extra work or cross referencing

Re: How to make 2D lines look 3D

2010-12-23 Thread Matthias Arndt
Am 23.12.2010 um 16:02 schrieb John Joyce : > You might consider looking at cocos2d or looking at DrawKit. > Both are open source with very good licensing conditions... :) > They may save you a lot of work and leave you more future flexibility. > There may also be some Omni frameworks that might b

Re: Colored Pattern example problems

2010-12-23 Thread FF
Thanks to all who answered and Merry Xmas, with few in line comments. Jack. On 2010-12-23, at 12:56 PM, David Duncan wrote: > On Dec 23, 2010, at 5:58 AM, FF wrote: > >> I copied this example from Apple docs. > > Generally the examples are there to show you how to use an API, not > necessar

Mac Apps

2010-12-23 Thread koko
I haven't thrown in my $99 yet so I cannot get the details on a 'Mac App'. Is a Mac App just a Cocoa app that is signed? -koko ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the li

UIActionSheet: Odd behavior / appearance

2010-12-23 Thread Phillip Mills
While attempting to use a UIActionSheet with dynamically added buttons, I seem to have discovered some oddities with how they work...or don't. I create a simple View-based application and add the following code: - (void)showMyActionSheet { UIActionSheet *sheet = [[UIActionSheet alloc] initWi

Re: Mac Apps

2010-12-23 Thread James West
Presumably, yes. With the added bonus of app store distribution. - James On Thu, Dec 23, 2010 at 3:57 PM, wrote: > I haven't thrown in my $99 yet so I cannot get the details on a 'Mac App'. > > Is a Mac App just a Cocoa app that is signed? > > -koko > > _

Re: Colored Pattern example problems

2010-12-23 Thread David Duncan
On Dec 23, 2010, at 1:09 PM, FF wrote: > On 2010-12-23, at 12:56 PM, David Duncan wrote: > >> On Dec 23, 2010, at 5:58 AM, FF wrote: >> >>> I copied this example from Apple docs. >> >> Generally the examples are there to show you how to use an API, not >> necessarily to be complete standalone

Re: UKKQueue and CVS

2010-12-23 Thread Uli Kusterer
On 21.12.2010, at 11:58, Martin Hewitson wrote: > I have implemented an editor where I use UKKQueue to handle changes to the > file by other apps. The problem is that I don't get a notification if the > file is committed to a CVS repository (or an SVN repository, for that matter). Many applicat

Re: UIActionSheet: Odd behavior / appearance

2010-12-23 Thread Fritz Anderson
On 23 Dec 2010, at 4:33 PM, Phillip Mills wrote: > Solutions would be nice, of course, but I'm as much interested in whether > someone can run a sanity check to see if they witness the same strangeness. The solution, I beg to offer, is not to put THIRTEEN choices into a UIActionSheet. It's not

Re: UIActionSheet: Odd behavior / appearance

2010-12-23 Thread Phillip Mills
On 2010-12-23, at 6:31 PM, Fritz Anderson wrote: > It's not designed to handle that many well The actual minimum number of buttons that cause it to fail is unknown (to me); what I posted was chosen because it was a quick way to demonstrate all three 'surprises'. Considering that it breaks in *

Re: Mac Apps

2010-12-23 Thread koko
What say you any Apple lurkers is James and me right in our assumption or do I have to pay the $99 to find out if I want to pay the $99? -koko On Dec 23, 2010, at 3:45 PM, James West wrote: Presumably, yes. With the added bonus of app store distribution. - James On Thu, Dec 23, 2010 at 3:

Re: Mac Apps

2010-12-23 Thread Graham Cox
On 24/12/2010, at 11:30 AM, k...@highrolls.net wrote: > What say you any Apple lurkers is James and me right in our assumption or do > I have to pay the $99 to find out if I want to pay the $99? A 'Mac App' is any application that runs on the Mac. They've been around for about 26 years in var

Best way to store file references?

2010-12-23 Thread Rick Mann
Hi. I haven't had to do this since pre-Mac OS X days. What's the best way to store a file reference in my app? I would've used an Alias in the past, but now I don't know what to do. I want it to be able to find the file, even if the user moves the file on the volume (or renames it). I want it t

Re: Best way to store file references?

2010-12-23 Thread Mike Abdullah
What's your minimum OS requirement? On 24 Dec 2010, at 00:46, Rick Mann wrote: > Hi. I haven't had to do this since pre-Mac OS X days. What's the best way to > store a file reference in my app? I would've used an Alias in the past, but > now I don't know what to do. > > I want it to be able to

Re: Intel GMA X3100 glReadPixels

2010-12-23 Thread Richard Somers
On Dec 22, 2010, at 4:32 PM, Richard Somers wrote: The function glReadPixels produces garbage on Intel GMA X3100 graphics with Mac OS X 10.6.5 using CAOpenGLLayer. This is the only configuration that has a problem. Does anyone have any insight as to what is going on? This is a big deal fo

Re: Intel GMA X3100 glReadPixels

2010-12-23 Thread Richard Somers
On Dec 23, 2010, at 6:33 PM, Richard Somers wrote: This is a big deal for my application so I did further testing... IGNORE MESSAGE. POSTED TO THE WRONG LIST. SORRY. --Richard Somers ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please

[SOLVED] Best way to store file references?

2010-12-23 Thread Rick Mann
I found File Reference URLs. On Dec 23, 2010, at 16:46:10, Rick Mann wrote: > Hi. I haven't had to do this since pre-Mac OS X days. What's the best way to > store a file reference in my app? I would've used an Alias in the past, but > now I don't know what to do. > > I want it to be able to fi

Re: [SOLVED] Best way to store file references?

2010-12-23 Thread Rick Mann
Okay, oops. a File Refrence URL isn't quite right, but that section of the documentation refers me to Bookmarsk and Aliases. On Dec 23, 2010, at 18:13:10, Rick Mann wrote: > I found File Reference URLs. > > On Dec 23, 2010, at 16:46:10, Rick Mann wrote: > >> Hi. I haven't had to do this since

[Moderator] Re: Mac Apps

2010-12-23 Thread Scott Anguish
This isn’t the proper forum to get that question answered. d...@apple.com perhaps devforums.apple.com On Dec 23, 2010, at 7:30 PM, k...@highrolls.net wrote: > What say you any Apple lurkers is James and me right in our assumption or do > I have to pay the $99 to find out if I want to pay the