|
Re: How to store C Arrays as a Property or iVar?
You could do that, but I’m doing millions of calculations on the elements of the Array, so it would be a lot slower and much more complex than needed……
You could do that, but I’m doing millions of calculations on the elements of the Array, so it would be a lot slower and much more complex than needed……
|
By
Dave
·
#223
·
|
|
Re: How to store C Arrays as a Property or iVar?
Well, you can’t use them as a property anyway, C Arrays *have* to be iVar’s, but I wrap a “Property Wrapper” around the iVars!
Well, you can’t use them as a property anyway, C Arrays *have* to be iVar’s, but I wrap a “Property Wrapper” around the iVars!
|
By
Dave
·
#222
·
|
|
Compiling Conditionally depending on OS
Hi all,
How do I compile differently depending on the Platform I am compiling for?
I have an iOS project, but using the these macros:
#if TARGET_OS_IPHONE
// iOS code
#endif
#if
Hi all,
How do I compile differently depending on the Platform I am compiling for?
I have an iOS project, but using the these macros:
#if TARGET_OS_IPHONE
// iOS code
#endif
#if
|
By
Dave
·
#221
·
|
|
Re: How to store C Arrays as a Property or iVar?
Is there a reason why he shouldn’t represent the values as NIntegers like I suggested before? I didn’t see a response to my suggestion explaining why it’s not a good idea.
[myArray
Is there a reason why he shouldn’t represent the values as NIntegers like I suggested before? I didn’t see a response to my suggestion explaining why it’s not a good idea.
[myArray
|
By
Alex Zavatone
·
#220
·
|
|
Re: How to store C Arrays as a Property or iVar?
Um, the headline says "How to store C Arrays as a Property ..." so at least one person (the original poster) has said this is about properties.
My experience was that properties that are non-pointers
Um, the headline says "How to store C Arrays as a Property ..." so at least one person (the original poster) has said this is about properties.
My experience was that properties that are non-pointers
|
By
Jeff Laing
·
#219
·
|
|
Re: How to store C Arrays as a Property or iVar?
No one said this was a property. It's just an instance variable.
Also, it's fine for properties to be C types — after all, there are plenty of integer or boolean properties, and UIKit and AppKit
No one said this was a property. It's just an instance variable.
Also, it's fine for properties to be C types — after all, there are plenty of integer or boolean properties, and UIKit and AppKit
|
By
Jens Alfke
·
#218
·
|
|
Re: How to store C Arrays as a Property or iVar?
Can I ask if this discussion is academic or you have already tried?
The reason I ask is that property values tend to need to support the NSObject protocol (ie, do the retain/release thing, whether
Can I ask if this discussion is academic or you have already tried?
The reason I ask is that property values tend to need to support the NSObject protocol (ie, do the retain/release thing, whether
|
By
Jeff Laing
·
#217
·
|
|
Re: Problems registering AppID on the Apple Developer Site
Whenever you find what you believe to be a bug in Apple's software or web site, write a bug report about it. You might have experienced an edge case no one has yet tested.
--
Gary L.
Whenever you find what you believe to be a bug in Apple's software or web site, write a bug report about it. You might have experienced an edge case no one has yet tested.
--
Gary L.
|
By
Gary L. Wade
·
#216
·
|
|
Re: Problems registering AppID on the Apple Developer Site
Every where look there are glitches and bugs! What a total nightmare - thanks for letting me know, I thought I was going crazy!
Cheers
Dave
Every where look there are glitches and bugs! What a total nightmare - thanks for letting me know, I thought I was going crazy!
Cheers
Dave
|
By
Dave
·
#215
·
|
|
Re: APFS & FileSystem attributes
I’ve heard it *rumoured* (YMMV) that the public release of HS will only support bootable APFS on SSD-only machines - no support for platters or even Fusion platter/ssd drives.
That’s a step-back
I’ve heard it *rumoured* (YMMV) that the public release of HS will only support bootable APFS on SSD-only machines - no support for platters or even Fusion platter/ssd drives.
That’s a step-back
|
By
2551phil
·
#214
·
|
|
Re: Problems registering AppID on the Apple Developer Site
Yes, Apple won’t let you. Yay, Apple!
As long as they are not enabled in the Capabilities part of your project settings, you should be OK.
I have felt your pain many many times, good sir. You
Yes, Apple won’t let you. Yay, Apple!
As long as they are not enabled in the Capabilities part of your project settings, you should be OK.
I have felt your pain many many times, good sir. You
|
By
Alex Zavatone
·
#213
·
|
|
Problems registering AppID on the Apple Developer Site
Hi,
I need to registers 6 Apps on the Apple Developer Site.
I’ve done 3 ok, there are LTWiPhoneAppX, LTWiPadAppX and LTWMacAppX these 3 all use GameKit and In-App Purchase and they are enabled
Hi,
I need to registers 6 Apps on the Apple Developer Site.
I’ve done 3 ok, there are LTWiPhoneAppX, LTWiPadAppX and LTWMacAppX these 3 all use GameKit and In-App Purchase and they are enabled
|
By
Dave
·
#212
·
|
|
Re: iOS Reachability
There are much newer versions of this. Check on Apple’s sample files and on Github. Stay away from the old copy that you have.
There are much newer versions of this. Check on Apple’s sample files and on Github. Stay away from the old copy that you have.
|
By
Alex Zavatone
·
#211
·
|
|
Re: iOS Reachability
You can use this:
https://github.com/ashleymills/Reachability.swift
Nimesh
You can use this:
https://github.com/ashleymills/Reachability.swift
Nimesh
|
By
Nimesh Neema <nimeshneema@...>
·
#210
·
|
|
iOS Reachability
Hi,
A while back I included some code from a sample project that setup Game Center/Kit. This code used a Class called “ Reachability”:
Copyright (c) 2011, Tony Million.
All rights
Hi,
A while back I included some code from a sample project that setup Game Center/Kit. This code used a Class called “ Reachability”:
Copyright (c) 2011, Tony Million.
All rights
|
By
Dave
·
#209
·
|
|
Re: How to store C Arrays as a Property or iVar?
The time to read and unwrap an integer from an NSArray is probably under a microsecond, so it's unlikely to be a performance problem.
But there's nothing wrong with using a C array. It's what I'd do,
The time to read and unwrap an integer from an NSArray is probably under a microsecond, so it's unlikely to be a performance problem.
But there's nothing wrong with using a C array. It's what I'd do,
|
By
Jens Alfke
·
#208
·
|
|
Re: How to store C Arrays as a Property or iVar?
Hi,
It recurses through the cells in the Array and there could be around 7000 iterations, so I’d rather stick with normal integers.
One thing I was going to ask is that, the value range on each cell
Hi,
It recurses through the cells in the Array and there could be around 7000 iterations, so I’d rather stick with normal integers.
One thing I was going to ask is that, the value range on each cell
|
By
Dave
·
#207
·
|
|
Re: How to store C Arrays as a Property or iVar?
Hi,
It recurses through the cells in the Array and there could be around 7000 iterations, so I’d rather stick with normal integers.
One thing I was going to ask is that, the value range on each cell
Hi,
It recurses through the cells in the Array and there could be around 7000 iterations, so I’d rather stick with normal integers.
One thing I was going to ask is that, the value range on each cell
|
By
Dave
·
#206
·
|
|
Re: APFS & FileSystem attributes
James, I’ve got time this afternoon to help on this front if you want. Please contact me offline if you’d like.
Cheers.
James, I’ve got time this afternoon to help on this front if you want. Please contact me offline if you’d like.
Cheers.
|
By
Alex Zavatone
·
#205
·
|
|
Re: APFS & FileSystem attributes
On 8/21/2017 8:44 AM, 2551phil wrote:
I was able to make a disk image with APFS format, and it wasn't in the latest beta. I didn't try making an APFS boot disk, which you might need
On 8/21/2017 8:44 AM, 2551phil wrote:
I was able to make a disk image with APFS format, and it wasn't in the latest beta. I didn't try making an APFS boot disk, which you might need
|
By
James Walker
·
#204
·
|