Search results for

“translate scheme”

6,658 results found

Post

Replies

Boosts

Views

Activity

Reply to SwiftUI - Using the Drag and Magnification Gestures Sequenced
It is not working like I expected but as I recreate it to test, here is the DragState for you. enum DragState { case inactive case pressing case dragging(translation: CGSize) var isPressing: Bool { guard case .pressing = self else { return false } return true } var translation: CGSize { guard case .dragging(let size) = self else { return .zero } return size } }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jul ’24
Apple's tvOS URL schemes?
I've got an app that lets people load user-defined content into it, and displays that content (for example for e-signage applications, interactive kiosks, et cetera).One of the things I'd like to do in it is put up a description of a podcast, and then put a button on the screen that tells Apple's Podcasts app to open it.I tried to do this via [[UIApplication sharedApplication] openURL: ]; with the URL for the podcast from the iTunes store, based on the claim I saw elsewhere that that works on iOS. It did not work for me on tvOS (9.2b2).I know our apps can provide custom URL schemes, and supposedly the openURL: method will work for one third-party app to open another third-party app. But right now I'm more interested in opening things in Apple's own apps (music, tv, movies, trailers, podcasts, and the app store).Do the tvOS versions of Apple's apps support any URL schems at all right now? Are they documented anywhere?
2
0
2.4k
Jan ’16
xcstrings and scheme localization debugging issue
Hello, When I use xcstrings in my app, and I have my scheme's localization debugging enabled (when it renders all caps for any non-localized text). Prior to converting to xccstrings, my app shows non caps text for everything. After I convert to xcstrings, some of my app shows caps text for some items. I can see the keys in the xccstrings that I expect, so I do not think it is a bug in the conversion. Could it be a bug in the renderer somehow? FB13261276 Thanks! -- Greg
0
0
668
Oct ’23
Reply to Localizations. Why I have to export the development language translation?
Hi, Valery. The idea behind the XLIFF export/import feature is that you would create the app in your native language, then export it out so you can send the file to a translation company. They will take what you've written (the development language) and translate it into whatever language you're requesting, then give you back another XLIFF file for that language, and you can import that into your project. You wouldn't need to import anything for a language you already have in your project.
Dec ’15
Reply to items NSArray Objective-C
items is a property of MPMediaQuery, so this code translates (roughly) as: let everything = MPMediaQuery() let itemsFromGenericQuery = everything.items! for song in itemsFromGenericQuery { // … }In Objective-C the type of itemsFromGenericQuery is NSArray; in Swift that’s translated an [MPMediaItem]. Share and Enjoy — Quinn “The Eskimo!” Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.com
Topic: Programming Languages SubTopic: Swift Tags:
Jun ’16
Reply to Time Machine not functioning with High Sierra
The error that i get is the following: There are no discs to be backed up. This can occur if all available discs are listed on the Do not backup list. Click Options to edit the list. And my external hard drive is formated to HFS+J. That was the stock formating from when i bought the external hard drive. I used Google Translate for translating the text because my Mac is on swedish 😀
Topic: App & System Services SubTopic: Core OS Tags:
Jul ’17
Reply to New NSSearchToolbarItem in Mac Catalyst
Good news for you! Today, iPadOS with catalyst automatically translates navigationItem.searchController to AppKit native NSSearchToolbarItem. (However, only automatic-translation support AppKit native component. It is not available with manual NSToolbar. Please check the wwdc session. https://developer.apple.com/videos/play/wwdc2022/10076/ A public sample project is here https://developer.apple.com/documentation/uikit/app_and_environment/supporting_desktop-class_features_in_your_ipad_app.
Topic: App & System Services SubTopic: General Tags:
Aug ’22
Reply to separate thousands in textfield
Search for objective-c to swift translator. Maybe you have to do some fixes but it shouldn't be too hard.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jun ’16
Reply to SwiftUI - Using the Drag and Magnification Gestures Sequenced
It is not working like I expected but as I recreate it to test, here is the DragState for you. enum DragState { case inactive case pressing case dragging(translation: CGSize) var isPressing: Bool { guard case .pressing = self else { return false } return true } var translation: CGSize { guard case .dragging(let size) = self else { return .zero } return size } }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jul ’24
Can Custom scheme URL launch cached App Clip?
I am trying to add custom scheme (CFBundleURLSchemes) to my App Clip. I launch the app clip via TestFlight to cache it to the device then i try to access the custom scheme URL to launch App Clip but nothing happened. May I know if it is something I did wrongly or just App Clip does not support Custom Scheme?
Replies
0
Boosts
0
Views
157
Activity
May ’25
Reply to Mapping of ARKit parameters to Face Action Units (FACs)
I made an ARKit to FACS translation sheet. https://melindaozel.com/sd/arkit-to-facs-cheat-sheet/ :)
Topic: Spatial Computing SubTopic: ARKit Tags:
Replies
Boosts
Views
Activity
May ’22
Reply to separate thousands in textfield
I'm new to ios programming and i just know the basics of swift. can this be done using online translators?
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jun ’16
Reply to For loop question
This prefix and suffix makes no sense to me. Trying to translate to objective c is also very difficult. Thanks for your help...
Replies
Boosts
Views
Activity
Feb ’20
Reply to Trying to modernize and get working Apple's sample code AVReaderWriter. Why is this `DispatchGroup` work block not being called?
That looks like a reasonably direct translation to me, so I'm not sure what could be going wrong. How long does it take?
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Nov ’21
Apple's tvOS URL schemes?
I've got an app that lets people load user-defined content into it, and displays that content (for example for e-signage applications, interactive kiosks, et cetera).One of the things I'd like to do in it is put up a description of a podcast, and then put a button on the screen that tells Apple's Podcasts app to open it.I tried to do this via [[UIApplication sharedApplication] openURL: ]; with the URL for the podcast from the iTunes store, based on the claim I saw elsewhere that that works on iOS. It did not work for me on tvOS (9.2b2).I know our apps can provide custom URL schemes, and supposedly the openURL: method will work for one third-party app to open another third-party app. But right now I'm more interested in opening things in Apple's own apps (music, tv, movies, trailers, podcasts, and the app store).Do the tvOS versions of Apple's apps support any URL schems at all right now? Are they documented anywhere?
Replies
2
Boosts
0
Views
2.4k
Activity
Jan ’16
Unable to find a scheme that Xcloud Cloud complains about
Xcode Cloud reports the following error A scheme called PlatoSafe does not exist in Plato.xcodeproj However, my project only has one scheme named Plato. I search the proj using git grep PlatoSafe and don't see such a name anywhere. I do xcodebuild -list, and the output shows Plato as the only scheme. Where does Xcode Cloud get the scheme name PlatoSafe from?
Replies
1
Boosts
0
Views
915
Activity
May ’24
xcstrings and scheme localization debugging issue
Hello, When I use xcstrings in my app, and I have my scheme's localization debugging enabled (when it renders all caps for any non-localized text). Prior to converting to xccstrings, my app shows non caps text for everything. After I convert to xcstrings, some of my app shows caps text for some items. I can see the keys in the xccstrings that I expect, so I do not think it is a bug in the conversion. Could it be a bug in the renderer somehow? FB13261276 Thanks! -- Greg
Replies
0
Boosts
0
Views
668
Activity
Oct ’23
Reply to Localizations. Why I have to export the development language translation?
Hi, Valery. The idea behind the XLIFF export/import feature is that you would create the app in your native language, then export it out so you can send the file to a translation company. They will take what you've written (the development language) and translate it into whatever language you're requesting, then give you back another XLIFF file for that language, and you can import that into your project. You wouldn't need to import anything for a language you already have in your project.
Replies
Boosts
Views
Activity
Dec ’15
Reply to items NSArray Objective-C
items is a property of MPMediaQuery, so this code translates (roughly) as: let everything = MPMediaQuery() let itemsFromGenericQuery = everything.items! for song in itemsFromGenericQuery { // … }In Objective-C the type of itemsFromGenericQuery is NSArray; in Swift that’s translated an [MPMediaItem]. Share and Enjoy — Quinn “The Eskimo!” Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.com
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jun ’16
Reply to Time Machine not functioning with High Sierra
The error that i get is the following: There are no discs to be backed up. This can occur if all available discs are listed on the Do not backup list. Click Options to edit the list. And my external hard drive is formated to HFS+J. That was the stock formating from when i bought the external hard drive. I used Google Translate for translating the text because my Mac is on swedish 😀
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jul ’17
Reply to How to migrate Bots to a new server
FYI the page referenced is in Korean, and if you right click on the page in google chrome, you can choose 'translate to English'.
Replies
Boosts
Views
Activity
Jan ’21
Reply to New NSSearchToolbarItem in Mac Catalyst
Good news for you! Today, iPadOS with catalyst automatically translates navigationItem.searchController to AppKit native NSSearchToolbarItem. (However, only automatic-translation support AppKit native component. It is not available with manual NSToolbar. Please check the wwdc session. https://developer.apple.com/videos/play/wwdc2022/10076/ A public sample project is here https://developer.apple.com/documentation/uikit/app_and_environment/supporting_desktop-class_features_in_your_ipad_app.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Aug ’22