As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
While creating an IPhone application I always care about techniques which greatly effect working of an application on one side and understanding of code on the other. For instance, I prefer creating Singleton to manage data, which separates Data from View. Similarly, use of Asynchronous images and memory management are few techniques which I always use whenever I work with some web service or any database.
What I believe is, there are a lot many effective programing techniques which programmers follow to make their application best presented before the client.
Which techniques I should keep in perspective while creating an IPhone application which makes use of web data or local data? Are their concepts similar to Singleton which I should consider using in my application?
Thanks for letting out few of your secrets :)
I would like to add about the delegate pattern here. Its very helpful when you are waiting for async notifications.
A personal favourite of mine is to control and display gracefully any errors that occur in serving web data. For example if an application uses Async image loading (as you said) have a time out with an Image failed to load picture.
This presents a much nicer interface than a spinning wheel and lets the user know that its not working without them waiting for ages for something to happen.
If you want you can add a try again button to the image placeholder as well.
Related
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I have several iPhone/iPad apps on the App Store. I would like to add snippets of code in my apps that will identify user behavior. For example what features in the app are used the most or the least. Does anybody have a good idea on how to implement this kind of features in my app.
Integrate http://www.flurry.com into your app and set custom events for all of the parts of the app you want to know about. The report will give you a usage amount per session and you can directly identify what is being used.
Use event tracking in Google Analytics.
For each user event you want to track, you would do something like this:
[tracker trackEventWithCategory:#"uiAction"
withAction:#"buttonPress"
withLabel:buttonName
withValue:[NSNumber numberWithInt:100]];
That way you can generate reports in analytics to see what is being used. See their event tracking docs for more details
I use Flurry for all my apps and it works wonderfully. All kinds of helpful (for the right person) data. You can submit Events, like "User won level 608", and attach data in the form of a dictionary to them.
End result: I recommend Flurry.
www.flurry.com
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I am making an app for showing an image gallery in iOS, and I came across two samples.
I want to know the differences between Three20 and EGOPhotoViewer. I mean both apps are developed by same developer (enormego).
Is it safe to use them for the app store, I mean it may not get rejected, and compatibility with iOS6?
Is there any advantage of using EGOPhotoViewer over Three20?
Is it worth to stick to Three20 for any important feature of cache, thread, etc.
In code both almost use the same classes and function with different names.
I would recommend against Three20 for 1 reason and 1 reason only: Three20 code is a bit messy and generally there are a lot of interdependencies with other Three20 classes, ones you might not need. It's sucks to include the whole Three20 library in your project just to use the photo browser. I'd like to keep things as simple as possible.
I've used the EGOPhotoViewer one in the past and while it generally worked fine, I did have some minor issues with it, which I sadly can't remember. Eventually I found a replacement in MWPhotoBrowser, so you might consider that one as well.
https://github.com/mwaterfall/MWPhotoBrowser
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I'm planning to do my first facebook-app.
The core of the app would be to choose certain photos from your profile and show them to others users (of the same app). My background is more on the C++ side and low-level programming.
I want to know your suggestions for the following:
1- Which hosting do you suggest? I have read about google-app-engine and Heroku, however I am not sure which one fits best for a free plan until it grows to a significant number of users.
Heroku seems great for a beginner since they give you a sample code, but I am not sure about their databases and their scalability while being free. From here I understand that I have only 5 mb of databases for free which seems too little... right?.
And one more thing: I'm assuming is possible to show photos from others users directly from facebook without hosting it
2- Which framework and language do you suggest given the core of my app? It is not a sophisticated app, so I want to do it as fast as I can without many technical troubles.
Thanks in advance
I think Heroku is good choice for you. http://devcenter.heroku.com/articles/facebook
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I develop applications on both IPhone and Android. As a part of my organization's Technical Session program I have myself delivering the next session on iPhone or Android. Getting the session made me start comparing both technologies, which believe me, is really a tough job. As a programmer in both technologies I often think how will the Application seem to be if I used the other one. Which further makes me list out pros and cons of both.
Android ahead of iPhone:
There are couple of factors where Android steps ahead of iPhone.
Multiple apps at same time
Information visible on home screen
Better notifications
Hardware flexibility
iPhone ahead of Android:
Following are the factors:
UI Smoothness and Consistency
Language support
Accessibility options
Battery life
Resource efficiency
Hardware quality
Better App Store
However, as a programmer, I want my session to be more of technical rather than a being a general overview of both technologies. For which I need some help. For instance Android's memory management is way ahead of that of iPhone's. On the other hand IPhone's UI has no comparison at all.
What more (technical) points can I include in my session? Also, kindly correct me if I am wrong somewhere above.
As far as the UI goes. I'm interested (as a programmer) to understand why exactly you consider iOS to be superior because in android the layouts that can be used are ever expanding and can be customized from the ground up where as in iPhone if you step outside of Apples box you get booted from the app store.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I have come across a fair bit of information on CI being a really flexible framework. Does Yii also allow great flexibility? And the ability to pick and choose when to use it or your own php?
Flexibility is very subjective, so this question is a bit vague.
From my experience I can tell you that Yii is very very powerful, but in most cases when you want to go into really advanced territory you have to do things "Yii's way". If you do, you will find that the pieces of the puzzle click together really well and things go smoothly. If you don't (because presumably you haven't realized yet what "Yii's way" is), it's going to give you a hard time.
I am using YII since 2 years. I use it with combination with Zend AMF and create backend systems for Flash campaigns, create HTML5 webpages, simple pages, different competition pages and and find it usable for every case you need. The main advantage that it is really structured, logical and fast. So because of that I am spending my time on creating application logic, not on setting up environment, setting up all requests, pages, subpages etc., MVC model + ActiveRecord saves my time here.
I have been using Yii for a year now and find it very flexible. You can add your own methods to any model or write components outside models. You need to be familiar with the MVC structure, Object-oriented programming and for writing components, you need to know how to register the component in the config file and how to call it the Yii way.