My iphone app loads slower than others that are similar [closed] - iphone

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I have a location based social networking app.
But it loads a lot slower than other similar apps.
It really slows down when loading photos.
If I send a photo in a chat window on my app and then the same photo in other similar apps My app takes 10 times longer.
But I do not know why

There's no way we can provide a specific answer without knowing specifically what your app does. Fortunately, you don't really need us to tell you why your app is slow; you only need to learn how to figure out for yourself what your app is doing.
Your first step in speeding up your app should be to profile the app using Instruments. Build your app for profiling and run it in Instruments using the Time Profiler tool. Spend some time exercising the part of your app that you want to improve, and then look at the results. You'll be able to see a breakdown of where your app spent time. This should help you understand what your app is doing, and that may help you devise a strategy for speeding up the code. Essentially, you'll want to find ways to do a lot less of whatever the app is spending the most time on. That might mean caching results instead of recomputing or refetching them. It might mean deferring some tasks until the user actually needs them. Or it might mean something else. You won't know until you understand where all that time is going.
Be sure to save the results of that first profiling session. After you make some changes that you think will improve performance, repeat the same test and compare the results to your first results. This should help you confirm that the changes you made really do impact the performance in the way that you thought they would.
Repeat the process for each area that you're concerned about.
A 10x speed differential should be pretty easy to detect. It may be that your competitors spent a lot of time profiling their apps to improve performance, so you may not match them in speed even after you've made all the improvements you can think of, but you should still be able to find some ways to increase performance significantly.

Related

