Hi, community:
Today a Swift question came up to me.
Is a closure enum associated value considered to be an escaping closure?
an example:
enum Operation {
case opA(()-> Void)
case opB(()-> Void)
}
Thanks in advance
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
I made a workflow in Xcode Cloud, and for months it worked okay, but today it has jobs with actions queued for hours.
Is that expected? I mean the status page said that all works as expected. I didn't find other posts related to it.
Thanks in advance
Hi
I want to use the new iOS 16 Screen time API to show a block page over Safari and Chrome when the user enters an "adult-content" page like a gun store, allowing it to continue searching on the internet if the user wants.
Any tips on how to do this?
Thanks in advance
Hi Community:
I want to know (if someone knows) why content filters are only available for:
Supervised devices
Apps with Screen time, but only for children.
Is that make any sense while in Mac is supervision is not needed?
Why adults cannot decide to use a built in content filter instead of using screen time pre-filter by them selves?
Are they no conscious about what are they doing?
Are there any UX question to not open this powerful tool to improve an iOS user experience guided by third parties?
Thanks in advance.
Hi community:
Is there any way to create a Privacy report from the command line?
Thanks
Hello:
I was checking the app size on the AppStore and seems like it is randomly different from one app to others. For example one app shows 27.6MB in the App Store and then when you download the size is 51.9 MB and 2.5MB of documents and data whereas another marks 88.8MB and then when you download the size is 86.3 MB and 2.5MB
How the AppStore calculate these sizes?
Anyone with the same problem?
Hi community:
I was looking for a way to setup extensions points referred in this doc, to allow other apps to extend my app functionality with ExtensionFoundation:
https://developer.apple.com/documentation/extensionfoundation/
Thanks in advance.
Hi community:
I want to know if there is any way to request apple an update of its examples. In this case, I want this one https://developer.apple.com/documentation/networkextension/filtering_network_traffic
Thanks in advance
Hi:
I want to know if there's a way to get the configuration used when the app is launched and runsForEachTargetApplicationUIConfiguration is true. This property belongs to XCTestCase for UITests.
Thanks in advance
Is there any way to add a detail or explanation to LibraryItem?
Thanks in advance
Hi:
I wanted to use a redeem code for an app available on MacOS and iOS, from the Mac appstore, but an error is shown.
Is this a bug?
Can we provide codes to redeem for our Mac users?
Thanks in advance
Hi community:
Thanks for readme. I want to achieve get an adverb of frequency from a time interval or date component. So if I have something that measure one week, I want to get "weekly" as result, the same for 2 weeks "bi-weekly", month "monthly" and so on.
Is there any foundation API to get it?
Thanks in advance
Hi community:
I'm trying to discover how the dnssec api works, but I cannot get a sample that works with it.
Maybe I'm wrong with the requirements; if it is please, clarify it to me.
So what I understood.
All DNS zones (which respond to TLS listed here https://manage.whois.com/kb/answer/2998) have a way to say, hey I'm who I am.
So without any extra configuration, we can use the new API.
Is that right?
So the code that I did, see the next code
let urlSession = URLSession.init(configuration: .ephemeral)
if #available(iOS 16.0, *) {
urlSession.configuration.requiresDNSSECValidation = true
}
var request = URLRequest(url: URL(string: "https://www.apple.com")!)
if #available(iOS 16.1, *) {
request.requiresDNSSECValidation = true
}
cancellable = urlSession
.dataTaskPublisher(for: request)
.retryWithDelay(retries: 2, delay: 2, scheduler: DispatchQueue.global(qos: .background))
.sink(receiveCompletion: { result in
if case let .failure(error) = result {
print("Error \(error)")
}
}, receiveValue: { (data: Data, response: URLResponse) in
print("It Works")
Result:
Task finished with error [-1001] Error Domain=NSURLErrorDomain Code=-1001, UserInfo={_kCFStreamErrorCodeKey=-2102, NSUnderlyingError=0x600003d86130 {Error Domain=kCFErrorDomainCFNetwork Code=-1001 "(null)" UserInfo={_kCFStreamErrorCodeKey=-2102, _kCFStreamErrorDomainKey=4}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <040AB9E7-EFCB-4072-8357-E0149769BB9D>.<2>, _NSURLErrorRelatedURLSessionTaskErrorKey=(```
"LocalDataTask <040AB9E7-EFCB-4072-8357-E0149769BB9D>.<2>"
), NSErrorFailingURLStringKey=https://apple.com/, NSErrorFailingURLKey=https://apple.com/, _kCFStreamErrorDomainKey=4}
The DNS I'm using is 8.8.8.8. Do you know any other DNS server that supports DNSSEC?
If I remove requiresDNSSECValidation from request it works.
Also, it's curious that even failing the receiveCompletion is never called. But if I use the dataTask` with completion it's called with the error.
Thanks for the clarifications.
After archiving no artifacts could be found but the release is in the Testflight, it has been happening since this morning.
Do you have any ideas about how can I solve it?
Thanks.
@eskimo @meaton
Update: The 501 (Not Implemented) status code indicates that the server does not support the functionality required to fulfill the request