On Feb 22, 2014, at 1:44 AM, jonat...@mugginsoft.com wrote:
> On 22 Feb 2014, at 00:12, Ken Thomases wrote:
>
>> On Feb 21, 2014, at 3:17 PM, jonat...@mugginsoft.com wrote:
>>
>>> So I want to be able to send the same message to any class and get an
>>> appropriate void* pointer.
>>
>> There'
Ken is right about the internal representation of NSNumber not being something
you can count on (as it is a class cluster). You should be able to count on
the format of the data returned from its methods though (e.g. -integerValue,
-floatValue).
Out of curiosity, are there any constraints on t
On 22 Feb 2014, at 08:32, Ken Thomases wrote:
> There's no one representation of an NSNumber's content.
I think that this is the foundation of things.
What there is is a reported representation as given by -objCType.
The docs say, as I am sure you know:
“
NSNumber
objCType
Returns a C string
Sent from my iPad
> On Feb 22, 2014, at 12:27 AM, "Gary L. Wade"
> wrote:
>
> You did go to this page, right?
>
> https://developer.apple.com/membercenter/index.action#requestTechSupport
Yep, that's the one.
> I remembered one form on the site, not this one, that I had to submit by
> deletin
On Feb 22, 2014, at 6:58 AM, jonat...@mugginsoft.com wrote:
> Now I don’t care know how NSNumber persists its value nor with what type it
> was initialised. What I do care about in this case is what -objCType returns.
> If I create a NSNumber like so:
>
> NSNumber *n = @((int)5);
>
> Then [n ob
On 22 Feb 2014, at 14:27, Jonathan Hull wrote:
> I think the main objection everyone has is that they believe (as did I) that
> -getValue: is actually returning the internal representation of the object.
That is a very pertinent point that we haven’t mentioned.
-getValue: populates a pointer t
On Feb 22, 2014, at 9:33 AM, jonat...@mugginsoft.com wrote:
> On 22 Feb 2014, at 14:27, Jonathan Hull wrote:
>
>> I think the main objection everyone has is that they believe (as did I) that
>> -getValue: is actually returning the internal representation of the object.
>
> That is a very perti
But there's already a fully functional ObjC<->C# bridge in Mono, isn’t there? I
know that’s what MonoTouch for iOS is based on. Doesn’t it already handle
bridging of NSDictionaries to C# Maps?
—Jens
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.co
On Feb 22, 2014, at 9:43 AM, Ken Thomases wrote:
> On Feb 22, 2014, at 9:33 AM, jonat...@mugginsoft.com wrote:
>
>> -getValue: populates a pointer to a type matching -objCType.
>
> But there's no guarantee about what that type is. There's no guarantee that
> it's a scalar rather than a structu
On 21 Feb 2014, at 22:26, Bradley O'Hearne wrote:
> This is an app that the user has willfully installed, and has willfully
> launched, fully knowing its function and purpose. The app does nothing until
> the user launches it, the user can exit the app at any time, and no
> restriction remains
On 21 Feb 2014, at 23:30, SevenBits wrote:
> Well, yes, but Apple has the source code to OS X. There’s an important
> difference in that users cannot simply just delete important OS components.
> In some other operating systems (e.g Linux) everything works with packages
> and you can simply uni
On 22 Feb 2014, at 00:56, Ron Hunsinger wrote:
> Parental controls with a Simple Finder is pretty close to kiosk mode.
Just using Mac OS X Kiosk mode would probably be even closer. :-) But judging
from the login terminals at 1 Infinite Loop, Kiosk mode doesn’t turn off screen
shots.
Cheers,
-
On Feb 22, 2014, at 12:28 PM, Uli Kusterer wrote:
> On 21 Feb 2014, at 23:30, SevenBits wrote:
>> Well, yes, but Apple has the source code to OS X. There’s an important
>> difference in that users cannot simply just delete important OS components.
>> In some other operating systems (e.g Linux)
On 22 Feb 2014, at 16:55, Jens Alfke wrote:
> But there's already a fully functional ObjC<->C# bridge in Mono, isn’t there?
> I know that’s what MonoTouch for iOS is based on. Doesn’t it already handle
> bridging of NSDictionaries to C# Maps?
>
The MonoTouch bindings are from C# to Cocoa.
So
NSDecimal is a structure with associated C-level functions that could
theoretically work with the not-yet-supported floating point decimal types
in LLVM that were in later versions of GCC whereas NSDecimalNumber is an
Objective C class subclassed from NSNumber that provides NSDecimal
encapsulation.
On 22 Feb 2014, at 15:32, Ken Thomases wrote:
>>
>
> NSDecimalNumber can represent values that are outside of the range of
> doubles. So, _some_ NSDecimalNumber instances _may_ return "d" for double,
> but others definitely won't.
>
I don’t think so.
It is possible that this behaviour could
OK,
So lets assume that you can’t actually prevent the screen being captured. Maybe
a solution would be to prevent that captured data from surviving very long.
e.g Install an FSEvents watcher and look out for image and movie files being
created on the entire disk. Then delete them while your ap
Hi All,
I write a video app for the auto industry basically, you shoot several short
“segments” of your car and combine them then add a tune in the background. I
take them in 1280X720 and then resize them and add the audio using
AVFoundation. I store all the files I save into Documents/video a
On Feb 22, 2014, at 2:07 PM, Damien Cooke wrote:
> The problem is the app is gaining about 200Mb after each movie and the only
> cure is to delete the app. Where is this all going if I write all my stuff
> into one place and delete the directory later?
If this reproduces in the simulator, you
On 22 Feb 2014, at 11:58 pm, jonat...@mugginsoft.com wrote:
>> There's no one representation of an NSNumber's content.
> I think that this is the foundation of things.
>
> What there is is a reported representation as given by -objCType.
NSNumber's can be slippery buggers, in my experience.
W
On 23 Feb, 2014, at 7:19 am, Jens Alfke wrote:
>
> On Feb 22, 2014, at 2:07 PM, Damien Cooke wrote:
>
>> The problem is the app is gaining about 200Mb after each movie and the only
>> cure is to delete the app. Where is this all going if I write all my stuff
>> into one place and delete the
There's an update to iOS 6.1 for iPod Touch 4th gen and iPhone 3GS, but none
for other devices?
http://support.apple.com/kb/DL1722
I haven't yet updated my phone (although I've updated my iPads), and really
don't want to.
--
Rick
signature.asc
Description: Message signed with Ope
On Feb 22, 2014, at 10:31 AM, Uli Kusterer wrote:
> Just using Mac OS X Kiosk mode would probably be even closer. :-) But judging
> from the login terminals at 1 Infinite Loop, Kiosk mode doesn’t turn off
> screen shots.
I feel dirty for saying this ;-) But if you can't disable screen shots, h
> On 2014/02/23, at 13:35, Scott Ribe wrote:
>
> I feel dirty for saying this ;-) But if you can't disable screen shots, how
> about: using fsevents to watch for the files to be created, and delete them.
> (Or, in this case raise a big fat alarm so the proctor will know.)
>
> I know, pure e
No.
Either they are like iPhone 3G or iPad 1 which has been thrown off the iOS 6
train on the first place, or they are like iPhone 4 and iPad 2 get carried over
to iOS 7.
On Feb 23, 2014, at 10:58, Rick Mann wrote:
> There's an update to iOS 6.1 for iPod Touch 4th gen and iPhone 3GS, but none
// the host has a (big) malloced hostArray, on which OpenCl should work.
- (void)makeBufferOfSize: (size_t)arraySize from: (void *)hostArray
{
_clArray = clCreateBuffer( context, CL_MEM_READ_WRITE |
CL_MEM_USE_HOST_PTR, arraySize, hostArray, NULL );
_hostArray = hostA
26 matches
Mail list logo