Parser Support

2012-06-18 Thread Appa Rao Mulpuri
Hi List, Do we have any parser to parse a file with the following entries? ID String ID Actual String 1=STRINGLITERAL_ID_1=String 1 some Blah 2=STRINGLITERAL_ID_2=String 2 3=STRINGLITERAL_ID_3=String 3 .. .. Basically I need to construct two dictionaries from that file. One with

Re: Parser Support

2012-06-18 Thread Thomas Davie
On 18 Jun 2012, at 08:22, Appa Rao Mulpuri wrote: Hi List, Do we have any parser to parse a file with the following entries? ID String ID Actual String 1=STRINGLITERAL_ID_1=String 1 some Blah 2=STRINGLITERAL_ID_2=String 2 3=STRINGLITERAL_ID_3=String 3 .. .. Basically I

Re: resolve alias on ios 4

2012-06-18 Thread Ariel Feinerman
On Fri, Jun 15, 2012 at 9:05 PM, Mike Abdullah cocoa...@mikeabdullah.netwrote: On 15 Jun 2012, at 03:51, Ariel Feinerman wrote: On Thu, Jun 14, 2012 at 9:21 PM, Mike Abdullah cocoa...@mikeabdullah.netwrote: How are you coming across an alias on iOS 4? Create on the Mac OS X to use in

Re: resolve alias on ios 4

2012-06-18 Thread Jean-Daniel Dupas
Le 18 juin 2012 à 12:05, Ariel Feinerman a écrit : On Fri, Jun 15, 2012 at 9:05 PM, Mike Abdullah cocoa...@mikeabdullah.netwrote: On 15 Jun 2012, at 03:51, Ariel Feinerman wrote: On Thu, Jun 14, 2012 at 9:21 PM, Mike Abdullah cocoa...@mikeabdullah.netwrote: How are you coming

nstableview reload with animation possible?

2012-06-18 Thread Rick C.
Hi, What I'm basically trying to do is call reloadData but with animation and I can't see how to do it? I know about removing/inserting rows with animation and I tried this, but I keep crashing and I would think it's because I'm removing rows and inserting rows after my datasource has been

Re: Parser Support

2012-06-18 Thread Jens Alfke
On Jun 18, 2012, at 12:22 AM, Appa Rao Mulpuri wrote: Basically I need to construct two dictionaries from that file. One with 'ID' vs 'Actual String' as Key-Value pairs and second one with 'String ID' Vs 'Actual String' as Key-Value pairs. Do you even need a real parser for this? Parser

Findbar highlighting

2012-06-18 Thread ecir hana
Hello, Since Lion NSTextView has this very nice feature - when searching for a text as a user it also highlights all the occurrences of given search string. Is it possible to programmatically force triggering the highlighting? In other words, is it possible to re-use the functionality to

Re: Findbar highlighting

2012-06-18 Thread Tim Schröder
Yes, this should be possible, have a look at the NSTextFinder class and especially at the NSTextFinderClient protocol. Tim Am 18.06.2012 um 20:03 schrieb ecir hana: Hello, Since Lion NSTextView has this very nice feature - when searching for a text as a user it also highlights all the

Re: nstableview reload with animation possible?

2012-06-18 Thread Marc Respass
What I'm basically trying to do is call reloadData but with animation and I can't see how to do it? I know about removing/inserting rows with animation and I tried this, but I keep crashing and I would think it's because I'm removing rows and inserting rows after my datasource has been

Re: updates for retina

2012-06-18 Thread Nathan Sims
On Jun 15, 2012, at 11:05 PM, Ken Thomases wrote: High Resolution Guidelines for OS X https://developer.apple.com/library/mac/#documentation/GraphicsAnimation/Conceptual/HighResolutionOSX/Introduction/Introduction.html Is there an equivalent iOS document?

Applescript to ObjC program communications?

