I play with XCode7 beta trying to test the shiny new Content Blocking Extension . The example class accepts the same NSExtensionRequestHandling protocol as an extension (already known) of the sharing extension. The significant difference from the Shareing extension is that the class is a simple subclass of NSObject . and not *ViewController , because, as you know, the Blocker Extension should not show any feedback on the interface, this is at least my understanding. In any case, the decisive method beginRequestWithExtensionContext , which should be served The declaration of a JSON blocker at the extension point does not receive a TRUEPREDICATE extension has TRUEPREDICATE as its NSExtensionActivationRule , and Safari confirms the existence of my host application in the new Safari configuration “Content Blockers.” But there is still no cigar.
Does anyone know if he even suggested that he was already working at the beginning of beta testing or was it just a press release?
And, oh, while we're on it, is there any documentation for this declarative JSON format, or is it just my Google-Fu that I failed? :)
source share