Re: [moderator] Re: This is a test

2010-08-26 Thread koko
My humble apologies. Sometimes I get outside of my mind. -koko On Aug 26, 2010, at 9:36 PM, Scott Anguish wrote: Posting test messages to a list of 8000+ members isn’t appropriate. Please contact the admins if you feel you’ve been removed or received such a message. On Aug 26, 2010, at

[moderator] Re: This is a test

2010-08-26 Thread Scott Anguish
Posting test messages to a list of 8000+ members isn’t appropriate. Please contact the admins if you feel you’ve been removed or received such a message. On Aug 26, 2010, at 10:43 PM, k...@highrolls.net wrote: > I was notified that I requested to be removed from the list. I did not. I am > te

[Moderator] Re: A question

2010-08-26 Thread Scott Anguish
No. And this message is off topic in and of itself. It has nothing to do with Cocoa programming. On Aug 26, 2010, at 10:53 AM, Behrang Saeedzadeh wrote: > Hi, > > I have a domain name that might be interesting for iPhone, iPad, and > Mac software developers. Can I advertise it in this > maili

This is a test

2010-08-26 Thread koko
I was notified that I requested to be removed from the list. I did not. I am testing my ability to communicate. -koko ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact

Re: [SOLVED][CORRECTION] NSOpenPanel -setAllowedFileTypes