2012-06-18 Thread William Squires
Okay, here's what I'd like to do: 1) Have a Mail.app rule fire an applescript when an email triggers the rule. 2) Grab the subject: line and the to: line from the email, and send that to another program which I'll write What's the best way for an applescript to send the info to my ObjC

iOS disk full?

2012-06-18 Thread William Squires
I know iOS will give your app the didReceiveMemoryWarning:, but what about if you try to use all the available space? (i.e. your iDevice is stuffed with music, videos, apps, photos, and so on) Should the app just catch an NSException? What's the Apple recommended way of playing nice

Re: A color well in a table view?

2012-06-18 Thread William Squires
Not sure if this would be helpful, but maybe a custom NSCell subclass that acts like a color well? On Jun 7, 2012, at 10:32 AM, Sean McBride wrote: On Thu, 7 Jun 2012 13:53:49 +0100, H. Miersch said: In my Mac app I have a table view which so far only displays text and numbers. Now I'd

Re: nstableview reload with animation possible?

2012-06-18 Thread Rick C.
Thanks I will take a look! On Jun 19, 2012, at 3:59 AM, Marc Respass wrote: What I'm basically trying to do is call reloadData but with animation and I can't see how to do it? I know about removing/inserting rows with animation and I tried this, but I keep crashing and I would think it's

Re: iOS disk full?

2012-06-18 Thread Jens Alfke
On Jun 18, 2012, at 5:08 PM, William Squires wrote: I know iOS will give your app the didReceiveMemoryWarning:, but what about if you try to use all the available space? (i.e. your iDevice is stuffed with music, videos, apps, photos, and so on) Should the app just catch an NSException?

Re: Applescript to ObjC program communications?

2012-06-18 Thread Shane Stanley
On 19/06/2012, at 10:03 AM, William Squires wrote: What's the best way for an applescript to send the info to my ObjC program (for 10.6 or later)? Make your application scriptable. If it's a one-off thing, methods in an application category exposed as an application property is the easiest

CodeSigning with Developer ID Cert

2012-06-18 Thread danchik
Hello, We obtained the Apple Developer ID code signing cert, and signed our pkg with it. When testing with different OSes it produced several errors. On Lion (turning on gatekeeper on), prior to installation the Untrusted Cert (paraphrasing) warning came up. On Snow Leopard -

Re: CodeSigning with Developer ID Cert

2012-06-18 Thread Quincey Morris
On Jun 18, 2012, at 19:05 , danchik wrote: We obtained the Apple Developer ID code signing cert, and signed our pkg with it. When testing with different OSes it produced several errors. On Lion (turning on gatekeeper on), prior to installation the Untrusted Cert (paraphrasing) warning

nspopbutton short title possible?

2012-06-18 Thread Rick C.
Hi again, Is it not possible somehow to have the title in an nspopbutton to show a shortened version of one of the menu items? So for example if I have a menu item with the title Advanced Mode when choosing it I would like to set the title that shows on the button to Advanced but leave the

Re: nspopbutton short title possible?

2012-06-18 Thread Graham Cox
On 19/06/2012, at 2:24 PM, Rick C. wrote: Hi again, Is it not possible somehow to have the title in an nspopbutton to show a shortened version of one of the menu items? So for example if I have a menu item with the title Advanced Mode when choosing it I would like to set the title

Re: nspopbutton short title possible?

2012-06-18 Thread Rick C.
That's what I'm doing and it does change the title, but when I do it will create a new menu item with the new name that I assigned. It also says this in the docs. But there must be a way right am I missing something? On Jun 19, 2012, at 12:46 PM, Graham Cox wrote: On 19/06/2012, at 2:24

Re: nspopbutton short title possible?

2012-06-18 Thread Kyle Sluder
Take a look at -[NSPopUpButtonCell setUsesItemFromMenu:]. --Kyle Sluder On Jun 18, 2012, at 10:20 PM, Rick C. rickcort...@gmail.com wrote: That's what I'm doing and it does change the title, but when I do it will create a new menu item with the new name that I assigned. It also says this