NSComboBox and Multiple Selection

2013-02-12 Thread livinginlosangeles
I have an NSCombox bound to an NSArrayController's "name" attribute. If I choose multiple items and click on the pop up button in the NSComboxBox, the NSComboBox clears the name value for all of the different items' name attribute. This is less than ideal. I don't necessarily wish for the the va

Re: Breaking on nil context

2013-02-12 Thread Joar Wingfors
Try breaking on CGPostError(). Joar On 11 feb 2013, at 23:20, Graham Cox wrote: > I'm getting this logged at times: > > : CGContextSetStrokeColorWithColor: invalid context 0x0 > > > This is despite NSAssert-ing every function I pass a context to for nil. What > can I set a breakpoint on to

Re: new to Cocoa/Objective-c: many points of confusion

2013-02-12 Thread Gavin Eadie
On Jan 22, 2013, at 1:10 AM, Alex Hall wrote: > I understand the concepts of modern programming (methods, classes, objects, > inheritance, all that) quite well thanks to that degree, but we never delved > much into C-style languages. Now, I am trying to teach myself Objective-c, > with the goa

Re: iOS 6.0 SDK UIApplicationInvalidInterfaceOrientation

2013-02-12 Thread Louis Romero
Aren't you misinterpreting what UIInterfaceOrientation*Mask* is? 2013/2/4 Mazzaroth M. > I am getting this error in a universal iOS 6.0 sdk app: > > > 2013-02-03 23:41:57.078 scrappling[20350:c07] *** Terminating app due to > uncaught exception 'UIApplicationInvalidInterfaceOrientation', reason:

Uploading photos to iCloud programatically

2013-02-12 Thread Balaji M
Hi, I am writing a Mac application which is expected to support uploading photos to iCloud. After browsing many sites, I feel there is NO developer API to enable application to upload directly to photostream. My question is: Is there any alternative way for applications to upload photos to Photost

How to get dylib version information

2013-02-12 Thread Omkar Ramtekkar
Hello, I wanted to get the dylib version. I've a dylib path for which I wanted to get the version number. I've tried "otool -L" command and it's giving me the proper output but as per the requirements I can't use it, since I've 100 of dylib in a directory for which I wanted to get the version

How to add randon transparent dots over CGPath or NSBezierPath

2013-02-12 Thread Omkar Ramtekkar
Hello, Wanted to know how can I add transparent dots or lines in CGPath or NSBezierPath. Here are more details about the problem. I've a solid line say width = 30(drawn using NSBezierPath or CGPath) , now I wanted to draw transparent dots over it or transparent lines(thickness=2 or something sm

How to create a dynamic object - The question is mark than it please read full text

2013-02-12 Thread Christ Levesque
The question is here that how to create a dynamic object. But keep it in mind and let's expand it. Each object has several instance variable and several method. How to add to a dynamic object instance variable and method? And then how to forward the message and use method? And how to generate r

How to create OODBSM's database engine in Objective-C & cocoa?

2013-02-12 Thread Christ Levesque
Please note that my database is Object Oriented Database management system. I work on it so much and I got something interesting. First of all I implemented B-Tree but now days the problem is how to add dynamic object with it's instance variable to a binary tree. I want to give you an example fo

Changing drag image while modal

2013-02-12 Thread Jonathan Guy
While performing a drag and drop in NSOutlineView at the point where I accept the drop I want to throw up an NSPopover at the drop point with some options and an accept or decline button to ultimately accept or refuse the drop. The popover needs to run modal so as to block on the return to acce

Re: NSComboBox and Multiple Selection

2013-02-12 Thread Keary Suska
On Feb 12, 2013, at 1:07 AM, livinginlosange...@mac.com wrote: > I have an NSCombox bound to an NSArrayController's "name" attribute. If I > choose multiple items and click on the pop up button in the NSComboxBox, the > NSComboBox clears the name value for all of the different items' name > att

Re: Breaking on nil context

2013-02-12 Thread Sean McBride
On Tue, 12 Feb 2013 18:20:15 +1100, Graham Cox said: >I'm getting this logged at times: > >: CGContextSetStrokeColorWithColor: invalid context 0x0 > > >This is despite NSAssert-ing every function I pass a context to for nil. >What can I set a breakpoint on to trap where this error is coming from?

Re: Changing drag image while modal

2013-02-12 Thread Keary Suska
On Feb 11, 2013, at 4:43 AM, Jonathan Guy wrote: > While performing a drag and drop in NSOutlineView at the point where I accept > the drop I > want to throw up an NSPopover at the drop point with some options and an > accept or decline button to ultimately > accept or refuse the drop. The pop

Re: Uploading photos to iCloud programatically

2013-02-12 Thread Kyle Sluder
On Feb 6, 2013, at 9:42 PM, Balaji M wrote: > Hi, > > I am writing a Mac application which is expected to support uploading > photos to iCloud. > After browsing many sites, I feel there is NO developer API to enable > application to upload directly to photostream. Correct. > My question is: >

Re: How to add randon transparent dots over CGPath or NSBezierPath

2013-02-12 Thread Seth Willits
On Feb 8, 2013, at 9:25 AM, Omkar Ramtekkar wrote: > Wanted to know how can I add transparent dots or lines in CGPath or > NSBezierPath. Here are more details about the problem. I've a solid line say > width = 30(drawn using NSBezierPath or CGPath) , now I wanted to draw > transparent dots over

Re: Uploading photos to iCloud programatically

