Re: Custom NSView subclass - expressing the fact that a property affects the displayed image

2015-05-26 Thread Uli Kusterer
On 23 May 2015, at 10:42, Jonathan Taylor wrote: > If only there was a way of annotating properties as > only-to-be-used-from-the-main-thread. I've asked something to that effect > previously, though, and nobody had any suggestions. I feel there must be a > way of designing-in the safety that I

Re: Disabling auto-synthesis of property accessors.

2015-05-26 Thread Fritz Anderson
On 22 May 2015, at 7:49 AM, Alex Zavatone wrote: > @property (nonatomic, strong) NSString *thing; > Another chore in porting this code: The retention attribute should be copy, not strong. If you needed to track changes in the string, you'd use strong, but NSStrings don’t mutate; NSMutableSt

Re: Disabling auto-synthesis of property accessors.

2015-05-26 Thread Alex Zavatone
On May 26, 2015, at 1:00 PM, Fritz Anderson wrote: > > On 22 May 2015, at 7:49 AM, Alex Zavatone wrote: > >> @property (nonatomic, strong) NSString *thing; >> > > Another chore in porting this code: The retention attribute should be copy, > not strong. I just typed that off the top of my h

Off center guides

2015-05-26 Thread David Grant
Is there some reason that when adding an object such as a textfield or label to a view in a storyboard the blue guide would appear just off center to the left? Maybe something in the inspector pages I checked or unchecked that might fix this? ___ Coco

Re: Disabling auto-synthesis of property accessors.

2015-05-26 Thread Jens Alfke
> On May 26, 2015, at 10:24 AM, Alex Zavatone wrote: > > For any nonmutable class, should I be using copy instead of strong or is this > just with NSString? Well, only for classes that implement NSCopying. And if it’s truly an immutable value class; for example you probably wouldn’t want an I

Re: Swift program termination...

2015-05-26 Thread Randy Widell
Hey, thanks for the idea. After some stumbling through documentation and other posts, I got it working. The two biggest problems were finding a way to define SIG_IGN to prevent default handling of the signal, and I didn’t know that I had to use a global queue with a custom run loop or use disp

Problem with Outline View and Manual Memory Management

2015-05-26 Thread Dave
Hi, I’ve incorporated the Tree Controller in SourceView. SourceView shows a Split View with a tree structure on the left and either shows the contents of a URL or a List of Files on the right, depending on which item is selected in the left view. The SourceView project is built using ARC, but

Re: Off center guides

2015-05-26 Thread David Grant
http://imgur.com/84NWj4A > On May 26, 2015, at 11:49 AM, Alex Zavatone wrote: > > Screenshot? > > You should be able to take a screen and post to Imgur.com for free if you > don't have an accounts somewhere else. > > On May 26, 2015, at 2:40 PM, David Grant wrote:

Re: Problem with Outline View and Manual Memory Management

2015-05-26 Thread Ken Thomases
On May 26, 2015, at 1:34 PM, Dave wrote: > When I run the App, it displays the Tree View fine and Populates the two > sections, but it crashes due to an over-release if I select a file based item > - I found this by using NSZombies - it gives the error: > > *** -[NSImage release]: message sent

Re: Problem with Outline View and Manual Memory Management

2015-05-26 Thread Jens Alfke
> On May 26, 2015, at 11:34 AM, Dave wrote: > > The SourceView project is built using ARC, but my App uses Manual Memory > Management. When I moved the code over, I changed it to use release etc. and > changed any properties or iVar’s to use retain or assign. Why not leave the source files a

Anyone else having trouble with the Provisioning Profile?

2015-05-26 Thread Rick Mann
Anyone else having trouble with the (Mac) Provisioning Profile? I just get the spinner in the area where it normally shows content. -- Rick Mann rm...@latencyzero.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin

Re: objc_msgSend() selector name: tableView:objectValueForTableColumn:row:

2015-05-26 Thread Scott Ribe
On Apr 9, 2015, at 12:17 PM, Charles Srstka wrote: > >> On Apr 9, 2015, at 12:41 PM, Raglan T. Tiger wrote: >> >> My app runs just fine on OS X version > 10.6.8. >> >> On 10.6.8 it crashes. >> >> The crash report indicates a bad object having called on it >> tableView:objectValueForTableColu

Re: objc_msgSend() selector name: tableView:objectValueForTableColumn:row:

2015-05-26 Thread Charles Srstka
On May 26, 2015, at 7:23 PM, Raglan T. Tiger wrote: > > My solution to this problem was to set the tableview delegate to nil in the > windowwillclose for the window containing the table. > > My code now runs 10.5 and upward, built with 10.9 sdk on Xcode 6.2 > > -rags I was getting the crash w

Re: Anyone else having trouble with the Provisioning Profile?

2015-05-26 Thread Roland King
Yep. 1 week it's been busted. > On 27 May 2015, at 07:30, Rick Mann wrote: > > Anyone else having trouble with the (Mac) Provisioning Profile? I just get > the spinner in the area where it normally shows content. > > -- > Rick Mann > rm...@latencyzero.com > > > > ___

Re: Anyone else having trouble with the Provisioning Profile?

2015-05-26 Thread Doug Hill
I’ve noticed very long loading times for the pages in the Certs, IDs & Profiles sections, but it eventually loads. I just tried it now in Chrome and it took ~5mins of staring at that spinner for the list of Provisioning profiles to load. Doug Hill https://chartcube.com/