How to avoid swift.retain/release

2016-09-08 Thread Gerriet M. Denkmann
This code executes in a strange way: SubClass takes much longer than BaseClass. class BaseClass { let hugeNumber: Int var bitfield: UnsafeMutablePointer init() { hugeNumber = 1_000_000_000 bitfield = calloc( hugeNumber, 1) }

Re: More Provisioning woes

2016-09-08 Thread Rick Mann
It's possible someone deleted it a while back, but all the Profiles stayed valid because they copied the info, until it expired. We did do a big purge a while back, but I'm pretty sure we've added devices since then, which would've require re-creating the Profiles. In any case, I wish there was

Re: More Provisioning woes

2016-09-08 Thread Alex Zavatone
Yeah, I'm concerned that "things", resources we need in our dev accounts magically disappeared. I just care that a person who is not me also saw stuff go missing in their dev account. And you're the first data point that I've seen. On Sep 8, 2016, at 6:09 PM, Rick Mann wrote: > Not my Prof

Re: More Provisioning woes

2016-09-08 Thread Rick Mann
Not my Profiles. My distribution Certificate. > On Sep 8, 2016, at 16:05 , Alex Zavatone wrote: > > Yeah, that is what happened to our provisioning profiles. Just gone. > > > On Sep 8, 2016, at 6:04 PM, Rick Mann wrote: > >> In my case, it turns out all the expired profiles are also Distribu

Re: More Provisioning woes

2016-09-08 Thread Alex Zavatone
Yeah, that is what happened to our provisioning profiles. Just gone. On Sep 8, 2016, at 6:04 PM, Rick Mann wrote: > In my case, it turns out all the expired profiles are also Distribution, not > Development, Profiles. For some reason, our Distribution Certificate is > completely gone (rather

Re: More Provisioning woes

2016-09-08 Thread Rick Mann
In my case, it turns out all the expired profiles are also Distribution, not Development, Profiles. For some reason, our Distribution Certificate is completely gone (rather than being there but expired). So, it took me a while to figure out what was going on. Be nice if the error would say, "No

Re: More Provisioning woes

2016-09-08 Thread Alex Zavatone
Rick, I can help you though provisioning hell and explain the dual cert thing. Can you Skype or use some voice type communication? I'm zavatone on Skype. On Sep 8, 2016, at 5:33 PM, Rick Mann wrote: > Today a bunch of our Profiles expired. Normally I just re-generate them, but > now I can't

Re: More Provisioning woes

2016-09-08 Thread Alex Zavatone
OKOKOKOKOK Did this happen to ANYONE ELSE? Today, I discovered that bunch of our iOS provisioning profiles are just missing. Myself and my boss are the only two with the permission to nuke these and we both don't want to make our lives any more hellish. Development provisioning profiles for a

More Provisioning woes

2016-09-08 Thread Rick Mann
Today a bunch of our Profiles expired. Normally I just re-generate them, but now I can't. The Portal says they all lack Certificates. Thing is, we still have two Certificates (one for each developer), that have NOT expired, in the Portal. To confuse matters further, the one Profile that has not

Re: What difference exist from where a method will be called?

2016-09-08 Thread Raimond Hettrich
Oh man, You got it! That’s the solution. I study as conscionable as I can, but until now I thought an object in the nib is just a connection to the class, but now I'm feeling very silly because it’s obvious that it is an object and if the object is named like a existing class it’s just another

Re: What difference exist from where a method will be called?

2016-09-08 Thread Graham Cox
> On 8 Sep 2016, at 11:13 PM, Raimond Hettrich wrote: > > the init-method of the DelegateClass is running. This is because I have a > class object in the Document.xib file Alarm bells. What exactly does this mean? I assume you mean you have a custom view within the document’s window, and yo

Re: What difference exist from where a method will be called?

2016-09-08 Thread Graham Cox
> On 8 Sep 2016, at 11:37 PM, Raimond Hettrich wrote: > > he ivar / property theme can’t be the solution (so I think as newbie :)), > because the sent array comes with it’s content to the DelegateClass. If there > were a problem, maybe that I sent an empty array it couldn’t come to the > Dele

Re: What difference exist from where a method will be called?

2016-09-08 Thread Raimond Hettrich
Hallo Graham, the ivar / property theme can’t be the solution (so I think as newbie :)), because the sent array comes with it’s content to the DelegateClass. If there were a problem, maybe that I sent an empty array it couldn’t come to the DelegateClass with it’s content. Nevertheless I synthes

Re: What difference exist from where a method will be called?

2016-09-08 Thread Raimond Hettrich
Hallo Graham, the init-method of the DelegateClass is running. This is because I have a class object in the Document.xib file. But nevertheless I changed the init-method into initWithFrame with the same result. Then I changed it into initWithCoder and the result is not an array with (null) but

Re: What difference exist from where a method will be called?

2016-09-08 Thread Graham Cox
> On 8 Sep 2016, at 9:27 PM, Raimond Hettrich wrote: > > @interface Document : NSDocument { >NSMutableArray *tableViewArray; > } > > @property (copy) NSMutableArray *tableViewArray; > > > @end > > > // > // Document.m > // Test > // > > #import "Document.h" > > @interface Document (

Re: Window Opened Notification?

2016-09-08 Thread dave
I think I’ve worked out how to do it without making it so buggy but it will take a lot of experimentation…... > On 7 Sep 2016, at 10:41, dangerwillrobinsondan...@gmail.com wrote: > > >> On Sep 7, 2016, at 6:09 PM, Dave wrote: >> >> I’m already using Accessibility but the notification I get wh

Re: Window Opened Notification?

2016-09-08 Thread dave
> On 6 Sep 2016, at 01:29, Andy Lee wrote: > > Dave, can you clarify whether you want is: > > 1. a notification when the frontmost window changes, or > 2. a notification when some application opens a new window? > > If #1, observing these NSWorkspace properties looks like the way to go. If

Re: What difference exist from where a method will be called?

2016-09-08 Thread Graham Cox
> On 8 Sep 2016, at 9:27 PM, Raimond Hettrich wrote: > > @interface DelegateClass : NSView { >NSMutableArray *delegateArray; > > >__weak IBOutlet Document *documentOutlet; > } > > @end > > > // > // DelegateClass.m > // Test > // > > #import "DelegateClass.h" > > @implementatio

Re: What difference exist from where a method will be called?

2016-09-08 Thread Raimond Hettrich
Hi Jens, thank You. Because I’m not able to understand how a second instance is created, I started a test project. It is a document-based application with a cell-based tableview, an add- and an remove-button, a custom view which is subclassed with the „DelegateClass“ and a testButton. The t