Re: No icon in Dock's Application folder HUD?

2010-04-24 Thread Scott Cherf
Thanks Ken, that works. I also found out that removing the Applications folder from the Dock and then moving it back does the trick. I've never heard of QuickLook before, I'll have to look into it. Scott. Oh, and for what it's worth I found that creating a link to the Applications folder and t

Re: showing a list of mounted volumes with icon

2010-04-24 Thread James W. Walker
On Apr 24, 2010, at 7:53 AM, Angelo Chen wrote: > NavCreateChooseVolumeDialog will do, thanks. I was trying to find a sample > code that uses the function in the net, but none so far, any idea where I can > find a sample code for this function? No, but all the NavCreate... functions work prett

Re: No icon in Dock's Application folder HUD?

2010-04-24 Thread Ken Thomases
On Apr 24, 2010, at 2:47 PM, Scott Cherf wrote: > The running application icon shows up fine in the dock and if I place the > application in the dock the icon looks right when it isn't running also. No > problems with badging in the alert panels either, but when I put my > Applications folder i

Re: CharacterSet: CharSet("A") - CharSetUnicode = remainder ?

2010-04-24 Thread Greg Guerin
Filip van der Meeren wrote: > What I was trying to do is the following: > > C/C++ operator| NSCharacterSet operation > - > | (or) | [aCharSet formUnionWithCharacterSet:bCharSet]; > &

Re: 'Build and Analyze' with XCODE 3.2.2

2010-04-24 Thread Scott Cherf
I believe the problem is that you aren't releasing offset or gregorian before you return them. I expect that gregorian retains offset (or copies it and retains the copy without releasing the original). In general, if you aren't don't intend to retain an allocated object, autorelease it and let

Re: 'Build and Analyze' with XCODE 3.2.2

2010-04-24 Thread Quincey Morris
On Apr 24, 2010, at 13:02, John Love wrote: > Here's a sample snippet of my code: > > - (NSDate *)offsetDate:(NSDate *)fromDate > byYears:(int)addYears > byMonths:(int)addMonths > byDays:(int)addDays { > > NSDateCompon

Re: 'Build and Analyze' with XCODE 3.2.2

2010-04-24 Thread Nick Zitzmann
On Apr 24, 2010, at 2:02 PM, John Love wrote: > Here's a sample snippet of my code: > > - (NSDate *)offsetDate:(NSDate *)fromDate > byYears:(int)addYears > byMonths:(int)addMonths > byDays:(int)addDays { > > NSDateCom

'Build and Analyze' with XCODE 3.2.2

2010-04-24 Thread John Love
Here's a sample snippet of my code: - (NSDate *)offsetDate:(NSDate *)fromDate byYears:(int)addYears byMonths:(int)addMonths byDays:(int)addDays { NSDateComponents *offset = [[NSDateComponents alloc] init];

Re: NSTableview background image for column?

2010-04-24 Thread Izak van Langevelde
The table shows a so-called 'exposure sheet' for an animation, where each row corresponds to one frame, and the columns correspond to the various foreground and background animation layers. There is one column for audio, and for synchronization purposes it is nice to show a wave form of the audi

No icon in Dock's Application folder HUD?

2010-04-24 Thread Scott Cherf
I'm having difficulty displaying my application's icon in the Snow Leopard Applications folder pop up HUD display. I'm running 10.6.2, the application is build with Xcode 3.2 and the icon was built with the Xcode 3.2 utility Icon Composer. The running application icon shows up fine in the dock

Re: NSTableview background image for column?

2010-04-24 Thread Andy Lee
Or look into overriding some combination of NSTableView's drawBackgroundInClipRect:, drawGridInClipRect:, and drawRow:clipRect:, possibly using information about the appropriate NSTableColumn to help calculate coordinates. --Andy On Apr 24, 2010, at 2:44 PM, Andy Lee wrote: > What about a cus

Re: NSTableview background image for column?

2010-04-24 Thread Andy Lee
What about a custom table cell whose draw method draws the appropriate subrectangle of the image? Would that work? You might have to work around the table's intercellSpacing so there aren't breaks in the image. What's in this image anyway? I'm having a hard time imagining an app that would u

Re: CharacterSet: CharSet("A") - CharSetUnicode = remainder ?

2010-04-24 Thread Charles Srstka
On Apr 24, 2010, at 1:17 PM, Filip van der Meeren wrote: > > On 24 Apr 2010, at 18:38, Charles Srstka wrote: > >> On Apr 24, 2010, at 5:50 AM, Filip van der Meeren wrote: >> >>> I want to get the difference between 2 characterSets. For example: >>> >>> I have the following 2 characterSets...

NSTableview background image for column?

2010-04-24 Thread Izak van Langevelde
An NSTableView needs a column with one single image, spanning the entire column. I have got this working by setting as the background colour of the NSTableView a pattern, consisting of the background image, scaled big enough so it does not tile. However, this is somewhat limiting with respect to

Re: CharacterSet: CharSet("A") - CharSetUnicode = remainder ?

2010-04-24 Thread Charles Srstka
On Apr 24, 2010, at 5:50 AM, Filip van der Meeren wrote: > I want to get the difference between 2 characterSets. For example: > > I have the following 2 characterSets... > NSCharacterSet *aSet = [NSCharacterSet > characterSetWithCharactersInString:@"a"]; > NSCharacterSet *lowerSet = [NSCharacter

Re: showing a list of mounted volumes with icon

2010-04-24 Thread Angelo Chen
Hi James, NavCreateChooseVolumeDialog will do, thanks. I was trying to find a sample code that uses the function in the net, but none so far, any idea where I can find a sample code for this function? Thanks, Angelo --- 2010年4月24日 星期六,James Walker 寫道﹕ 寄件人: James Walker 主題: Re: showing a list o

CharacterSet: CharSet("A") - CharSetUnicode = remainder ?

2010-04-24 Thread Filip van der Meeren
I want to get the difference between 2 characterSets. For example: I have the following 2 characterSets... NSCharacterSet *aSet = [NSCharacterSet characterSetWithCharactersInString:@"a"]; NSCharacterSet *lowerSet = [NSCharacterSet lowercaseLetterCharacterSet]; The difference between these (aSet -

Re: Localizing of print dialogs

2010-04-24 Thread danchik
Things misteriously started working :) but that explains the mistery. Originally, because I didn't have any localized strings, I removed all localizations of InfoPlist.strings that file (and the file itself as well). I figured that since nothing in the app needed translations, why have all thos