Search results for

smb big sur

11,796 results found

Post

Replies

Boosts

Views

Activity

Swift Compiler Issue?
I've encountered a strange issue with Swift and I wonder if this is a compiler error or if I didn't understand something correctly. The following sample code shows a weird issue (please ignore that the demo code itself would not make that much sense in this form, it's just the version from a big and more complicated project, where this would make more sense): class Test { var data: [String:[String:String]] = [:] func test() { let setValue: ((String, String, String) -> Void) = { [weak self] key, id, value in if self!.data[key] == nil { self!.data[key] = [:] } let oldValue = self!.data[key]![id] if oldValue == nil { self!.data[key]![id] = value } } setValue(0, 1, 2) } } When changing the data dictionary through the closure within the test() function, everything works as expected until the if condition where the oldValue is checked against nil. If I set a break point to this condition, the Xcode debugger tells me that oldValue is nil (which is expected), but the code within the if condition is NOT ex
2
0
303
Dec ’24
Tile Shaders performance when writing to tile texture vs. resolve texture
I am working on a custom resolve tile shader for a client. I see a big difference in performance depending on where we write to: 1- the resolve texture of the color attachment 2- a rw tile shader texture set via [renderEncoder setTileTexture: myResolvedTexture] Option 2 is more than twice as slow than option 1. Our compute shader writes to 4 UAVs so just using the resolve texture entry is not possible. Why such a difference as there is no more data being written? Can option 2 be as fast as option 1? I can demonstrate the issue in a modified version of the Multisample code sample.
5
0
543
Dec ’24
Reply to How can I integrate my own text changes into UITextView's undo manager?
@Mr. Jefferson , did this ever get solved for you? Did you find your own solution or find one elsewhere? @Frameworks Engineer, do you have a follow-up to OP's reply to your comment? I ask because I'm having the exact same issue. I'm coding a word processing app with custom behavior that requires running checks before deleting, and then changing attributes around/near the deletion point after deleting. (I have some other custom behaviors that are affected by this same issue but for simplicity will just refer to the deletion one.) I want to be able to use default NSTextView behaviors that already come with free undo/redo (e.g., typing, deleteBackward(:), insertNewline(:), but then want to modify attributes for a certain range of the textStorage afterward. I register my attribute modifications with the undoManager. Like OP, I can get undo/redo to work flawlessly but only when using only NSTextView default behavior OR when using only my modifications/undos to the NSTextStorage. The second I start mixing both,
Topic: UI Frameworks SubTopic: UIKit Tags:
Dec ’24
VisionOS, passthrough through broadcast shows a black background
Hey, I have Enterprise Access on the account and have added the passthrough capability and the entitlement on the main project and the Broadcast Upload extension, too. The broadcast works except it returns a black screen. I am attaching some screenshots below of the entitlement file. I have tried searching online to no avail, so any help would be greatly appreciated. I am also attaching the code. import Foundation import AVFoundation import ReplayKit class VideoAssetWriter { private var isRecording = false private var outputStream: OutputStream? private func setupConnection() { guard outputStream == nil else { return } print(setting up connection.) let serverIP = macIP let port = 12345 var readStream: Unmanaged? var writeStream: Unmanaged? CFStreamCreatePairWithSocketToHost(kCFAllocatorDefault, serverIP as CFString, UInt32(port), &readStream, &writeStream) guard let writeStream = writeStream?.takeRetainedValue() else { print(Failed to create write stream) return } self.outputStream = writeStream as Ou
1
0
490
Dec ’24
Apple Air Pods Upgrade!
Good evening. I have come up with this amazing and revolutionary idea that is going to change the ent world for the better. I’m a 23 year old Design Engineer from Greece and I would like to come to direct contact with the Apple Design Team, in order to discuss this project and the best case scenario, sell it to you. The foldable iPhone is not a good idea. Its not revolutionary and it’s going to leave a big black mark in Apple history. With my idea, the whole world will see again the greatness of the biggest company in history.
2
0
504
Dec ’24
Reply to Finder File Previews lock files on SMB shares
Hi @DTS Engineer, Thank you for your assistance and support. Regarding the issue of a file being exclusively locked by Quick Look Extension Preview, I believe this might be an oversight. Here are some points to consider: Prior to macOS 15, the Quick Look Generator Preview functioned without this issue. However, the Quick Look Extension Preview exhibits this problem. In the Quick Look Extension system, thumbnail generation works without issue, but preview generation does not. As Alberto pointed out, text previews are unaffected, whereas image previews are impacted. Quick Look does not seem to require an exclusive lock on a file for reading purposes. Given these observations, it seems likely that the exclusive lock behavior in the Quick Look Extension Preview, when accessing files over SMB, in unintentional. If this is not an oversight, could you kindly explain why an exclusive lock is necessary in the Quick Look Extension Preview? This insight would help us better understand the situation and explore
Topic: App & System Services SubTopic: General Tags:
Dec ’24
Reply to IOS 18 Update - Emoji Keyboard
its hard to find the emoji I need because they’re too big, and it’s making my texting language weird now because I can’t find the one I need. It’s too many pages to scroll through. My eye sight is medically normal. 20/20. can we please go back to normal size? 🙏
Topic: Design SubTopic: General
Dec ’24
Download Old version of Xcode
How can I save an Xcode project in Sequoia writen in Xcode Sequoia - Version 15.1 so that it can be opened in Ventura - Version 14.3.1 (14E300c) or in Big Sur Version 13.1 The error I get says Project.xcodeproj cannot be opened because it is in a future Xcode project file format. Adjust the project format using a compatible version of Xcode to allow it to be opened by this version of Xcode
1
0
553
Dec ’24
Reply to How to Reply to a Message Received by Multicast Receiver and Extract Connection for Communication
Sorry about the delay responding; I’m juggling too many cases right now. I’m going to start with the big picture: [quote='813576022, harshal_goyal, /thread/766557?answerId=813576022#813576022, /profile/harshal_goyal'] While we are exploring mDNS-based discovery using Bonjour, our primary goal is to create cross-platform applications … [/quote] Support for the Bonjour protocols [1] are either built-in or readily installable on all major platforms. [quote='813576022, harshal_goyal, /thread/766557?answerId=813576022#813576022, /profile/harshal_goyal'] we are focused on process discovery—identifying processes running on the same network, regardless of whether they expose a service. [/quote] OK. But that doesn’t preclude the use of Bonjour, you just need to think of each process as a service. [quote='813576022, harshal_goyal, /thread/766557?answerId=813576022#813576022, /profile/harshal_goyal'] We are avoiding the use of multicast DNS (mDNS) because it adds overhead and costs. [/quote] What sort of overhe
Dec ’24
UIApplication.shared.open(url) is not working on iOS 18+ devices
Im working on a mobile application(Flutter) of an insurance. In the application we have an option to open an external app from our application, we are using external_url as a dependency of flutter, and in the AppDelegate we have the UIApplication.shared.open(url), that was working fine on IOS 17 until we installed the new iOS version(18)eather to open the external app if its already installed in the device or to navigate to App store. We added :options and completionHandler: to open(url) but nothing works. I can see that its a common issue in the developer forum since iOS 18+. The big problem is the log doesnt show anything.
Topic: UI Frameworks SubTopic: UIKit
2
0
749
Dec ’24
Reply to IOS 18 Update - Emoji Keyboard
The most disturbing emoji new look! U can not choose from the small banner down specially the recent, then emojis are too big so it takes ages to scroll between pages to find the right emoji… please need a solution to this asap 😭😭😭😭 just bring the emoji display as it was
Topic: Design SubTopic: General
Dec ’24
Reply to Trying to track down why codesign is now failing certain files
It’s hard to answer this without a lot more details. In general, macOS and the notary service continue to tighten up their checking of code in order to close security holes. Some of those are big changes, when we tend to announce widely. I have a bunch of links to such things in Trusted Execution Resources and the other Resources posts that it links to. But some of them are relatively minor changes that don’t get widely advertised. And some changes are just implementation changes that happen to cause problems for code that’s not following the rules [1]. [quote='770552021, hamish258, /thread/770552, /profile/hamish258'] DMGs built, signed and notarised successfully are now failing codesign verification. [/quote] If you run syspolicy_check against such an app, what does it report? Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com [1] Historically those rules were very poorly documented. That’s much better these days, but lots of code, a
Topic: Code Signing SubTopic: General
Dec ’24
Reply to Identifying memory leaks
I agree with Ed, that the “Leaks” instrument is not as illuminating as the “Allocation” instrument. The “Leaks” instrument is most useful (in those edge-cases) where you are writing code that does manual alloc/free or retain/release. If not, it is generally identifying (usually very small) issues largely outside of your control. But if you don’t have your own code that is doing alloc/free or retain/release, the “Leaks” instrument is not terribly illuminating. Your “Debug Memory Graph” diagnostics, though, are very effective in identifying strong reference cycles. But rather than focusing on the bottom of the tree (the fact that the NSSet was used deeply within Foundation types), I would focus on the top of that tree. E.g., it looks like the NSSet was created by some AVFoundation layer view. So, I would focus on the AVFoundation usage within the app. Even better, in the left panel of the “Debug Memory Graph”, I would advise that we focus on our own objects, i.e., those objects over which we have control. To th
Dec ’24