Post

Replies

Boosts

Views

Activity

Reply to Sensitive Information Disclosed on the Application Memory
that requires active cooperation on behalf of the user What happens if someone steals the phone? I'm curious as to whether the phone would need to be cracked in advance in order to dump the RAM in this way, or whether it can be done afterwards. You need to think carefully about your threat model I think the main threat model is probably "we have this list of security best practices and I'll get fired if we don't comply with them".
Topic: Privacy & Security SubTopic: General Tags:
Nov ’22
Reply to Apple on Metal and Moltenvk
MoltenVK is interesting. I've looked at it but never tried to deploy it. A few years ago, we could write code using C++ and OpenGL ES and it would run on iOS, Android, on the web (using Emscripten and WebGL), and even on desktop Linux and likely Windows. I have a largish demo that does most of that. But since then there has been some unhappy divergence: iOS has deprecated OpenGL ES and invented Metal, and the replacement of ObjC with Swift has made C++ more difficult to use; Android now has Vulkan. So it is tempting to look for tools like MoltenVK that might help to re-unify the platforms. Right now, my feeling is that the more promising technology medium-term is webgpu.h. WebGPU is a replacement for WebGL that is more "modern" like Metal and Vulkan (but is different from both), and webgpu.h is a native API for it. So you can use it, with C++, on the web (where webgpu.h is a thin wrapper over JS WebGPU), and on native platforms with a library that translates webgpu.h calls to Metal or Vulkan (e.g. Dawn). This doesn't seem to be ready to use quite yet but it's coming soon enough that it's worth considering if you're about to start on a new project. I would be interested to know if anyone here has any experience with any of these things.
Topic: Graphics & Games SubTopic: General Tags:
Nov ’22
Reply to Can we still use Objective C to create iOS App ?
Yes, you can still create and submit apps written in ObjC. For how much longer this will be true is unknown. My guess is that updates to existing apps will continue to be accepted for a good long time. It's possible that new apps may be refused sooner. Of more concern, some new iOS features may have Swift-only APIs. And of course there may be ObjC-only bugs that don't get fixed. Why do you want to do this?
Nov ’22
Reply to Can we still use Objective C to create iOS App ?
I recommend that you watch WWDC 2022 Session 102 Platforms State of the Union, and specifically Josh’s section starting at 3:43. From the transcript (with my emphasis): Josh Shaffer: A great developer platform provides tight integration between programming language, frameworks and tools. When all three fully complement one another, we can ensure that common things are easy, and even uncommon things are possible. Now, getting that right shortens the path to building a great app, and it benefits everyone. Customers get a consistent experience, like scrolling that always feels perfect. And you're able to focus your time and effort on what makes your app unique. But designs evolve, hardware advances, and what was once cutting edge becomes the expected baseline. The Objective-C language, AppKit & UIKit frameworks, and Interface Builder have empowered generations of developers. These technologies were built for each other, and will continue to serve us well for a long time to come, but over time new abstractions become necessary. For a while now, you've seen us hard at work defining the next generation of integrated language, frameworks, and tools: Swift, SwiftUI, and Xcode Previews. Tight integration in a development platform like this requires that all three pieces be designed and evolved together, both driving and driven by one another. Swift result builders were inspired by SwiftUI's compositional structure. SwiftUI's declarative views were enabled by Swift value types. And Xcode Previews was specifically designed for, and enabled by, both. Now, the result is the best development platform that we have ever built. And this year, Swift, SwiftUI, and Xcode all have fantastic updates that take this vision further, and make it even easier for you to build great apps for all of our platforms. And it all starts with Swift. Now Ben from the Swift team is gonna tell you all about what's next. Is the "long time to come" quote what you're referring to?
Nov ’22
Reply to Why was my post removed?
I've also had posts that I thought were innocuous removed by Apple. No this is not a spam filter. And unlike other forums, here they just vanish rather than leaving a "this post has been removed by a moderator" message. Edited to remove "though not recently", as I see that one of my replies in the same thread has also just been removed!
Nov ’22
Reply to Why was my post removed?
Dear "App Store Connect Engineer", in the thread Scott has linked to, I posted a message referring to an episode in the past which maybe Apple finds embarrassing and want the world to forget about. Or, maybe whoever deleted my post thought it couldn't possibly be true because it has been erased from Apple's internal corporate memory. Presumably you will now delete this post too! Feel free, I don't care.
Nov ’22
Reply to SKReceiptRefreshRequest causing App Store Review to be rejected
If I understand correctly, you are calling SKReceiptRefreshRequest on startup if there is no receipt present - correct? Why do you do that? If you have IAPs, and you want to be sure that previously-purchased IAPs are correctly enabled in the app, then you just need a prominent "restore purchases" button that calls ReceiptRefresh when pressed. The app should wait for the user to press the button. If your concern is to prevent pirated copies of your app from running on hacked devices where a (valid) receipt is not present - sorry, you can't do that in this way.
Nov ’22