|
Re: Understanding NSNetService and peer-to-peer streaming
Yes, this makes total sense. I guess I just had a blonde moment (I’m not even blonde) and didn’t think of it.
I do use VMWare for testing, though unfortunately I need to pay for the upgrade to
Yes, this makes total sense. I guess I just had a blonde moment (I’m not even blonde) and didn’t think of it.
I do use VMWare for testing, though unfortunately I need to pay for the upgrade to
|
By
Graham Cox
·
#201
·
|
|
Re: How to store C Arrays as a Property or iVar?
Hi Jens,
You solved two problem in one with your last post - thanks a lot!
I had some other information that was being passed back and forth and creating a structure allowed me to solve the Array
Hi Jens,
You solved two problem in one with your last post - thanks a lot!
I had some other information that was being passed back and forth and creating a structure allowed me to solve the Array
|
By
Dave
·
#202
·
|
|
Re: How to store C Arrays as a Property or iVar?
(IIRC you suggested using an NSMutableArray of NSNumbers?) Honestly, it depends. It does have overhead, although not as much as it used to, since NSNumbers of reasonable-size integers don't allocate
(IIRC you suggested using an NSMutableArray of NSNumbers?) Honestly, it depends. It does have overhead, although not as much as it used to, since NSNumbers of reasonable-size integers don't allocate
|
By
Jens Alfke
·
#203
·
|
|
Re: APFS & FileSystem attributes
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 for some kinds of testing.
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 for some kinds of testing.
|
By
James Walker
·
#204
·
|
|
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: 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: 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?
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
·
|
|
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: 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
·
|
|
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
·
|
|
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: 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
·
|
|
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
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: 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: 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: 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?
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?
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
·
|