Search results for

“translate scheme”

6,658 results found

Post

Replies

Boosts

Views

Activity

Reply to Base internalization-Supporting English only
If it's still interesting someone.Use this command to export the English translation so that it will already have the 'source' and 'target' elements for each translation unit.xcodebuild -exportLocalizations -localizationPath . -project ../MyProject.xcodeproj -exportLanguage ennote that it has '-exportLanguage en' , if you omit this, it will export the base version.
Nov ’15
Reply to UITesting + preprocessor macross
I believe you mean environmental variable, not preprocessor macro? If so, what you describe is the expected behavior. When you run your app, which is what we do when you record it, it takes its environment from the configuration for the run action in the scheme. When the app is launched from the test you can supply environment variables using the API in XCUIApplication, but they're not populated by settings for the run action of the scheme.
Nov ’15
Apple TV App Store search and localization
My app 'Solar Observatory' for Apple TV has 'NASA' as a keyword for App Store search. If I search for NASA in the Swedish Apple TV App Store, I get no results.Another keyword I have is space. Space is not a Swedish word. If I search for space I find the app in the results. I does not make sense for me.I would like to know if search for NASA lists Solar Observatory in search results in the Apple TV US store. The app is not localized for any other language except English (U.S.). I am not intending to localize it at the moment, since it will need a specialized translator. If I would add localized description with keywords in English (U.K.), will that solve my problem? Will the app become searchable with english keywords in other non-English App Stores?Or does this mean that the app can only be found by a keyword if localized for the local App Store. In that case I will need to change the title to something with main keywords included, which could be ugly. But why searching for space in Swedish App Store
0
0
472
Nov ’15
Reply to Localizing a Managed Object Model not working
I am reading Page 36 from the Core Data Programming Guide that was written on 2014-07-15.I made an error in providing the name of the macro, it should have been NSLocalizedStringFromTable. I have used NSLocalizedStringFromTable to produce the strings file in French, and Spanish. The languages change only when the data is contained in a NSDictionary and NSArray combination. I used an instance variable to extract the NSDictionary keys. Here is the code: self.sectionsArraySorted = [[_mySubjectsDictionary allKeys] sortedArrayUsingSelector:@selector(localizedStandardCompare:)];//obtain all of the the keys inside of the dictionary; they are being used as the sections for the tableview. Then sorting the values in alphabetical orderThus, localization works fine, if I store the data inside of a static NSDictionary. I can store that static data, that is written in English, inside of my Fruits entity. I have not been able to localize the Fruits entity with the information that is provided from Page 36 from the Core Data
Nov ’15
Edit Scheme button do not appear..
Hi ! ^ ^ Usually upper left side of Xcode, there is run and stop button, right ? (just like ▶︎ ■ )and right side of that usually target and simulator select box... right ?It is disapeared when I develop static library ....Where is that gone ? (I use Xcode 6.4 .. from 7.0 no problem)Thanks 😀
0
0
103
Nov ’15
Creating a new MIDI control surface mapping driver for Logic Pro X
We need to developpe a new control surface mapping driver for Logic Pro X, to match the simple fonctionnal requiements of our Tangerine Automation InterfaceI'm trying to find the info on how to create the mapping driver that will translate our interface hardware/midi mapping to Logic Pro X internal controllers acces. (volume, mutes, automation modes etc...)Ou interface is already reconnized as 5 ports Plug&Play USB midi device. It can be used with the HUI mapping in Logic Pro x but we want to get better control behavior, with our own mapping Any pointer on where to look in the apple developer section would be appriciateddbmdbu
5
0
4.2k
Nov ’15
Unbalanced calls to begin/end appearance transitions with UIPercentDrivenInteractiveTransition
I am trying to use UIPercentDrivenInteractiveTransition to allow the user to swipe a new view in from the righthand side.All works okay apart from the warning; Unbalanced calls to begin/end appearance transitions ....The fromView is connected to the toView in the Storyboard using a Custom Segue called toRightViewHere is the handler:func handleRightOnStagePan(pan: UIPanGestureRecognizer) { //how much distance has been panned let translation = pan.translationInView(pan.view!) //translate to percentage based value var d = -translation.x / CGRectGetWidth(pan.view!.bounds) d = min(1.0, max(0.0,d)) //now deal with different states of geture recogniser switch (pan.state) { case UIGestureRecognizerState.Began: //trigger start of transition self.presentingViewController.performSegueWithIdentifier(toRightView, sender: self) break case UIGestureRecognizerState.Changed: //Update progress of transition self.updateInteractiveTransition(d) break default: //.Ended, .Cancelled, .Failed if (d > 0.3) { self
Topic: UI Frameworks SubTopic: UIKit Tags:
0
0
1.8k
Nov ’15
Reply to parse json rfc 4267
I’m not entirely sure what you mean by “nested json” but I suspect that you’re asking how to parse a dictionary within a dictionary. If so, here’s an example.Let’s start with JSON data like this:7b0a2020 22616464 72657373 22203a20 7b0a2020 2020227a 6970436f 64652220 3a202239 35303134 222c0a20 20202022 73747265 65744164 64726573 7322203a 20223120 496e6669 6e697465 204c6f6f 70222c0a 20202020 22636f75 6e747279 22203a20 22555341 220a2020 7d2c0a20 20226e61 6d652220 3a202241 70706c65 20496e63 2e220a7dAs text this looks like this:{ address : { zipCode : 95014, streetAddress : 1 Infinite Loop, country : USA }, name : Apple Inc. }You parse out the name and country like this:do { let rootUntyped = try NSJSONSerialization.JSONObjectWithData(data, options: []) guard let rootDict = rootUntyped as? NSDictionary else { throw NSError(domain: NSCocoaErrorDomain, code: NSFileReadCorruptFileError, userInfo: nil) } guard let name = rootDict[name] as? String else { throw NSError(domain: NSCocoaErrorDomain, code: NSFileReadCorrupt
Topic: Programming Languages SubTopic: Swift Tags:
Nov ’15
Reply to Rejection : Sweepstakes and contests must be sponsored by the developer/company of the App
I think you have a problem with create. If the user is creating the contest then the user is responsible for the contest. Your new suggested flow is worded in a way that does not really translate into English with enough specificity:user can request to create a contest to the company with a sponsor amount, and company legally publish the contest behalf of the userBetter might be: User A requests a contest to the company suggesting a specific base amount and a video. Company creates that contest with that base amount and company sponsors that new contest. User A enters that contest with the base amount and the video. Other users enter the contest. Company counts 'likes' and awards the collected fees to the winner.
Nov ’15
Translate Swift.
Hi. I have started to learn Swift. But there is a problem that many people have commented to me . All documentation is in English and all tutorials . Apple could have translated the SWIFT documentation and tutorials for people who do not control much of English . I would love that swift documentation of this in order to learn Spanish more easily. Could you help me with some resources to learn Spanish as Swift in pagians I have sought not explain things well and no tutorials to learn .
2
0
1k
Nov ’15
Reply to How to reset Xcode instruments? / Time Profiler crashing iOS App
Look at the Profile action in the scheme editor for whichever scheme you are profiling with. The Info tab has an Instrument setting that should be set to Ask on Launch if you want to be able to select a different template when Instruments is launched by Xcode.As for your crash, please file a radar with more precise reproduction steps, device info, etc... If you can include the crash report for the app as well, that might prove useful.
Nov ’15
Reply to Complications - string length - AW hangs
Hello,Thank you for your reply. I don't think it has anything to do with NSLocalizedStrings. I have both REC and RECS in my Localizable.strings and they are properly recognized within the app. When I change the translations to, e.g., R RS respectively, everything works flawlessly.For testing, I also changed the line to:complication.line2TextProvider = [CLKTextProvider textProviderWithFormat:@%@, @wabakutimbu];So there are no localized strings, but the problem persists. If I put it in the getPlaceholderTemplateForComplication, it hangs even the simulator.
Topic: App & System Services SubTopic: General Tags:
Nov ’15
Reply to Translate Swift.
The problem is that Apple does not translate your documentation but if you want new applications in their stores and created in Swift but the documentation is not available in other languages.In iTunes U, exist's Swift course in English but not in other languages.We'll have to pick up signatures for Apple can translate your documentation Swift for other countries.
Topic: Business & Education SubTopic: General Tags:
Nov ’15
Reply to XCode 7.1 Archive behaviour changes
kwab,I will build my app using command line tools sometimes so I added -showBuildSettings to display the environment. I was able to deduce from that output what needed to change. It still took some trial and error though. xcodebuild -showBuildSettings -project myproj.xcodeproj -scheme myScheme -configuration QA -archivePath $ARCHIVEQA archive
Nov ’15
Reply to Base internalization-Supporting English only
If it's still interesting someone.Use this command to export the English translation so that it will already have the 'source' and 'target' elements for each translation unit.xcodebuild -exportLocalizations -localizationPath . -project ../MyProject.xcodeproj -exportLanguage ennote that it has '-exportLanguage en' , if you omit this, it will export the base version.
Replies
Boosts
Views
Activity
Nov ’15
Reply to UITesting + preprocessor macross
I believe you mean environmental variable, not preprocessor macro? If so, what you describe is the expected behavior. When you run your app, which is what we do when you record it, it takes its environment from the configuration for the run action in the scheme. When the app is launched from the test you can supply environment variables using the API in XCUIApplication, but they're not populated by settings for the run action of the scheme.
Replies
Boosts
Views
Activity
Nov ’15
Apple TV App Store search and localization
My app 'Solar Observatory' for Apple TV has 'NASA' as a keyword for App Store search. If I search for NASA in the Swedish Apple TV App Store, I get no results.Another keyword I have is space. Space is not a Swedish word. If I search for space I find the app in the results. I does not make sense for me.I would like to know if search for NASA lists Solar Observatory in search results in the Apple TV US store. The app is not localized for any other language except English (U.S.). I am not intending to localize it at the moment, since it will need a specialized translator. If I would add localized description with keywords in English (U.K.), will that solve my problem? Will the app become searchable with english keywords in other non-English App Stores?Or does this mean that the app can only be found by a keyword if localized for the local App Store. In that case I will need to change the title to something with main keywords included, which could be ugly. But why searching for space in Swedish App Store
Replies
0
Boosts
0
Views
472
Activity
Nov ’15
Reply to Is it possible to force to ask for the pincode instead of fingerprint?
You'll need to devise your own passcode & timer scheme for your app. This would have nothing to do with touchID or master passcode.
Topic: Privacy & Security SubTopic: General Tags:
Replies
Boosts
Views
Activity
Nov ’15
Reply to Localizing a Managed Object Model not working
I am reading Page 36 from the Core Data Programming Guide that was written on 2014-07-15.I made an error in providing the name of the macro, it should have been NSLocalizedStringFromTable. I have used NSLocalizedStringFromTable to produce the strings file in French, and Spanish. The languages change only when the data is contained in a NSDictionary and NSArray combination. I used an instance variable to extract the NSDictionary keys. Here is the code: self.sectionsArraySorted = [[_mySubjectsDictionary allKeys] sortedArrayUsingSelector:@selector(localizedStandardCompare:)];//obtain all of the the keys inside of the dictionary; they are being used as the sections for the tableview. Then sorting the values in alphabetical orderThus, localization works fine, if I store the data inside of a static NSDictionary. I can store that static data, that is written in English, inside of my Fruits entity. I have not been able to localize the Fruits entity with the information that is provided from Page 36 from the Core Data
Replies
Boosts
Views
Activity
Nov ’15
Edit Scheme button do not appear..
Hi ! ^ ^ Usually upper left side of Xcode, there is run and stop button, right ? (just like ▶︎ ■ )and right side of that usually target and simulator select box... right ?It is disapeared when I develop static library ....Where is that gone ? (I use Xcode 6.4 .. from 7.0 no problem)Thanks 😀
Replies
0
Boosts
0
Views
103
Activity
Nov ’15
Creating a new MIDI control surface mapping driver for Logic Pro X
We need to developpe a new control surface mapping driver for Logic Pro X, to match the simple fonctionnal requiements of our Tangerine Automation InterfaceI'm trying to find the info on how to create the mapping driver that will translate our interface hardware/midi mapping to Logic Pro X internal controllers acces. (volume, mutes, automation modes etc...)Ou interface is already reconnized as 5 ports Plug&Play USB midi device. It can be used with the HUI mapping in Logic Pro x but we want to get better control behavior, with our own mapping Any pointer on where to look in the apple developer section would be appriciateddbmdbu
Replies
5
Boosts
0
Views
4.2k
Activity
Nov ’15
Unbalanced calls to begin/end appearance transitions with UIPercentDrivenInteractiveTransition
I am trying to use UIPercentDrivenInteractiveTransition to allow the user to swipe a new view in from the righthand side.All works okay apart from the warning; Unbalanced calls to begin/end appearance transitions ....The fromView is connected to the toView in the Storyboard using a Custom Segue called toRightViewHere is the handler:func handleRightOnStagePan(pan: UIPanGestureRecognizer) { //how much distance has been panned let translation = pan.translationInView(pan.view!) //translate to percentage based value var d = -translation.x / CGRectGetWidth(pan.view!.bounds) d = min(1.0, max(0.0,d)) //now deal with different states of geture recogniser switch (pan.state) { case UIGestureRecognizerState.Began: //trigger start of transition self.presentingViewController.performSegueWithIdentifier(toRightView, sender: self) break case UIGestureRecognizerState.Changed: //Update progress of transition self.updateInteractiveTransition(d) break default: //.Ended, .Cancelled, .Failed if (d > 0.3) { self
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
0
Boosts
0
Views
1.8k
Activity
Nov ’15
Reply to parse json rfc 4267
I’m not entirely sure what you mean by “nested json” but I suspect that you’re asking how to parse a dictionary within a dictionary. If so, here’s an example.Let’s start with JSON data like this:7b0a2020 22616464 72657373 22203a20 7b0a2020 2020227a 6970436f 64652220 3a202239 35303134 222c0a20 20202022 73747265 65744164 64726573 7322203a 20223120 496e6669 6e697465 204c6f6f 70222c0a 20202020 22636f75 6e747279 22203a20 22555341 220a2020 7d2c0a20 20226e61 6d652220 3a202241 70706c65 20496e63 2e220a7dAs text this looks like this:{ address : { zipCode : 95014, streetAddress : 1 Infinite Loop, country : USA }, name : Apple Inc. }You parse out the name and country like this:do { let rootUntyped = try NSJSONSerialization.JSONObjectWithData(data, options: []) guard let rootDict = rootUntyped as? NSDictionary else { throw NSError(domain: NSCocoaErrorDomain, code: NSFileReadCorruptFileError, userInfo: nil) } guard let name = rootDict[name] as? String else { throw NSError(domain: NSCocoaErrorDomain, code: NSFileReadCorrupt
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Nov ’15
Reply to Rejection : Sweepstakes and contests must be sponsored by the developer/company of the App
I think you have a problem with create. If the user is creating the contest then the user is responsible for the contest. Your new suggested flow is worded in a way that does not really translate into English with enough specificity:user can request to create a contest to the company with a sponsor amount, and company legally publish the contest behalf of the userBetter might be: User A requests a contest to the company suggesting a specific base amount and a video. Company creates that contest with that base amount and company sponsors that new contest. User A enters that contest with the base amount and the video. Other users enter the contest. Company counts 'likes' and awards the collected fees to the winner.
Replies
Boosts
Views
Activity
Nov ’15
Translate Swift.
Hi. I have started to learn Swift. But there is a problem that many people have commented to me . All documentation is in English and all tutorials . Apple could have translated the SWIFT documentation and tutorials for people who do not control much of English . I would love that swift documentation of this in order to learn Spanish more easily. Could you help me with some resources to learn Spanish as Swift in pagians I have sought not explain things well and no tutorials to learn .
Replies
2
Boosts
0
Views
1k
Activity
Nov ’15
Reply to How to reset Xcode instruments? / Time Profiler crashing iOS App
Look at the Profile action in the scheme editor for whichever scheme you are profiling with. The Info tab has an Instrument setting that should be set to Ask on Launch if you want to be able to select a different template when Instruments is launched by Xcode.As for your crash, please file a radar with more precise reproduction steps, device info, etc... If you can include the crash report for the app as well, that might prove useful.
Replies
Boosts
Views
Activity
Nov ’15
Reply to Complications - string length - AW hangs
Hello,Thank you for your reply. I don't think it has anything to do with NSLocalizedStrings. I have both REC and RECS in my Localizable.strings and they are properly recognized within the app. When I change the translations to, e.g., R RS respectively, everything works flawlessly.For testing, I also changed the line to:complication.line2TextProvider = [CLKTextProvider textProviderWithFormat:@%@, @wabakutimbu];So there are no localized strings, but the problem persists. If I put it in the getPlaceholderTemplateForComplication, it hangs even the simulator.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Nov ’15
Reply to Translate Swift.
The problem is that Apple does not translate your documentation but if you want new applications in their stores and created in Swift but the documentation is not available in other languages.In iTunes U, exist's Swift course in English but not in other languages.We'll have to pick up signatures for Apple can translate your documentation Swift for other countries.
Topic: Business & Education SubTopic: General Tags:
Replies
Boosts
Views
Activity
Nov ’15
Reply to XCode 7.1 Archive behaviour changes
kwab,I will build my app using command line tools sometimes so I added -showBuildSettings to display the environment. I was able to deduce from that output what needed to change. It still took some trial and error though. xcodebuild -showBuildSettings -project myproj.xcodeproj -scheme myScheme -configuration QA -archivePath $ARCHIVEQA archive
Replies
Boosts
Views
Activity
Nov ’15