[aerogear-dev] [iOS] Push SDK

Christos Vasilakis cvasilak at gmail.com
Thu Jul 18 02:54:26 EDT 2013


Hi,

On Jul 17, 2013, at 9:59 PM, Matthias Wessendorf <matzew at apache.org> wrote:

> Hi,
> 
> looking here:
> https://github.com/aerogear/aerogear-push-ios-registration/blob/master/push-sdk/AGDeviceRegistration.m#L59-L65
> 
> I am wondering if we should really throw an expensive exception (since they are pretty uncommon in iOS land).
> 
> Instead I think I'd prefer invoking the given failure callback, with a meaningful Error.

+1, since a failure block is in the signature of the method, we can use it to signify the error.

If it's ok I will go ahead and create a ticket for this.

Thanks
Christos


> 
> any thoughts?
> 
> -Matthias
> 
> -- 
> Matthias Wessendorf 
> 
> blog: http://matthiaswessendorf.wordpress.com/
> sessions: http://www.slideshare.net/mwessendorf
> twitter: http://twitter.com/mwessendorf
> _______________________________________________
> aerogear-dev mailing list
> aerogear-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20130718/caf00a33/attachment.html 


More information about the aerogear-dev mailing list