[aerogear-dev] [iOS] Comparing Blocks vs Delegate with ARGenericTableViewController

Matthias Wessendorf matzew at apache.org
Mon Jun 3 14:03:03 EDT 2013


Hi Corinne!

very nice write up!!! I think the link to  "Delegate pattern" is broken.

Regarding AGIOS-8, yes, let's go with ARGenericTableViewConroller - at
least on a branch.


We have implemented "show-cases" for other "technologies" already on
branches before.

I added Github's Mantle support here:
https://github.com/aerogear/aerogear-todo-ios/tree/mantle-AEROGEAR-635


-Matthias




On Mon, Jun 3, 2013 at 6:10 PM, Corinne Krych <corinnekrych at gmail.com>wrote:

> Hi iOS guys,
>
> Here the text [1] that goes with comparing the 2 approches with source
> code in github [2].
>
> [1] http://corinnekrych.blogspot.fr/2013/06/blocks-vs-delegate.html
> [2] https://github.com/corinnekrych/ToDoTaskList
>
> Feel free to comment on content of [1].
> Shall we go on modifying the actual TODO app to introduce new
> ARGenericTableViewConroller?
>
> thks,
> Corinne
>
>
>
> On 3 June 2013 13:03, Christos Vasilakis <cvasilak at gmail.com> wrote:
>
>> Hi
>>
>> looks great! did some commenting on my PR [1]
>>
>> Thanks
>> Christos
>>
>> [1] https://github.com/corinnekrych/ToDoTaskList/pull/1/
>>
>>
>> On May 31, 2013, at 6:57 PM, Corinne Krych <corinnekrych at gmail.com>
>> wrote:
>>
>> Hi Christos,
>>
>> Here is my repo
>> https://github.com/corinnekrych/ToDoTaskList
>>
>> I take the approach of a first sample with UITableViewController
>> implementation in WithUITable folder and than code the same sample with
>> ARGenericTableViewController class within WithARGeneric folder.
>>
>> This way we can easely compare the code with the different approaches. I
>> will send a gist shortly with comparison content.
>>
>>
>> I still have an issue in my code which I'm sure you can help me on.
>>
>> https://github.com/corinnekrych/ToDoTaskList/blob/master/WithUITable/ARTasksTODO/AGTaskViewController.m#L143
>>
>> This gives me the error at runtime:
>> 'NSInvalidArgumentException', reason: '-[__NSCFNumber isEqualToString:]:
>> unrecognized selector sent to instance 0x8e634b0'
>>
>> if instead of self.task[@"project"] I use self.task[@"description"], I'm
>> fine... What's wrong with project field?
>>
>>
>> Any idea welcome,
>> Corinne
>>
>>
>>
>>
>>
>>  _______________________________________________
>> aerogear-dev mailing list
>> aerogear-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/aerogear-dev
>>
>>
>>
>> _______________________________________________
>> aerogear-dev mailing list
>> aerogear-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/aerogear-dev
>>
>
>
> _______________________________________________
> aerogear-dev mailing list
> aerogear-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-dev
>



-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20130603/c0544314/attachment.html 


More information about the aerogear-dev mailing list