Posts by rtiago42 • 201 points
3 posts
-
1
votes1
answer72
viewsA: Filter with Nspredicate with inheritance
I suggest using the block system: NSPredicate *predicate = [NSPredicate predicateWithBlock:^BOOL(id evaluatedObject, NSDictionary *bindings) { Cliente *cliente = evaluatedObject; PessoaFisica…
-
2
votes2
answers272
viewsA: Testing of asynchronous requests
That solution not the best. Although in your case, where only you are running tests, serve. I took the initiative to interpret the question as a question of general competition, where one thread has…
-
4
votes3
answers208
viewsA: Composition: use @class or #import?
Here is a summary answer (not 100% correct). This subject is quite extensive to explain in a post, if you are not satisfied you will need to research to deepen the issue. I just want to give you a…