Search results for

“translate scheme”

6,671 results found

Post

Replies

Boosts

Views

Activity

Reply to XLIFF not importing to .stringsdict correctly for some languages?
For me, the XLIFF import for Localizable.stringsdict is totally broken for both French and German. It ends up stripping all the XML headers from the target .stringsdict files, doesn't correctly apply the translated strings, and converts all of the accented characters to escape sequences. It's as if internally the XLIFF importer is treating the .stringsdict file as if its a property list rather than an XML document.It looks like I'm going to have to apply all of the translations manually, which is quite a pain. Better to just give the .stringsdict file itself to the translators, rather than using the XLIFF until Apple fixes this.
Sep ’17
Reply to Did Apple removed Translate SF Symbol in SF Symbol 2?
There is a translate symbol in my version (5.1). It is a pair of cartoon speech bubbles with a capital letter A in one and a (possibly Kanji) character in the other. It has a note that it is reserved for the Apple translate service, so I presume it is copyrighted. I am personally going to use the globe symbol to offer other languages. Don't know if there are any HID guidelines on that.
Topic: Design SubTopic: General Tags:
Dec ’24
How to set destination flag when in edit scheme Xcode?
I am trying to set up a bot to run a test scheme in Xcode Server. I get the following error:Bot Issue for Tapestry Bot-Test (error) No destinations were specified with the -destination flag which were valid for the specified scheme 'TapestryTests'.In reading other posts and doing searches I have seen to set the destination flag in the edit scheme option in Xcode. I have tried several places and don't know where to put this option-destination 'platform=iOS,id=SomeDeviceID' testI tried to enter screenshot but dont see an option. I am under the edit scheme screen where you set your build and run option
0
0
424
Oct ’16
Reply to NEIPv6Route fallback as NEIPv4Route
What translation mechanism are available in iOS?Built in to iOS? That’d be the empty set. iOS works well with DNS64/NAT64, but that translation is done by the network, not on device.Share and Enjoy — Quinn “The Eskimo!” Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.com
Apr ’19
Reply to Question on moving around in a scene with touch
I have been trying to accomplish the same but with translation@objc func panGestureHandler(_ recognizer: UIPanGestureRecognizer) { if recognizer.state == .began { print(Touchdown) var touchLocation = recognizer.location(in: recognizer.view) touchLocation = self.convertPoint(fromView: touchLocation) if (self.atPoint(touchLocation) is SKSpriteNode){ selectedNode = self.atPoint(touchLocation) as! SKSpriteNode } else { recognizer.state = .failed } } else if recognizer.state == .changed { var translation = recognizer.translation(in: recognizer.view!) translation = CGPoint(x: translation.x, y: -translation.y) //-y for spritekit selectedNode.position = CGPoint(x: pos.x + translation.x, y: pos.y + translation.y) pos = selectedNode.position //pos initialized to the SKSpritNode position as CGPoint } else if recognizer.state == .ended { }Please Help
Topic: Graphics & Games SubTopic: SpriteKit Tags:
Sep ’18
Reply to 2 CollectionView Rows To 2 TableView Ones
Sorry, but your description is full of mysteries for readers. You have a collection view and a table view, that's written in your opening post. All you have added is only one thing -- the collection view shows names of people. Where are the collection view and the table view? In a same view controller, or you have another view controller? What action triggers to translate or to make the table view have those 2 rows? How the 2 rows in the collection view are chosen? Or the collection view shows only 2 names? Again, what is translate or have those 2 rows? What do you want to show in the table view? And what is the table view showing before translate? ...
Dec ’20
Reply to How to extend Localization for new user facing text in IB?
Hi ace.neerav,I highly recommend you check out Xcode's import/export feature, which allows you to export translations into an .xliff file that you can send to translation without having to worry about maintaining individual .strings files yourself.This can be done by selecting your project file in Xcode, then clicking on Editor -> Export for Localization...When re-importing the translated files through the same menu, .strings files will be either automatically updated or generated for you.There's also a great session (that's a couple of years old at this point but still very relevant) that covers this: https://developer.apple.com/videos/play/wwdc2014/412/Hope this helps!- w
Jul ’16
Reply to Cannot Rotate AVCaptureConnection
If you want to translate your metadata objects' coordinate space to that of another AVCaptureOutput (such as the AVCaptureVideoDataOutput), use- (AVMetadataObject *)transformedMetadataObjectForMetadataObject:(AVMetadataObject *)metadataObject connection:(AVCaptureConnection *)connection NS_AVAILABLE_IOS(6_0);It's in AVCaptureOutput.h.If you want to translate the coordinates to the coordinate space of your video preview layer, use AVCaptureVideoPreviewLayer.h's- (AVMetadataObject *)transformedMetadataObjectForMetadataObject:(AVMetadataObject *)metadataObject NS_AVAILABLE_IOS(6_0);
Topic: Media Technologies SubTopic: Audio Tags:
Jul ’16
Reply to Offset modifier not working when used inside a scoped animation (iOS 17) in SwiftUI
For people who've been experiencing this issue: There is a really stupid but 100% working fix. public extension View { func projectionOffset(x: CGFloat = 0, y: CGFloat = 0) -> some View { self.projectionOffset(.init(x: x, y: y)) } func projectionOffset(_ translation: CGPoint) -> some View { modifier(ProjectionOffsetEffect(translation: translation)) } } private struct ProjectionOffsetEffect: GeometryEffect { var translation: CGPoint var animatableData: CGPoint.AnimatableData { get { translation.animatableData } set { translation = .init(x: newValue.first, y: newValue.second) } } public func effectValue(size: CGSize) -> ProjectionTransform { .init(CGAffineTransform(translationX: translation.x, y: translation.y)) } } This will works perfectly with scoped animation. Text(Hello, world!) .animation(.default) { $0 .opacity(animate ? 1 : 0.2) // .offset(y: animate ? 0 : 100) // <-- DOESN'T WORKS!!! .projectionOffset(y: animate ? 0 : 100) // <-- WORKS!!! } I'
Topic: UI Frameworks SubTopic: SwiftUI Tags:
May ’24
Reply to XLIFF not importing to .stringsdict correctly for some languages?
For me, the XLIFF import for Localizable.stringsdict is totally broken for both French and German. It ends up stripping all the XML headers from the target .stringsdict files, doesn't correctly apply the translated strings, and converts all of the accented characters to escape sequences. It's as if internally the XLIFF importer is treating the .stringsdict file as if its a property list rather than an XML document.It looks like I'm going to have to apply all of the translations manually, which is quite a pain. Better to just give the .stringsdict file itself to the translators, rather than using the XLIFF until Apple fixes this.
Replies
Boosts
Views
Activity
Sep ’17
Reply to Did Apple removed Translate SF Symbol in SF Symbol 2?
There is a translate symbol in my version (5.1). It is a pair of cartoon speech bubbles with a capital letter A in one and a (possibly Kanji) character in the other. It has a note that it is reserved for the Apple translate service, so I presume it is copyrighted. I am personally going to use the globe symbol to offer other languages. Don't know if there are any HID guidelines on that.
Topic: Design SubTopic: General Tags:
Replies
Boosts
Views
Activity
Dec ’24
How to set destination flag when in edit scheme Xcode?
I am trying to set up a bot to run a test scheme in Xcode Server. I get the following error:Bot Issue for Tapestry Bot-Test (error) No destinations were specified with the -destination flag which were valid for the specified scheme 'TapestryTests'.In reading other posts and doing searches I have seen to set the destination flag in the edit scheme option in Xcode. I have tried several places and don't know where to put this option-destination 'platform=iOS,id=SomeDeviceID' testI tried to enter screenshot but dont see an option. I am under the edit scheme screen where you set your build and run option
Replies
0
Boosts
0
Views
424
Activity
Oct ’16
Reply to Run UI and Unit tests remotely
attack target payload my iphone translation text wikipedia gethup.com
Replies
Boosts
Views
Activity
Dec ’20
Reply to clang: error: linker command failed with exit code 1 (use -v to see invocation)
What did preferredStyle: UIAlertControllerStyle.Alert and style: UIAlertActionStyle.Default translate to in Swift 3.0? This is a mess.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Oct ’16
Reply to How do you acquire an approval number from China for a mobile game?
can You please write, where did You find english translation? I was not able to find it.
Replies
Boosts
Views
Activity
Mar ’17
Query parameters when opening a URL with custom scheme
In iOS 10 using a custom URL scheme for inter-app communication, how secure are query parameters? I want to pass an account id string from one app to another using a custom scheme, but want to make sure the account id isn't visible to anything in transit.
Replies
1
Boosts
0
Views
1.5k
Activity
Jan ’17
Reply to NEIPv6Route fallback as NEIPv4Route
What translation mechanism are available in iOS?Built in to iOS? That’d be the empty set. iOS works well with DNS64/NAT64, but that translation is done by the network, not on device.Share and Enjoy — Quinn “The Eskimo!” Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.com
Replies
Boosts
Views
Activity
Apr ’19
Open Voice Memos With URL Scheme
I want to open the Apple Voice Memos app from my app. This list shows it as voicememos://, but this is not working. Does anyone know if there is another URL scheme for the Voice Memos app?
Replies
0
Boosts
0
Views
858
Activity
Feb ’24
Reply to Tab bar item localization
Did you declare the translation in a localisation file Main.strings ? If so, localisation will be automatic when view loads.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
May ’21
Reply to Question on moving around in a scene with touch
I have been trying to accomplish the same but with translation@objc func panGestureHandler(_ recognizer: UIPanGestureRecognizer) { if recognizer.state == .began { print(Touchdown) var touchLocation = recognizer.location(in: recognizer.view) touchLocation = self.convertPoint(fromView: touchLocation) if (self.atPoint(touchLocation) is SKSpriteNode){ selectedNode = self.atPoint(touchLocation) as! SKSpriteNode } else { recognizer.state = .failed } } else if recognizer.state == .changed { var translation = recognizer.translation(in: recognizer.view!) translation = CGPoint(x: translation.x, y: -translation.y) //-y for spritekit selectedNode.position = CGPoint(x: pos.x + translation.x, y: pos.y + translation.y) pos = selectedNode.position //pos initialized to the SKSpritNode position as CGPoint } else if recognizer.state == .ended { }Please Help
Topic: Graphics & Games SubTopic: SpriteKit Tags:
Replies
Boosts
Views
Activity
Sep ’18
Reply to 2 CollectionView Rows To 2 TableView Ones
Sorry, but your description is full of mysteries for readers. You have a collection view and a table view, that's written in your opening post. All you have added is only one thing -- the collection view shows names of people. Where are the collection view and the table view? In a same view controller, or you have another view controller? What action triggers to translate or to make the table view have those 2 rows? How the 2 rows in the collection view are chosen? Or the collection view shows only 2 names? Again, what is translate or have those 2 rows? What do you want to show in the table view? And what is the table view showing before translate? ...
Replies
Boosts
Views
Activity
Dec ’20
Reply to How to extend Localization for new user facing text in IB?
Hi ace.neerav,I highly recommend you check out Xcode's import/export feature, which allows you to export translations into an .xliff file that you can send to translation without having to worry about maintaining individual .strings files yourself.This can be done by selecting your project file in Xcode, then clicking on Editor -> Export for Localization...When re-importing the translated files through the same menu, .strings files will be either automatically updated or generated for you.There's also a great session (that's a couple of years old at this point but still very relevant) that covers this: https://developer.apple.com/videos/play/wwdc2014/412/Hope this helps!- w
Replies
Boosts
Views
Activity
Jul ’16
Reply to Cannot Rotate AVCaptureConnection
If you want to translate your metadata objects' coordinate space to that of another AVCaptureOutput (such as the AVCaptureVideoDataOutput), use- (AVMetadataObject *)transformedMetadataObjectForMetadataObject:(AVMetadataObject *)metadataObject connection:(AVCaptureConnection *)connection NS_AVAILABLE_IOS(6_0);It's in AVCaptureOutput.h.If you want to translate the coordinates to the coordinate space of your video preview layer, use AVCaptureVideoPreviewLayer.h's- (AVMetadataObject *)transformedMetadataObjectForMetadataObject:(AVMetadataObject *)metadataObject NS_AVAILABLE_IOS(6_0);
Topic: Media Technologies SubTopic: Audio Tags:
Replies
Boosts
Views
Activity
Jul ’16
Reply to Offset modifier not working when used inside a scoped animation (iOS 17) in SwiftUI
For people who've been experiencing this issue: There is a really stupid but 100% working fix. public extension View { func projectionOffset(x: CGFloat = 0, y: CGFloat = 0) -> some View { self.projectionOffset(.init(x: x, y: y)) } func projectionOffset(_ translation: CGPoint) -> some View { modifier(ProjectionOffsetEffect(translation: translation)) } } private struct ProjectionOffsetEffect: GeometryEffect { var translation: CGPoint var animatableData: CGPoint.AnimatableData { get { translation.animatableData } set { translation = .init(x: newValue.first, y: newValue.second) } } public func effectValue(size: CGSize) -> ProjectionTransform { .init(CGAffineTransform(translationX: translation.x, y: translation.y)) } } This will works perfectly with scoped animation. Text(Hello, world!) .animation(.default) { $0 .opacity(animate ? 1 : 0.2) // .offset(y: animate ? 0 : 100) // <-- DOESN'T WORKS!!! .projectionOffset(y: animate ? 0 : 100) // <-- WORKS!!! } I'
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
May ’24