2010-08-26 Thread koko
m_filterDescriptions is the NSComboBox. It is populated before the open panel is displayed. -koko On Aug 26, 2010, at 7:37 PM, k...@highrolls.net wrote: For those interested in my solution. @interface FSAccessoryView : NSView { @public NSOpenPanel *m_NSOpenPanel; NSMuta

Re: [SOLVED] NSOpenPanel -setAllowedFileTypes

2010-08-26 Thread koko
For those interested in my solution. @interface FSAccessoryView : NSView { @public NSOpenPanel *m_NSOpenPanel; NSMutableArray *m_fileTypes; NSInteger m_idx; IBOutletNSTextField *m_stitches, *m_colors, *m_inches, *m_millimeters; IBOutlet

Re: NSOpenPanel -setAllowedFileTypes

2010-08-26 Thread Quincey Morris
On Aug 26, 2010, at 10:41, k...@highrolls.net wrote: > I have an accessory view in an NSOpenPanel which contains a NSComboBox. The > combo box is a list of file extensions. When the user selects an entry the > action method calls --setAllowedFileTypes. All these mechanics work properly. > The

Re: NSOpenPanel -setAllowedFileTypes

2010-08-26 Thread Laurent Daudelin
It should be doable. A few applications offer this kind of filtering. Photoshop comes to mind. Not sure why it's not working for you, though, sorry. -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin http://www.nemesys-soft.com/ Logiciels Nemesys Softw

Re: NSOpenPanel -setAllowedFileTypes

2010-08-26 Thread koko
I beg to differ with you. This is not a hack as the methods to achieve this result all all public Cocoa api's. Our market (machine embroidery) realizes 29 file types. A customer may have a machine that recognizes 3 or 4 of these. Giving them the ability to filter file types from an open p

Re: NSOpenPanel -setAllowedFileTypes

2010-08-26 Thread koko
By 'does not respond' I was referring to the view not validating, I was not calling -validateVisibleColumns. Now, using -setAllowdFieTypes and calling -validateVisibleColumns the view is still not validated. I do not know if this is because my array of type is upper case or if case is irre

Re: NSOpenPanel -setAllowedFileTypes

2010-08-26 Thread Thomas Davie
On 26 Aug 2010, at 18:41, k...@highrolls.net wrote: > I have an accessory view in an NSOpenPanel which contains a NSComboBox. The > combo box is a list of file extensions. When the user selects an entry the > action method calls --setAllowedFileTypes. All these mechanics work properly. > The

Re: NSOpenPanel -setAllowedFileTypes

2010-08-26 Thread Corbin Dunn
On Aug 26, 2010, at 10:41 AM, k...@highrolls.net wrote: > I have an accessory view in an NSOpenPanel which contains a NSComboBox. The > combo box is a list of file extensions. When the user selects an entry the > action method calls --setAllowedFileTypes. All these mechanics work properly. >

Re: Performance issue

2010-08-26 Thread Ken Thomases
On Aug 26, 2010, at 8:39 AM, Uli Kusterer wrote: > On Aug 26, 2010, at 12:48 PM, Vijayakumar_Thota wrote: >> I am working on the performance issues of an application. I am facing a >> difficulty in finding out how many times a method is called in different >> contexts. >> >> Suppose there is a

Re: invoke menu tracking programmatically

2010-08-26 Thread Nava Carmon
Some more details: I have a status menu with a NSSearchField and menu items (I know the best way to implement it - to make a window with a table, but this is done already). When search field is active and user presses up & down arrows, I'd like to start menu tracking, that is that the user will

NSOpenPanel -setAllowedFileTypes

2010-08-26 Thread koko
I have an accessory view in an NSOpenPanel which contains a NSComboBox. The combo box is a list of file extensions. When the user selects an entry the action method calls --setAllowedFileTypes. All these mechanics work properly. The issue: The open panel does not respond to the new allowe

Re: Mixing CPP and Obj-C

2010-08-26 Thread koko
Thanks Shawn. I will review the referenced article. -koko On Aug 26, 2010, at 11:06 AM, Shawn Erickson wrote: On Thu, Aug 26, 2010 at 9:11 AM, wrote: I want to add Obj-C to classes in a CPP static library that is used by Mac and Windows apps. I have set the compile type to cpp.objc so tha

Re: Mixing CPP and Obj-C

2010-08-26 Thread Shawn Erickson
On Thu, Aug 26, 2010 at 9:11 AM, wrote: > I want to add Obj-C to classes in a  CPP static library that is used by Mac > and Windows apps. I have set the compile type to cpp.objc so that the file > extension can remain .cpp and compile on Windows.  I am #ifdef'ing functions > that use Cocoa. > > M

Re: How to change name and location of "core dump files"

2010-08-26 Thread Mark Ritchie
Hey! On 26/Aug/2010, at 7:29 AM, Parimal Das wrote: > How i can change this core name to a more readable one, say core.myApp. > Also can i change the default location of core generation?? Be careful as this is controlled system wide, not per process. ;-) And to be clear, I've not messed w

Re: sync core-data store between OS X and iOS

2010-08-26 Thread Keary Suska
On Aug 26, 2010, at 12:01 AM, Martin Hewitson wrote: > On Aug 26, 2010, at 6:39 AM, Nick Zitzmann wrote: > >> On Aug 25, 2010, at 10:07 PM, Martin Hewitson wrote: >> >>> I just wanted to confirm what I've read. Basically, it seems to be true >>> that there is currently no official apple API whi

Re: Mixing CPP and Obj-C

2010-08-26 Thread koko
Thanks Dave. On Aug 26, 2010, at 10:17 AM, Dave Carrigan wrote: On Aug 26, 2010, at 9:11 AM, k...@highrolls.net wrote: I want to add Obj-C to classes in a CPP static library that is used by Mac and Windows apps. I have set the compile type to cpp.objc so that the file extension can remain

Re: Mixing CPP and Obj-C

2010-08-26 Thread Dave Carrigan
On Aug 26, 2010, at 9:11 AM, k...@highrolls.net wrote: > I want to add Obj-C to classes in a CPP static library that is used by Mac > and Windows apps. I have set the compile type to cpp.objc so that the file > extension can remain .cpp and compile on Windows. I am #ifdef'ing functions > that

Mixing CPP and Obj-C

2010-08-26 Thread koko
I want to add Obj-C to classes in a CPP static library that is used by Mac and Windows apps. I have set the compile type to cpp.objc so that the file extension can remain .cpp and compile on Windows. I am #ifdef'ing functions that use Cocoa. My question is memory management. Should functi

Re: sync core-data store between OS X and iOS

2010-08-26 Thread Nick Zitzmann
On Aug 26, 2010, at 12:01 AM, Martin Hewitson wrote: > That's what I feared. Too bad. How are others doing this then? Or are they > not? I couldn't find any 3rd party solutions - only ones that work over > bonjour which typically have the 'same network' problem. We wrote our own sync engine fo

Re: A question

2010-08-26 Thread Joshua Tidsbury
> > Hi, > > I have a domain name that might be interesting for iPhone, iPad, and > Mac software developers. Can I advertise it in this > mailing list? No. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or mo

A question

2010-08-26 Thread Behrang Saeedzadeh
Hi, I have a domain name that might be interesting for iPhone, iPad, and Mac software developers. Can I advertise it in this mailing list? Thanks in advance, Behrang Saeedzadeh http://www.behrang.org ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.co

Re: [OT]making app new modules display from within the app and not from the app store.

2010-08-26 Thread Gustavo Pizano
Wyatt Thanks a lot, I didn't know about this.. I will look into it right away. Gustavo On Aug 26, 2010, at 4:47 PM, Wyatt Webb wrote: > > On Aug 26, 2010, at 4:05 AM, Gustavo Pizano wrote: > >> Hello all, I know this isn't the right place so please don't behead me if I >> offend you, but

Re: [OT]making app new modules display from within the app and not from the app store.

2010-08-26 Thread Wyatt Webb
On Aug 26, 2010, at 4:05 AM, Gustavo Pizano wrote: > Hello all, I know this isn't the right place so please don't behead me if I > offend you, but if you could help me, Im will be happy to hear you. > > We are developing an application with interactive children modules. The idea > is that each

invoke menu tracking programmatically

2010-08-26 Thread Nava Carmon
Hi, Is it possible to invoke NSMenu tracking programmatically? Thanks, Nava Carmon ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admin

How to change name and location of "core dump files"

2010-08-26 Thread Parimal Das
Hello I need to enable 'core dumps' for my app. I am doing this by using 'setrlimit()' function to change ulimit from default(zero) to unlimited. Now when i crash my app, it creates a dump file at /cores/core.xxx where xxx is the PID. How i can change this core name to a more readable one, say

Re: Question about scope

2010-08-26 Thread Dave DeLong
Well to me it looks like you're never assigning anything into the second viewcontroller's rootViewController property, which means it'll be nil... Dave Sent from my iPhone On Aug 26, 2010, at 7:50 AM, "Eric E. Dolecki" wrote: > What I have done is when instantiating the viewcontroller to push

Re: Crashes in _Unwind_Resume

2010-08-26 Thread Benjamin Rister
Greg Parker wrote: > You might try installing an @try/@catch block in main. If the unwinder is > working long enough to get there then you can log something to help debug > further. You can use `...@catch (NSException *e)` to check for Objective-C > exceptions and `...@catch (...)` to check for

Re: Question about scope

2010-08-26 Thread Eric E. Dolecki
What I have done is when instantiating the viewcontroller to push into the navigationviewcontroller is to call a method on the viewcontroller before the push, thus setting the var and not trying to attempt a get. It works. Still curious about the get though - can that be done? Interactive Designe

Re: Performance issue

2010-08-26 Thread Uli Kusterer
On Aug 26, 2010, at 12:48 PM, Vijayakumar_Thota wrote: > I am working on the performance issues of an application. I am facing a > difficulty in finding out how many times a method is called in different > contexts. > > Suppose there is a method called 'setItem'. I need the report which tells >

Re: NSCoding between iOS and Mac OS X

2010-08-26 Thread Nathan Day
What about binary property lists, they should be interchangeable between iOS and Mac OS X? On 26/08/2010, at 1:29 AM, Ricky Sharp wrote: > A similar question came up recently. > > While some objects (e.g. NSNumber) things should be binary compatible. But > you may run into issues. > > Also d

Question about scope

2010-08-26 Thread Eric E. Dolecki
This is a noob question I'm sure. I have a rootViewController. In it is a NSString thats been declared. The rootViewController pushes another view onto the NavigationViewController... loading that view. I'd like the loaded view to be able to access that string variable. However, I am currently get

[OT]making app new modules display from within the app and not from the app store.

2010-08-26 Thread Gustavo Pizano
Hello all, I know this isn't the right place so please don't behead me if I offend you, but if you could help me, Im will be happy to hear you. We are developing an application with interactive children modules. The idea is that each time a new module is ready it will be submitted to Apple for

Performance issue

2010-08-26 Thread Vijayakumar_Thota
Dear list, I am working on the performance issues of an application. I am facing a difficulty in finding out how many times a method is called in different contexts. Suppose there is a method called 'setItem'. I need the report which tells something like the method 'setItem' is called 12 times