Post

Replies

Boosts

Views

Activity

Reply to Embedded WindowController inside XPC module
I have a somehow related question @eskimo. Im planning the plugin architecture for my app. I'd like to handle all plugin related operations (more about that below) with the XPC. Right now I'm using the XPC along with the SMLoginItemSetEnabled to launch mini-app that will display image from parent app but the plugin thing is on another level. For the plugin I have a framework (let's call it the plugin framework) with some classes that the plugin has to inherit from stuff like info about the plugin (identifier, author etc.). plugin has to return a NSWindow subclass (actually a subclass of it). plugin has to return a view that will be used as a preview in my app. Right now, I'm testing my internal plugins that I load within the app and everything works – I load the bundle, preview are interactive, everything just works. But these are my plugins. So the goal for the new "XPC app" is to act as the middleman between my app and the plugin. The XPC app can load the window provided by the plugin (and I guess I know how to do it, I just have to encode most of the types from my plugin framework) but I don't have any idea what to do about the preview. Because I'd like to load the plugin on the XPC app and then somehow pass the view with the preview to the app. Any ideas?
Mar ’22
Reply to Using MPMusicPlayerController to play stuff from MusicKit?
Thank you for the response. :) Yes, the ApplicationMusicPlayer/ObservableMusicPlayer lacks some stuff that I'd like to observe/get/set: – observe when the track changes (FB9148193), – set and observe the volume; if it has to be a dedicated view – maybe something more modern and configurable instead of MPVolumeView because it looks like it's forgotten (FB9155448), – getter for the queue – I can set the queue, but I can't observe the state of the player (what I mean by that is the user observable state, like which track is now playing etc) so I can't even rely on my copy (FB9155477)
Jun ’21
Reply to "An Issue Occurred" when adding a credit card
I was able to solve it. It was the solution provided by guys from the engineering: In the Billing page, enter the credit card information Before clicking Save, open the browser Dev Tools: Safari & Chrome: command-option-I, or, Right click, Inspect Element Click the Save button Click the Continue button when the ‘Card Authentication’ pop-up displays Click the Continue button at the bottom of your bank's detail page If a blank page appears, please: a) Right Click on the blank pop-up -> Inspect Element b) Within the iframe element, open the html element, then open the body element. c) Expand the script element, highlight the code, right-click and Copy as Text d) Within the Dev Tools Console, paste the copied text at the console prompt e) Within the pasted code, find PaRes: and change the single quotes at the start and end of the code to back tick (`). Be sure to only change these two single quotes. f) Press enter g) A response from your bank should be shown in the pop-up. GL
May ’21