Search results for

“translate scheme”

6,658 results found

Post

Replies

Boosts

Views

Activity

ERROR with UITableViewCell
Hi developersI have a problem with my UITableViewCell in the Storyboard. I want to place a single Cell in a UIViewController (B), NOT in a UITableView.But I get an error, when I click on the button in an other UIViewController (A), that shows the second UIViewController (B). The error is: Must translate autoresizing mask into constraints to have _setHostsLayoutEngine:YES. (Xcode 7)At the moment there isn't any code in relation with this Cell or ViewController.I hope you can unterstand my problem - I'm not a native English speaker - and help me with my problem.
3
0
2.1k
Oct ’15
Reply to Reimplementing focus tilting animation?
Hello erkyrath,I am currently working on a fake tilting for a selection menu that is combined out of different layers. So far a focus only changes the color of the layer (which is okay, but not very appealing). I am currently experimenting with a the translation of a UIPanGestureRecognizer on the layer's view and translating this value to a 3D Transform of the layer. This code should also work for any other view/layer, but it's (of course) very hard to exactly mimic the behaviour of Apple's default tilting. When I get anything close, I will post it here.I found out that the ImageViews layer.sublayers[0].sublayers[3].sublayers[0] and layer.sublayers[0].sublayers[3].sublayers[1] update their 3D-Transformation and the layer.sublayers[0].sublayers[3] gets a new CIFilter set everytime you pan on a focused element. I don't know if it's possible to reverse engineer the relation between a pan and the corresponding Layer transformation, especially the shadow and the glow/spotlight will be hard. But I
Topic: App & System Services SubTopic: Core OS Tags:
Oct ’15
Reply to Proposal: transform Obj-C methods that return values by reference into tuple returns
I think the construct you're trying to eliminate is both fairly rare and likely inconsistent in the Cocoa APIs. The former makes it a lot of trouble for a small gain, and the latter makes manual auditing necessary, case by case.Under these circumstances, I think it would be simpler to just augment the Cocoa APIs with new convenience APIs that translate into Swift to produce the method forms you prefer. That means that Obj-C needs a new tuple-ish return type (perhaps a struct packaged as NS_TUPLE, kinda like Swift-compatible enums are packaged as NS_ENUM or NS_OPTIONS), or that the original SDK header files go cross-language and permit the embedding of Swift method definitions using Swift syntax (that are ignored by the Obj-C compiler).I prefer the second of these ideas, because it's an open-ended architecture for improving Swift access to the SDK in the future. Who knows what API bee will get into your bonnet next?? 😉
Topic: Programming Languages SubTopic: Swift Tags:
Oct ’15
Reply to tvOS - Subscription Management
Calling the following:[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@itms-apps://buy.itunes.apple.com/WebObjects/MZFinance.woa/wa/manageSubscriptions]];on an AppleTV Dev Kit with TvOS Beta 3 results in nothing happening and getting the following message in the log:LaunchServices: ERROR: There is no registered handler for URL scheme itms-apps
Topic: App & System Services SubTopic: Core OS Tags:
Oct ’15
Reply to NSUserDefaults with tuples
NSUserDefaults only supports property list types (Strings, numbers, dates, datas, booleans, and arrays/dictionaries of those types), sorry. Similarly, NSKeyedUnarchiver only works on class types, since it's an Objective-C API and tuples cannot be bridged to Objective-C. I don't think there's any way to store tuples in user defaults currently, you'll have to write some code to translate back and forth from something that is supported.
Topic: Programming Languages SubTopic: Swift Tags:
Oct ’15
How to Link to the App Store ?
Can Apple let us know how we should link to another App on the Apple TV App Store once it goes live? On my iOS games I do this:[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@https://itunes.apple.com/us/app/xxxxxx];and although this compiles on tvOS, when this line is executed, the debug consoles gives this error:LaunchServices: ERROR: There is no registered handler for URL scheme httpsI want to be able to link to my full priced Apple TV game on the App Store from the free version.
2
0
1.2k
Oct ’15
Xcode 7 won't run/compile C.
I'm very new to programming in general, so I appologize if there's a really easy solution to this.To be specific, almost all of the buttons under the Product menu are greyed-out. When I try Product > Scheme > Edit Scheme... it does absolutely nothing. No menu or anything. I don't know anything else to try.
3
0
3.1k
Oct ’15
Merging videos with different sizes & rates
I've got two sets of video cameras monitoring wildlife movement. Each camera set has a different naturalSize and frameDuration, but I'd like to interleave clips from each set as the animal wanders through each camera's view. I've looked at the demo apps and played around with AVMutableComposition and AVMutableVideoComposition feeding into AVAssetExportSession, but my scheme only works when all clips share the same size and frame rate. It's not clear to me what's causing the problem, so I don't know whether I need to put each camera's clips into different tracks and then ??? or what. Any clues?
4
0
2.1k
Oct ’15
Debugging "external build system" targets
I've successfully got Xcode to run my external build system and successfully create a MacOS executable. I've pointed Xcode to the target executable in Product/Scheme/Edit Scheme.../Executable. This enables me to Run it, but how do I step through it instead of running it?Secondary question: under certain conditions, the external build system may indicate failure but still create the executable. Ideally I'd like to be able to step through the executable even though Xcode was told that the build step has failed. How do I do this?
0
0
947
Oct ’15
Reply to Failed to load DataDetectorsUI.framework ()
I've been seeing Failed to load DataDetectorsUI.framework () for a number of days now, but I've been ignoring it up to now, since it hasn't posed any functional problems for me. I suspect it's because I'm doing API calls to various external services, and tvOS probably does not support URL schemes for sending files to another app.
Topic: App & System Services SubTopic: Core OS Tags:
Oct ’15
Reply to Will your game respect trackpad clicks for primary actions?
This won't address all the issues you mention, but rather than watching for events, you can look at the raw thumb position on the trackpad. That might allow you to circumvent some of the subtle movements that initiate an unintended change of hero direction, by adding a dead zone around the click space.Another option would be to use the accelerometer to input the directional control of your avatar (twist left to run left, twist right to run right), and then use the touch for the jump, instead of a click. This feels a lot more light and precise than the more imperative click action, and might really suit the context of a run-and-jump platformer game. I've found this control style to be really intuitive with the Siri remote. I'm not doing a platformer, but the controls for my particular use were very easy to internalize using that scheme.
Topic: App & System Services SubTopic: Core OS Tags:
Oct ’15
Selling digital autographs (IAP?)
Hello fellow developers!We have developed a social network App where you can receive digital autographs from celebrities. These autographs are basically an image with a text and a signature overlay of the celebrity. Now I've been requested to add the option for our users to ask for an autograph to a celebrity, pay for the autograph and get it delivered to his/her app.I'm not quite sure if this enters in the IAP category. Obviously it's a digital good (its not associated with a physical autograph or anything else), but it's not something that can be listed like the typical IAP (i.e: buying 300 bullets for an action game), there will be an indeterminate number of autographs for a dynamic number of different celebrities.My question is... does this apply for an IAP scheme? And if it does not, which are my options?Thanks in advance!Best.
5
0
781
Oct ’15
Reply to crash during initalization in CGFontCreateFontsWithPath
I'm also seeing this. I just upgraded my device from iOS 8 to 9, and the issue suddenly started to occur. Did you by any chance resolve it?No breaking on C++ exceptions didn't fix it. Also, I removed all custom fonts from my project, and that also did not eliminate the issue.Funny enough, disabling debug app in my scheme prevents the crash from occurring. But that's obviously not an option as I won't be able to debug the app at all as I'm developing it.
Oct ’15
ERROR with UITableViewCell
Hi developersI have a problem with my UITableViewCell in the Storyboard. I want to place a single Cell in a UIViewController (B), NOT in a UITableView.But I get an error, when I click on the button in an other UIViewController (A), that shows the second UIViewController (B). The error is: Must translate autoresizing mask into constraints to have _setHostsLayoutEngine:YES. (Xcode 7)At the moment there isn't any code in relation with this Cell or ViewController.I hope you can unterstand my problem - I'm not a native English speaker - and help me with my problem.
Replies
3
Boosts
0
Views
2.1k
Activity
Oct ’15
Reply to Reimplementing focus tilting animation?
Hello erkyrath,I am currently working on a fake tilting for a selection menu that is combined out of different layers. So far a focus only changes the color of the layer (which is okay, but not very appealing). I am currently experimenting with a the translation of a UIPanGestureRecognizer on the layer's view and translating this value to a 3D Transform of the layer. This code should also work for any other view/layer, but it's (of course) very hard to exactly mimic the behaviour of Apple's default tilting. When I get anything close, I will post it here.I found out that the ImageViews layer.sublayers[0].sublayers[3].sublayers[0] and layer.sublayers[0].sublayers[3].sublayers[1] update their 3D-Transformation and the layer.sublayers[0].sublayers[3] gets a new CIFilter set everytime you pan on a focused element. I don't know if it's possible to reverse engineer the relation between a pan and the corresponding Layer transformation, especially the shadow and the glow/spotlight will be hard. But I
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Oct ’15
Reply to Proposal: transform Obj-C methods that return values by reference into tuple returns
I think the construct you're trying to eliminate is both fairly rare and likely inconsistent in the Cocoa APIs. The former makes it a lot of trouble for a small gain, and the latter makes manual auditing necessary, case by case.Under these circumstances, I think it would be simpler to just augment the Cocoa APIs with new convenience APIs that translate into Swift to produce the method forms you prefer. That means that Obj-C needs a new tuple-ish return type (perhaps a struct packaged as NS_TUPLE, kinda like Swift-compatible enums are packaged as NS_ENUM or NS_OPTIONS), or that the original SDK header files go cross-language and permit the embedding of Swift method definitions using Swift syntax (that are ignored by the Obj-C compiler).I prefer the second of these ideas, because it's an open-ended architecture for improving Swift access to the SDK in the future. Who knows what API bee will get into your bonnet next?? 😉
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Oct ’15
Reply to tvOS - Subscription Management
Calling the following:[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@itms-apps://buy.itunes.apple.com/WebObjects/MZFinance.woa/wa/manageSubscriptions]];on an AppleTV Dev Kit with TvOS Beta 3 results in nothing happening and getting the following message in the log:LaunchServices: ERROR: There is no registered handler for URL scheme itms-apps
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Oct ’15
Reply to NSUserDefaults with tuples
NSUserDefaults only supports property list types (Strings, numbers, dates, datas, booleans, and arrays/dictionaries of those types), sorry. Similarly, NSKeyedUnarchiver only works on class types, since it's an Objective-C API and tuples cannot be bridged to Objective-C. I don't think there's any way to store tuples in user defaults currently, you'll have to write some code to translate back and forth from something that is supported.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Oct ’15
Reply to 10.11 GM Hangs after slow boot & login
Was suffering a very similar problem to lyssophobe, was partway through installing the 10.11.1 beta. Was also seeing LaunchServices: Scheme mapping file does not exist, creating file in the logs. Deleting everything in /var/folders/ worked. Thank you lyssophobe for mentioning this.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Oct ’15
How to Link to the App Store ?
Can Apple let us know how we should link to another App on the Apple TV App Store once it goes live? On my iOS games I do this:[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@https://itunes.apple.com/us/app/xxxxxx];and although this compiles on tvOS, when this line is executed, the debug consoles gives this error:LaunchServices: ERROR: There is no registered handler for URL scheme httpsI want to be able to link to my full priced Apple TV game on the App Store from the free version.
Replies
2
Boosts
0
Views
1.2k
Activity
Oct ’15
Xcode 7 won't run/compile C.
I'm very new to programming in general, so I appologize if there's a really easy solution to this.To be specific, almost all of the buttons under the Product menu are greyed-out. When I try Product > Scheme > Edit Scheme... it does absolutely nothing. No menu or anything. I don't know anything else to try.
Replies
3
Boosts
0
Views
3.1k
Activity
Oct ’15
Merging videos with different sizes & rates
I've got two sets of video cameras monitoring wildlife movement. Each camera set has a different naturalSize and frameDuration, but I'd like to interleave clips from each set as the animal wanders through each camera's view. I've looked at the demo apps and played around with AVMutableComposition and AVMutableVideoComposition feeding into AVAssetExportSession, but my scheme only works when all clips share the same size and frame rate. It's not clear to me what's causing the problem, so I don't know whether I need to put each camera's clips into different tracks and then ??? or what. Any clues?
Replies
4
Boosts
0
Views
2.1k
Activity
Oct ’15
Reply to how to read user's sms in an application?
You should look to other platforms that don't value the user's privacy 🙂 Accessing SMS messages is impossible on iOS. If the message includes a link with a custom URL scheme tthen the user could tap on it and that would open your app and pass it the info from the URL. But you can't access the messages themselves.
Replies
Boosts
Views
Activity
Oct ’15
Debugging "external build system" targets
I've successfully got Xcode to run my external build system and successfully create a MacOS executable. I've pointed Xcode to the target executable in Product/Scheme/Edit Scheme.../Executable. This enables me to Run it, but how do I step through it instead of running it?Secondary question: under certain conditions, the external build system may indicate failure but still create the executable. Ideally I'd like to be able to step through the executable even though Xcode was told that the build step has failed. How do I do this?
Replies
0
Boosts
0
Views
947
Activity
Oct ’15
Reply to Failed to load DataDetectorsUI.framework ()
I've been seeing Failed to load DataDetectorsUI.framework () for a number of days now, but I've been ignoring it up to now, since it hasn't posed any functional problems for me. I suspect it's because I'm doing API calls to various external services, and tvOS probably does not support URL schemes for sending files to another app.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Oct ’15
Reply to Will your game respect trackpad clicks for primary actions?
This won't address all the issues you mention, but rather than watching for events, you can look at the raw thumb position on the trackpad. That might allow you to circumvent some of the subtle movements that initiate an unintended change of hero direction, by adding a dead zone around the click space.Another option would be to use the accelerometer to input the directional control of your avatar (twist left to run left, twist right to run right), and then use the touch for the jump, instead of a click. This feels a lot more light and precise than the more imperative click action, and might really suit the context of a run-and-jump platformer game. I've found this control style to be really intuitive with the Siri remote. I'm not doing a platformer, but the controls for my particular use were very easy to internalize using that scheme.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Oct ’15
Selling digital autographs (IAP?)
Hello fellow developers!We have developed a social network App where you can receive digital autographs from celebrities. These autographs are basically an image with a text and a signature overlay of the celebrity. Now I've been requested to add the option for our users to ask for an autograph to a celebrity, pay for the autograph and get it delivered to his/her app.I'm not quite sure if this enters in the IAP category. Obviously it's a digital good (its not associated with a physical autograph or anything else), but it's not something that can be listed like the typical IAP (i.e: buying 300 bullets for an action game), there will be an indeterminate number of autographs for a dynamic number of different celebrities.My question is... does this apply for an IAP scheme? And if it does not, which are my options?Thanks in advance!Best.
Replies
5
Boosts
0
Views
781
Activity
Oct ’15
Reply to crash during initalization in CGFontCreateFontsWithPath
I'm also seeing this. I just upgraded my device from iOS 8 to 9, and the issue suddenly started to occur. Did you by any chance resolve it?No breaking on C++ exceptions didn't fix it. Also, I removed all custom fonts from my project, and that also did not eliminate the issue.Funny enough, disabling debug app in my scheme prevents the crash from occurring. But that's obviously not an option as I won't be able to debug the app at all as I'm developing it.
Replies
Boosts
Views
Activity
Oct ’15