News for hackers. Stuff that matters.
Re:An iPhone lover’s confession: I switched to the Nexus 4 by masklinn on Friday January 04, 2013 @08:44AM (#5007537)
> iOS 6 already has infrastructure in place to allow for remote view controllers that (in theory) should allow any application to register itself to handle certain data and events.

For those who want more information on that, http://oleb.net/blog/2012/10/remote-view-controllers-in-ios-... (note: it's a 3-part series).

As far as I understand, it doesn't provide for an application "register[ing] itself to handler certain data and events", which would probably be an extension to UIActivityView and UIActivity[0]. Remove View Controllers provide two features of interest, one of which could work with UIActivity for sharing:

* An application or framework providing views to an other one (said view could be invoked by a UIActivity of some sort, so that the Facebook application would provide a "Share on Facebook" remote view and the corresponding activity, a sharing application would invoke the activity view, then display the correct remote view upon selection by the user)

* Isolated cross-process communication between the embedding application and the embedded view, which allows different security settings (and thus things like JIT-ed UIWebView, or more simply a twitter remote viewcontroller being able to use the data the Twitter app has access to without leaking it to third parties)

[0] http://oleb.net/blog/2012/09/the-state-of-sharing-in-ios-6/

Re:An iPhone lover’s confession: I switched to the Nexus 4 by nicholassmith on Friday January 04, 2013 @10:47AM (#5008093)
Interestingly it seems like Apple is doing something with remote view controllers with their 12 Days of Christmas app, which could imply they're trying to test it as much as possible in a live context.
Re:An iPhone lover’s confession: I switched to the Nexus 4 by masklinn on Friday January 04, 2013 @06:07PM (#5010555)
Oh? Do you have more info on that?
Re:An iPhone lover’s confession: I switched to the Nexus 4 by nicholassmith on Saturday January 05, 2013 @04:26PM (#5014122)
Unfortunately not, I'll do some digging on it tomorrow when I have time.
Re:An iPhone lover’s confession: I switched to the Nexus 4 by masklinn on Monday January 07, 2013 @07:30AM (#5020660)
I would be interested, and I'm sure others would be as well.
Re:An iPhone lover’s confession: I switched to the Nexus 4 by nicholassmith on Monday January 07, 2013 @11:37AM (#5021786)
I ended up coming down with a cold/flu bug so I was a bit useless and missed the opportunity. My quick notes on it basically go along the lines of:

- 12 Days App remains constant, no outward transition to other app, 12DA is last in tray, normal application switch over/switch back as seen with Facebook auth etc leaves app as 'used' in tray. - Remote views seem to be getting called as downloads are instantly in store apps on that device, not globally on all devices that can pull them, writing off a trick with the 'download content' settings. - Not web views as capable of accessing local stored credential for itunes account, unless apple has begun exposing that in some specific and bizarre way.

Wish I hadn't been sick, my plan was to watch the processes to see if they were running something like the mail composition one, or whether it was getting done like the Facebook one.