Post

Replies

Boosts

Views

Activity

Xcode 16 Beta Unable to Complete a Commit in Git
Unlike Xcode 15 where it's easy in source control to type in a commit message and then do the actual commit in git, in Xcode 16 there doesn't seem to be anywhere to do this. Yes, in the beta I can do a menu select to go to 'commit changes...', and I found the new way to stage changes. So far so good. But where is the 'commit' button to complete a commit? Is anyone else finding this an issue?
1
1
372
Jun ’24
valid replacement for kUTTypeJPEG which is deprecated
I have the following code: let ciImage = filterAndRender(ciImage: inputImage, doCrop: true)         let outCGImage = ciContext.createCGImage(ciImage, from: ciImage.extent)!         let dest = CGImageDestinationCreateWithURL(output.renderedContentURL as CFURL, kUTTypeJPEG, 1, nil)!         CGImageDestinationAddImage(dest, outCGImage, [kCGImageDestinationLossyCompressionQuality as String:1] as CFDictionary)         CGImageDestinationFinalize(dest) I get the following caution: " 'kUTTypeJPEG' was deprecated in iOS 15.0: Use UTTypeJPEG instead." However, when I substitute 'UTTypeJPEG' as directed, I get this error: "Cannot find 'UTTypeJPEG' in scope" What should I use for kUTTypeJPEG instead? Thanks!
5
2
9.9k
Jun ’21