On 08.09.2016 at 00:47 Graham Cox wrote:
>> On 8 Sep 2016, at 3:44 AM, Andreas Falkenhahn wrote:
>> How can I access "IMPORTANT_DATA_PTR" from within the block above?
> You already did it. Variables are captured from the scope where the
> block is declared and “magically” get referenced withi
I want my app to run on 10.6 but use 10.7 features where available. Thus I'm
compiling on 10.11 using -mmacosx-version-min=10.6. In particular, I want to
use AVFoundation to play videos on 10.7 and better.
To open a video, I do the following:
AVPlayer *p = [[AVPlayer alloc] initWithURL:url];
When I link my app against AVKit using
-framework AVKit
it fails to load on 10.6 claiming
dyld: Library not loaded:
/System/Library/Frameworks/AVKit.framework/Versions/A/AVKit
Referenced from: ...
Reason: image not found
Trace/BPT trap
I thought it was possible to dynamical
It returns nil by feature of Objective-C.
Referencing the class will translate into a runtime class lookup which will
return nil. Sending a message to nil will return nil.
The only caveat is that a class with that name could be provided by a library
and invalidate your code. But I would say im
Hi All
I have a simple view with a progress indicator in it.
Simple circular type - indeterminate.
I start it with [progInd startAnimation:self];
I end it with[progInd stopAnimation:self];
After a couple of years of running just fine, it now simply does not appear
onscreen at all - or r
> On Sep 10, 2016, at 5:16 AM, Pascal Bourguignon
> wrote:
>
> It returns nil by feature of Objective-C.
> Referencing the class will translate into a runtime class lookup which will
> return nil. Sending a message to nil will return nil.
Well, not exactly. If you reference the class name a
Hi Michael
Thanks for the suggestion - but I had already checked this.
Peter
> On 10 Sep 2016, at 16:43, Michael Mayer wrote:
>
> Peter -
>
> My apologies for the obvious suggestion but, did you make sure it is plugged
> in?
> progInd.hidden = false (automatically converted to swift)
>
> On Sep 10, 2016, at 09:38, Peter Hudson wrote:
>
> I have a simple view with a progress indicator in it.
> Simple circular type - indeterminate.
>
> I start it with [progInd startAnimation:self];
> I end it with[progInd stopAnimation:self];
>
> After a couple of years of running just
Hi Steve
I think your suggestion is going the right way.
I have ( unwittingly ) moved the processing about and the calls to the progress
indicator are now happening while the thread is blocked for processing ( and
non of the interface is being updated until the processing is done )
Next questi
> On Sep 10, 2016, at 10:16, Peter Hudson wrote:
>
> Hi Steve
>
> I think your suggestion is going the right way.
>
> I have ( unwittingly ) moved the processing about and the calls to the
> progress indicator are now happening while the thread is blocked for
> processing ( and non of the int
Is it that the animation thread is being blocked or the thread you have to
dispatch the request to start?
On Sep 10, 2016, at 10:16 AM, Peter Hudson wrote:
> Hi Steve
>
> I think your suggestion is going the right way.
>
> I have ( unwittingly ) moved the processing about and the calls to the
Apologies if this wasn't posted to the right list.
Following the recent trend by Apple, I have begun packaging my app
downloads as an "XIP" file. Several of my users are reporting that, upon
downloading the file, they can't extract it because "the archive doesn't
come from Apple". Some users, thou
On Sep 10, 2016, at 16:42 , SevenBits wrote:
>
> Well, sure, it's not from Apple, but it's signed by my
> developer certificate, and so I'd expect everything to work; it did during
> my testing.
It’s not clear what certificate you used. You could have used:
1. A MAS certificate.
2. A Developer
On 11 Sep 2016, at 9:42 AM, SevenBits wrote:
>
> Following the recent trend by Apple, I have begun packaging my app
> downloads as an "XIP" file. Several of my users are reporting that, upon
> downloading the file, they can't extract it because "the archive doesn't
> come from Apple".
From the
Also worthy to note is that the +class method is implemented in a smart way
and does more or less what objc_getClass does, and will never crash. It's
the recommended general way to see if the class is available. (Jens correct
me if I'm wrong, no doubt you know more here than I do!)
On Sep 10, 2016
I’m moving some code from Obj-C to Swift and, from time to time, I open a gap I
cannot see across. This is one, and I’d love some assistance.
I converted a pile of utility Obj-C code that included a class method of the
form on the rhs of:
xxx = [UIColor colorFromName:@"aliceblue"]
In the n
> On Sep 11, 2016, at 12:16 AM, Gavin Eadie wrote:
>
> I’m moving some code from Obj-C to Swift and, from time to time, I open a gap
> I cannot see across. This is one, and I’d love some assistance.
>
> I converted a pile of utility Obj-C code that included a class method of the
> form on the
17 matches
Mail list logo