Tag Info

New answers tagged

-2

While you are developing framework or implementing a module which is to be used by ohters then it is a good practice to add prefix to the class names and protocols. You can check google's objective C code style guide and navigate to the Class names http://google-styleguide.googlecode.com/svn/trunk/objcguide.xml?showone=Class_Names#Class_Names for further ...


0

On file size You need to deal with the vast array of issues that come from the sheer size of images - whether compressed or not, images range from hundreds of KBs and up - which is tens to hundreds times larger than the typical amount of data your frontend/backend handles per operation. Therefore, the first strategy is to focus on reducing the image size. ...


-1

I would only sync the URLs to the images stored on the server, not the complete image as BLOB. So the sync is fast and the images must be loaded 'on time' when they are used/displayed. Edit: I saw, that your first solution was something like that. So sorry, no news for you, but I still think lazy image loading should solve the problem...


1

You have to mock or emulate, and you have two very good reasons to do so. First of all, you have to mock or emulate whatever parts of the system your code interacts with, precisely because you don't want to alter the system, and you don't want your tests to depend on something as uncontrollable as the system. Yes, your emulation will not be perfect; yes, ...


2

I would highly recommend CoreData over an ad hoc solution. 1) It's faster than loading and parsing raw NSData every time you need information. CoreData does some caching implicitly and you only have to store the information that's relevant to you (thus smaller file size too). 2) It is a core framework so there is a tremendous amount of support available ...


0

Other users have suggested APNS but you should be aware that if you late r decide to port your application to Android and/or Windows Phone, this will be harder to achieve if you are tied to a platform-specific push API. There are several alternatives that are suitable for use on all 3 platforms listed in this stack overflow question: ...



Top 50 recent answers are included