Photo effects like instagram [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
In my iphone app user can take images,after taking the image how to give effects to that image like instagram
Is there any good tutorial.
One solution is to use a third party API like Aviary or the library in Rocks' answer.
If you want to write the logic yourself, you'll need to to process the images using Core Image. In addition to Apple's documentation, a good place to start is this tutorial from Ray Wenderlich's blog. Lisa Bettany also wrote a while back about how they created filters in Camera+.
Check out this tutorial from raywenderlich: beginning-core-image-in-ios-5. It is part of another tutorial on the site which tells you how-to-create-an-app-like-instagram-with-a-web-service-backend.
beginning-core-image-in-ios-5:
"Core Image is a powerful framework that lets you easily apply filters
to images, such as modifying the vibrance, hue, or exposure. It uses
the GPU (or CPU, user definable) to process the image data and is very
fast. Fast enough to do real time processing of video frames!
Core Image filters can stacked together to apply multiple effects to
an image or video frame at once. When multiple filters are stacked
together they are efficient because they create a modified single
filter that is applied to the image, instead of processing the image
through each filter, one at a time.
...
In this tutorial, you will get hands-on experience playing around with
Core Image. We’ll apply a few different filters, and you’ll see how
easy it is to apply cool effects to images in real time!"
Having read through this tutorial, you will no doubt get the result you want and learn a whole lot too!
In addition to that, this SO question has many answers - some of which may be very useful to you. This seems like a very popular task and so researching all of the many options is key. Good luck.

Grid of photos in xcode [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I lack any knowledge in xcode, cocoa touch or c+++ etc. Now, I am going to try to make a photography app, where I got a tab bar, and 4 undercategories. At the first category, I want it to be a grid of photos who can be enlarged by touching them. I really don't have time to learn more about programming for a couple of months. How is this achieved in the easiest possible way? I am currently leaning towards AQGridView, but since I have zero knowledge of the area I cannot fully understand the instructions. Now before you ask why I want to make an app without any sorts of knowledge, let me answer it. My father is a photographer, and wishes to get an app. If I manage to make one for him, I can get loads of jobs where his photographer friends pay for an app. And if I have already made it, I will probably have a template from the earlier project to take advantage from.
So, in conclusion, my question is: How do I make this possible in the easiest way possible?
Thanks.
Sounds like a great candidate for the new UICollectionViews. There are many grid frameworks out there, but if you have any experience with TableViews on iOS, CollectionViews are a breeze to get up and running quickly. One of the best resources for learning and implementing CollectionViews (outside of the API docs) can be found here:
UICollectionView custom layout tutorial

Adding multiple levels to "catapult shooting game" [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I am very new to programming and have never used cocoa touch...
I need a bit of help continuing with this tutorial http://www.raywenderlich.com/4756/how-to-make-a-catapult-shooting-game-with-cocos2d-and-box2d-part-1
I have finished with it and it all works fine, I now want to add a menu page which when the application loads it will go to, then a "start" button to start the application... and once level 1 is completed (all enemies destroyed) the next level will start.
Could anyone help me in achieving this, I will happily pay someone to just edit the code for me so I can then continue with adding the levels, I just need a base so then I can just repeat steps etc.
Many thanks,
Alex.
The problem with just working from tutorials and others' code is that you become limited to doing what others have done instead of innovating. Getting started with stuff like this can be challenging, but the best way to go about it is to try to understand it bit by bit. I'd recommend working on a simpler project first; stuff that involves physics can get gnarly. I feel your pain; sometimes I wish for nothing more than for my code to write itself and carry out my vision, but I just have to push through and keep trying to understand what I need to know to make things work. If you haven't already, you should probably look for some more basic Cocos2D tutorials to see how things work and fit together; once you've done that, figuring out a menu system should be pretty easy.

cinema App in Iphone [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 12 years ago.
M very new to this field of iphone development.I need to make one app in which customer will be Purchasing ticket for movie by selecting the Location,Movie,Timing of show and seat.
Can anyone help me out in implementing Ticket Purchasing Part.
Thanks
Although you haven't asked a specific question and you say nothing about your experience in other programming languages I can give you some hints:
Look at the WWDC videos on http://developer.apple.com
Understand the Model-View-Controller paradigm
Make sure you really understood the Model-View-Controller paradigm
Start with designing your user interface first. Take your time for this. Make mockups on paper, each sheet of paper corresponds to a screen and play with it and show it to some colleagues and watch if they get what to do on each screen. You can also do this in Photoshop or Illustrator or omnigraffle, but in the early stage maybe paper is a simple option.
Build a mockup of your app on the phone itself. Using UIImageViews you can insert the digital screens made digitally to the phone and see how it looks like. Show this version to you customers. If they like the design and feature, you can go on coding.
Code everything
If you want to write a serious application it is good to invest a lot into design. The coding itself is much easier if you know how it will look like in the end, because then you can design the underlying model such that it will be great for your UI.

How does one create an elegant iPhone GUI? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 12 years ago.
This is just one of those things where you feel like your own design is utterly terrible, and that all of the other apps have a beautiful design. This question is just about how you would go about creating a user interface that a user would actually want to use?
I work with a graphic designer, and have them mock up what a good working UI should look like, then I come back and tweak the design with what I feel I can realistically make, and hand that back to the designer and see if they think it's ok or needs more changes. I realize that as a programmer I'm too focused on how to make things work then to make them look good, and as such we typically can't create a great UI on our own. Also after mocking up the UI (usually just a few static images on screen or paper) I show it to a few friends (both programmers and non techies) and get their reaction. This step will really show you any deficiencies that your design may have.
Get your hands dirty and use lots of apps. Experience will teach you the interface cues that other developers use to make a seamless and sensible user session. Take notes on how controls transition from one context to another. Observe how controls are organized to make the optimal use of a small screen.
A good review of the iPad noted that the operating system details "fall away" and the user can just use the device through intuition. This is a good ideal to strive for.
User controls should be simple but informative, communicating enough to identify their function, but subtle enough to fall into the background when unused.
Functionality should be organized in a sensible and repeatable fashion. Use the tab and navigation stack design patterns that Apple provides to organize your app's functions.
Edward Tufte is a good source for reading material on how to communicate ideas simply and clearly.
Of course, you will also want to read Apple's own iPhone HIG which explains many of the iPhone widgets that users will use and have prior experience with.
I work with a graphic designer. I provide him specifications about what my app does and he provides a PSD with all screens.
But I have to say, that there is a lot of graphic designers, but the quality is not equal.
My preferred is http://www.sockho.com
He designed my both apps :
Check-in 360 : http://www.check-in360.com
Vegas Radio : http://www.vegasradioapp.com
Thierry