Is it possible to use/draw a SwiftUI view in TextKit 2? The NSTextLayoutManagerDelegate seems to be built around returning a NSTextLayoutFragment. Since NSTextLayoutFragment is a class, I can't subclass it and use SwiftUI. I'd love to create my views using SwiftUI, since it's a lot faster than figuring out CGPaths, pixel perfect anti-aliasing, etc. Thanks!
Search results for
DTiPhoneSimulatorErrorDomain Code 2
158,585 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Where can I find and download beta 10 version 2?
In my Mac OS Transparent App proxy code I activate the extension LoadAllPref Set NETunnelProviderProtocol & NETransparentProxyManager configurations SavePref Again LoadAllPref get the connection object startVPNTunnelAndReturnError This is working good in most of the case . sometimes I see 2 entries of my extension in Network Preferences and both the entries are yellow (not connected ). is there any known issue around this or any way to workaround this issue ?
Accoding to Table 2-4 of FairPlay Programing Guide, Asset ID in SPC is byte array.On other hand, the chapter EME Message Exchange says The AssetId can be any string you choose.So what charactor code should I choose?In FPS_in_Safari_Example.html, charactor code of AssetId is like Unicode.Its javascript code to get byte array is the below: function stringToArray(string) { var buffer = new ArrayBuffer(string.length*2); // 2 bytes for each char var array = new Uint16Array(buffer); for (var i=0, strLen=string.length; i<strLen; i++) { array[i] = string.charCodeAt(i); } return array; }The length of Unicode is not always 2 bytes. So it will not working well because Key Server can't extract original string.It doesn't make sense to treat Asset Id as string in Safari.Should I pass AssetId to Key Server in the outer of SPC Message?
I'm learning to develop iOS apps. And I'd like to test it on my iPad Air 2. My Xcode is set up as follows: iOS 13.0 Xcode 12.3 Swift 5.3 My iPad is on iOS Version 14.3. I had my iPad Air 2 set up before, but its simulator disappeared when I upgraded the Xcode version. How do I set up Xcode so I can simulate/run apps on an iPad Air 2? Thank you very much in advance.
I would like to add Watch support to my app and if I understand correctly...iOS 8 only supports watchOS 1 and iOS 9 supports both watchOS 1 and 2.Furthermore, watchOS 1 app won't run on watchOS 2 device and vise versa.Is this correct?
We have a problem when another solution uses a transparent proxy or an app proxy provider. (Network Extension OTHER). When this solution is installed (Network Extension OTHER) we will exclusively receive in our network extension (Network Extension AAA) all the connections from the mentioned network extension (no flow received from browsers or other applications; this is a normal behaviour if the mentioned solution received the connections first). In our network extension we redirect all the connections for all monitored apps. If we monitor the mentioned solution we will intercept all connections from the VPN (from Network Extension OTHER), but these connections will be redirected to our local proxy. In our local proxy we will analyze the traffic and one connection will be created from our local proxy to the server, intercepted again by the mentioned third party solution (infinite loop). If the vpn solution uses NETransparentProxyProvider, they can ignore our local proxy process to not monitor again the flow a
Any ideas when beta 2 will be released?
Hi, any idea when beta 2 comes out?
I have migrated my watch OS 1 app to watch OS 2 and converted to swift, now testflight will not accept the upload with the following errorERROR ITMS-90125 The binary is invalid.Submitting the watch OS 1 target written in objective-C worked couple days ago.Tried to delete the watch app + extension targets and re-create from scratch, the same error happens.Choosing validate from Xcode archive dialog works fine as wellLooks to me like swift 2 + watch OS 2 related bug in iTunes, anybody successfully submitted watchOS 2 in swift for testing?thanks,Martin
You may have some problem implementing your ‘promo code’ system into Apple’s IAP because they don’t want you to ‘sell’ a promo code and use that sale to get around IAP. For example, purchase the IAP for $10 or buy a promo code for $6 and get the same IAP for $2. So you can’t sell or otherwise get value for a promo code. If you tell App Review that you will not sell promo codes they may allow it. To use a promo code just create 2 identical IAP products with different prices. If the user enters the code offer them the lower priced IAP.
Topic:
App & System Services
SubTopic:
StoreKit
Tags:
In my game 854159268 (com.1791entertainment.qugame), in my quMostRecent3 leaderboard, the top 2 entries have 'vanished'. They were there yesterday. I know these players have played today, as I see their scores on other leaderboards. Any ideas how to get these back? These 2 players (me and my tester) are both TestFlight ing - not sure if that changes things.
Topic:
Graphics & Games
SubTopic:
GameKit
Hi there, I have a small question regards to the TextKit 2 demo app: In macOS / TextDocumentView.swift / viewportBounds(for:) / Line 106 , why compare overdrawRect.minY with max(visibleRect.minY, 0)? Isn’t overdrawRect.minY always the smaller one (as it’s an overdraw rect)? Another question would be, if I'm planning to start working on an application with complex text editing features, would you recommend using NSTextView for now and wait for further updates, or just use the TextKit 2 stack (with CALayers) like the one used in the demo? I really love TextKit 2 and so far the demo seems pretty performant. But I don't know if there is any drawbacks if I build a TextKit 2 stack on my own so I'm looking forward to your advice. Many thanks
Both targets at the same time want to use TDWUtils symbols for their own purposes The best way to handle this depends on the nature of that code. There are two factors: Is the code large? — If it is, you want to take steps to share it rather than ship two copies. What language is the code written in? — Most notably, Objective-C uses a single namespace for its classes, so you can’t load two copies of a class in the process even if you do manage to avoid linker issues. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic:
App & System Services
SubTopic:
Core OS
Tags:
There are 3 projects in a workspace. The main project and two separate projects for two static libraries. Both static libs depend on a framework, a regular framework not a XCFramework. Everything is built from scratch, I own all the source code. The code for the framework is in a swift module. I set DWARF with dSYM on all the three projects, it was DWARF only for the libs, but no luck. I can debug the source code from the main project, it works just fine. However, the two static libraries contain the majority of the functionality and I can't debug it. I was adding logs here and there but it takes a lot of time.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: