Re: Existence of objects

2013-05-05 Thread YT
Oh yeah - da- the MVC This past week I've been totally focused on learning how to write code that uses the Quartz 2D library and so totally forgot the MVC design pattern. Plus I've read about the MVC pattern it in the docs but have not configured one myself in Cocoa. That was a good pointe

Re: Existence of objects

2013-05-05 Thread Quincey Morris
On May 5, 2013, at 22:24 , YT wrote: > What I have is a view within the main window that is a Quartz 2D graphical > "thing" and I want to have a set of UI elements that a user interacts with to > change the graphical presentation. > Well the UI elements are in the Delegate and the Graphical th

Re: beginOpenPanel:forTypes:completionHandler woes

2013-05-05 Thread Kyle Sluder
On Sun, May 5, 2013, at 08:41 PM, Kurt Sutter wrote: > Are we expecting functionality that is not planned to be there or could > we be doing something wrong? Anybody knows of some workarounds? Save panels understand having their allowed types updated on the fly, but the only filtering that open pa

Re: Existence of objects

2013-05-05 Thread YT
Regarding "there must be a reference to objA stored somewhere" I kinda figured as much - BUT - was hoping there might be another way especially since there are those OO purists that condemn the use of any sort of "globalness". What I have is a view within the main window that is a Quartz 2D

Re: Existence of objects

2013-05-05 Thread Quincey Morris
On May 5, 2013, at 21:43 , YT wrote: > In some thread an object is created with a set of methods. > Lets call this object objA. > > Later in time another objected is created perhaps in another thread (not sure > if this note is relevant). > Lets call this object objB. > > Now objB needs to c

Existence of objects

2013-05-05 Thread YT
Not sure how to ask this question. In some thread an object is created with a set of methods. Lets call this object objA. Later in time another objected is created perhaps in another thread (not sure if this note is relevant). Lets call this object objB. Now objB needs to call a method in obj

Re: What am I looking for in the documentation?

2013-05-05 Thread YT
Thanks! sprintf worked great - Didn't realize that those wonderful Standard C functions were available. Again, Thanks YT On May 4, 2013, at 4:23 PM, Mohit Sharma wrote: > You might want to look at sprintf. sprintf(text, "%f", fv) should work just > fine. > > > On Sat, May 4, 2013 at

beginOpenPanel:forTypes:completionHandler woes

2013-05-05 Thread Kurt Sutter
Dear All We have a sandboxed application and we are using NSDocument's beginOpenPanel:forTypes:completionHandler to install an accessoryView so that a user can select the file types that should be shown as active in the open Panel. We find two issues with this: 1 - The accessory view installs

Re: Trouble linking libcommonCrypto in iOS 6.1

2013-05-05 Thread Rick Mann
Huh. I tried building for device instead, and now I get the following: ld: cannot link directly with /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk/usr/lib/system/libcommonCrypto.dylib. Link against the umbrella framework 'System.framework'

Trouble linking libcommonCrypto in iOS 6.1

2013-05-05 Thread Rick Mann
I can add libcommonCrypto.dylib from the iOS Add Frameworks & Libraries UI, but it fails to link with: ld: library not found for -lcommonCrypto Any idea how I can link this? I need it for CCHmac(). Thanks! -- Rick ___ Cocoa-dev mailing