2013-02-12 Thread Balaji M
Thanks for your response Kyle. But if that is the answer then its not my problem... its apple's serious limitation!!! In that case, Do I have any other choice of online storage of photos which keeps syncing between all apple devices and provides developer support? On Tue, Feb 12, 2013 at 10:2

Re: Uploading photos to iCloud programatically

2013-02-12 Thread Kyle Sluder
On Feb 12, 2013, at 9:20 AM, Balaji M wrote: > Thanks for your response Kyle. > > But if that is the answer then its not my problem... its apple's serious > limitation!!! Yes it is. > > In that case, Do I have any other choice of online storage of photos which > keeps syncing between all ap

Re: How to get dylib version information

2013-02-12 Thread Jerry Krinock
On 2013 Feb 08, at 08:52, Omkar Ramtekkar wrote: > I've tried "otool -L" command and it's giving me the proper output but as per > the requirements I can't use it, since I've 100 of dylib in a directory for > which I wanted to get the version information and I can't run "otool" command > for

How to add page in UIScrollView

2013-02-12 Thread Kévin Vavelin
Hi there, I have to do a pdf generator with custom label, so in my storyboard I have a UIScrollView with a UIView inside it, and if my UIView is full, I want to add another UIView and fill it with other label that is not already in. How can I add another page in my UIScrollView with another UIV

Re: NSLayoutConstraints - 2

2013-02-12 Thread Peter Ammon
Ho Koko, Set the Deployment Target in the xib to 10.5, and you'll get the warning. The target is in the File inspector (leftmost tab in the right pane). On Feb 11, 2013, at 10:46 AM, koko wrote: > Furthermore, where is the warning that I am building with the 10.8 SDK, > deploying 10.5 and tha

Re: How to read the deployment target of a .plugin?

2013-02-12 Thread Chris Hanson
On Feb 10, 2013, at 7:09 PM, Jerry Krinock wrote: > In an .app project, the Build Setting named Deployment Target in Xcode gets > compiled into the product's Info.plist as LSMinimumSystemVersion, and this is > the minimum Mac OS X version in which the product will launch. That is a convenience

Re: How to read the deployment target of a .plugin?

2013-02-12 Thread Chris Hanson
On Feb 10, 2013, at 10:40 PM, Jerry Krinock wrote: > On 2013 Feb 10, at 21:12, Charles Srstka wrote: > >> On my machine, "Compiler Default" makes it 10.8. > > Same here. Those "Compiler Default" and "Current/Latest OS X" Build Settings > values are going to kill me one of these days. Deploy

Re: Uploading photos to iCloud programatically

2013-02-12 Thread Corbin Dunn
hi, If a feature or documentation isn't available for something you want to do, please log a bug: bugreporter.apple.com corbin On Feb 6, 2013, at 9:42 PM, Balaji M wrote: > Hi, > > I am writing a Mac application which is expected to support uploading > photos to iCloud. > After browsing man

Fwd: Uploading photos to iCloud programatically

2013-02-12 Thread Kirk
From: Kirk Date: February 12, 2013, 2:10:40 PM CST To: "balaji06n...@gmail.com" Subject: Re: Uploading photos to iCloud programatically Use AppleScript (on iPhoto) on the Mac and ALAssetsLibrary on iOS. Both let you have remarkably capable access to the user's photo library, including creating

Re: Uploading photos to iCloud programatically

2013-02-12 Thread Jens Alfke
On Feb 12, 2013, at 9:20 AM, Balaji M wrote: > In that case, Do I have any other choice of online storage of photos which > keeps syncing between all apple devices and provides developer support? Dropbox is what a lot of iOS developers are using for file-based sync. If you want a more configur

NSUserNotificationCenter: Spoofing the app name/icon?

2013-02-12 Thread Nick Zitzmann
Short question: How do I spoof the application name & icon when a notification from an application is posted to NSUserNotificationCenter? Long question: I've searched around and didn't find a solution to this problem. We have a helper app, and we'd like that helper app to post user notifications

Re: Breaking on nil context

2013-02-12 Thread Graham Cox
Thanks chaps, that did the trick. The plot thickens though, since I'm getting this logged when the context is NOT nil, usually in a call (but only now and again) to CTLineDraw. Mysterious --Graham On 12/02/2013, at 7:09 PM, Joar Wingfors wrote: > Try breaking on CGPostError().

Re: Breaking on nil context

2013-02-12 Thread David Duncan
On Feb 12, 2013, at 5:01 PM, Graham Cox wrote: > Thanks chaps, that did the trick. > > > The plot thickens though, since I'm getting this logged when the context is > NOT nil, usually in a call (but only now and again) to CTLineDraw. > Mysterious > Does your attributed string use an N

Re: Breaking on nil context

2013-02-12 Thread Graham Cox
On 13/02/2013, at 12:04 PM, David Duncan wrote: > Does your attributed string use an NSColor to specify the stroke color? Maybe I'll check that out. Actually that raises a point about using CoreText. There are new NSAttributedString attributes that allow you to specify CT attributes dir

CocoaHeads Lake Forest meets at Ozate this Wednesday on VCS

2013-02-12 Thread Scott Ellsworth
CocoaHeads Lake Forest will be meeting on the second Wednesday of the month. For this month only, we will be meeting at Ozate! The address is 22921 Triton Way, Suite 124, Laguna Hills, CA 92653 Please join us from 7pm to 9pm on Wednesday. Tentatively, we will be having a group discussion on vers