Search results for

“translate scheme”

6,658 results found

Post

Replies

Boosts

Views

Activity

Reply to Problems with genstrings in Swift app
I'm actually hoping that I've done it wrong and missed something, because it seems this would be a huge gap in the Xliff export/import workflow...>> your translator changed your English strings to Chinese strings that were re-imported into the development language, which was English. It was still regarded as English, even though all the words were now ChineseThat's not the case. I've edited my stackoverflow post to be more clear now.I started with NO strings files at all, just my Swift source code, which has `NSLocalizedString` macros.When you do the first export, it will generate an Xliff file which does NOT contain any `<target>` tags, which means the translation is blank.When translators use tools to translate, it creates those `<target>` tags.When you re-import it, Xcode creates the strings files for you, for that language that the translator has specified.I believe the problem stems from the fact that the system will attempt to use the first
Sep ’16
Reply to Merging videos with different sizes & rates
You'll need to set up some CGAffineTransforms' that will translate the individual frames from one video format to the other, using an AVCompositionInstruction .. the tricky part is in determining the orientation of each video (its different according to the camera source), determining what the transform is for each of rotate/scale/translate operations that you'll need to perform for your needs (perhaps you want to do picture-in-picture?) and so on .. its not difficult once you grasp the concept of CGAffineTransforms' being applied to your video composition on a frame by frame basis, but the linear algebra required may take you back to trig in high school, and we all know how painful that can be! 🙂
Topic: Media Technologies SubTopic: Audio Tags:
Feb ’18
Reply to Getting the pid from NEFilterFlow in Objective C
I'd like to see the Objective C example if possible. Apple’s sample code and documentation will be increasingly written in Swift. If you’re using [Objective-]C[++], I encourage you to get a reading knowledge of Swift so that you can translate these resources to your preferred language. The translation in this case is super easy. Accessing the audit token from Swift is hard because of Swift’s stricter type checking. In a C-based language you can just cast: audit_token_t auditToken = * (audit_token_t *) self.sourceAppAuditToken.bytes; Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Sep ’21
Reply to sandbox receipt has wrong "expire date"
Hello!since 1 month translates to 5 minutes, I would expect 14 days to translate roughtly to 2 or 3 minutes.I get this is not documented, but that relates to the duration of the subscription, not the free trial duration. In the past I was able to have 1 month subscription period and 7 days of free trial, which is not documented as well, and in the sandbox environment the free trial period lasted for a very reasonable 3 minutes long period.I think it is a little bit strange that 1 year = 1 hours, 14 days = 6 hours?Thanks for your help!
Topic: App & System Services SubTopic: StoreKit Tags:
Mar ’17
Reply to Nice 3D line rendering in screen space
I don’t have access to device on which I could test it right now, so it is just a guess: in.position.xy does change, but it has [[position]] next to it and do between vertex and fragment shader it will get translated from NDC to fragment position. Now you’re taking fraction part of fragment position and this indeed will be constant, or at most (if multisampling) one of a few values. Of course midpoint doesn’t get translated and you’re seeing original NDC values which fractional part indeed changes “continuously” To verify if I’m right, just do something like: float2 color = fract(in.position.xy / 100.0); Michał
Topic: Graphics & Games SubTopic: General Tags:
Feb ’18
Reply to NSPanGestureRecognizer.LocationInView not accounting for Transform
The link article is for iOS. I tried to do the same for mac, but there are no UIView.Center and UIView.Translate properties on NSView, are they?I'm translating a NSView using the layer's affine transofrm.myView.wantsLayer = truemyView.layer?.transform = // The transformation
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
Dec ’17
Reply to How to check call state except CallKit in China?
if ([vendor isEqualsToString:@zhong guo yi dong] || [vendor isEqualsToString:@zhong guo lian tong] || [vendor isEqualsToString:@zhong guo dian xin])translate the PinYin into Chinese
Topic: Media Technologies SubTopic: Audio Tags:
Replies
Boosts
Views
Activity
Jun ’18
Reply to NSLocalNetworkUsageDescription not displayed if provided via InfoPlist.string
Hi everyone, I just tested with iOS 14.2 Beta and can confirm, that the translated string for NSLocalNetworkUsageDescription (from InfoPlist.strings) is used in the system alert. Now it works like expected. Thanks, Andy
Topic: Privacy & Security SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’20
Reply to Problems with genstrings in Swift app
I'm actually hoping that I've done it wrong and missed something, because it seems this would be a huge gap in the Xliff export/import workflow...>> your translator changed your English strings to Chinese strings that were re-imported into the development language, which was English. It was still regarded as English, even though all the words were now ChineseThat's not the case. I've edited my stackoverflow post to be more clear now.I started with NO strings files at all, just my Swift source code, which has `NSLocalizedString` macros.When you do the first export, it will generate an Xliff file which does NOT contain any `<target>` tags, which means the translation is blank.When translators use tools to translate, it creates those `<target>` tags.When you re-import it, Xcode creates the strings files for you, for that language that the translator has specified.I believe the problem stems from the fact that the system will attempt to use the first
Replies
Boosts
Views
Activity
Sep ’16
Reply to Computing the duration of an utterance
Thanks for the reply. I was actually using a similar approach to estimate the duration but I've found that it became completely unreliable now that I've translated my app to Chinese; where each charater can be a complete word.
Topic: Machine Learning & AI SubTopic: General Tags:
Replies
Boosts
Views
Activity
Dec ’15
Reply to iPad Pro LiDAR Sensor Specs
I found this video that shows the grid of dots is quite sparse https://youtu.be/xz6CExnGw9w?t=102 I don't know anything about how that translates to accuracy, but surely it can be that high if the dots are so far apart.
Topic: Spatial Computing SubTopic: ARKit Tags:
Replies
Boosts
Views
Activity
May ’21
Reply to Merging videos with different sizes & rates
You'll need to set up some CGAffineTransforms' that will translate the individual frames from one video format to the other, using an AVCompositionInstruction .. the tricky part is in determining the orientation of each video (its different according to the camera source), determining what the transform is for each of rotate/scale/translate operations that you'll need to perform for your needs (perhaps you want to do picture-in-picture?) and so on .. its not difficult once you grasp the concept of CGAffineTransforms' being applied to your video composition on a frame by frame basis, but the linear algebra required may take you back to trig in high school, and we all know how painful that can be! 🙂
Topic: Media Technologies SubTopic: Audio Tags:
Replies
Boosts
Views
Activity
Feb ’18
Reply to Getting the pid from NEFilterFlow in Objective C
I'd like to see the Objective C example if possible. Apple’s sample code and documentation will be increasingly written in Swift. If you’re using [Objective-]C[++], I encourage you to get a reading knowledge of Swift so that you can translate these resources to your preferred language. The translation in this case is super easy. Accessing the audit token from Swift is hard because of Swift’s stricter type checking. In a C-based language you can just cast: audit_token_t auditToken = * (audit_token_t *) self.sourceAppAuditToken.bytes; Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Replies
Boosts
Views
Activity
Sep ’21
Reply to sandbox receipt has wrong "expire date"
Hello!since 1 month translates to 5 minutes, I would expect 14 days to translate roughtly to 2 or 3 minutes.I get this is not documented, but that relates to the duration of the subscription, not the free trial duration. In the past I was able to have 1 month subscription period and 7 days of free trial, which is not documented as well, and in the sandbox environment the free trial period lasted for a very reasonable 3 minutes long period.I think it is a little bit strange that 1 year = 1 hours, 14 days = 6 hours?Thanks for your help!
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Mar ’17
Reply to Nice 3D line rendering in screen space
I don’t have access to device on which I could test it right now, so it is just a guess: in.position.xy does change, but it has [[position]] next to it and do between vertex and fragment shader it will get translated from NDC to fragment position. Now you’re taking fraction part of fragment position and this indeed will be constant, or at most (if multisampling) one of a few values. Of course midpoint doesn’t get translated and you’re seeing original NDC values which fractional part indeed changes “continuously” To verify if I’m right, just do something like: float2 color = fract(in.position.xy / 100.0); Michał
Topic: Graphics & Games SubTopic: General Tags:
Replies
Boosts
Views
Activity
Feb ’18
Reply to Contacts Framework CNFetchResult
I want to convert this code in the answer to this stackoverflow post. I got as far as the line that creates an instance of CNFetchResult -- the fifth line not counting the spaces. I didn't know how to translate that to Swift.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Dec ’21
Reply to Translation framework error.
Hello. It's strange, but the translation feature in my app works again. I changed nothing. It started working again also for my friends on their devices. Could you please tell me what is FB number and the can I find Feedback Assistant ? Thank you.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Mar ’25
Reply to How do I display WebVTT Closed Captions using AVPlayer?
I have been looking at kanderson's code and trying to understand it. Considering the fact that it was posted a week ago the code is written in ancient Swift that I am unable to translate into modern Swift that will compile. If there was an example that is recent that would be appreciated.
Topic: Media Technologies SubTopic: Audio Tags:
Replies
Boosts
Views
Activity
May ’21
Reply to Can't submit the test version
Thank you for the post. Unfortunately, I am unable to translate the image at this time. Would you be able to post the output so that I can view the error message? Looks like is TestFight issue? Thank you. Albert Pascual
  Worldwide Developer Relations.
Replies
Boosts
Views
Activity
Oct ’25
Reply to Problem with vImagePiecewiseGamma_Planar8
The original works without problem but it is written in swift. It is the sample code from Adjusting the brightness and contrast of an image . I translated the code to obj-c myself, since I couldn't find an obj-c version.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Apr ’24