Hi all newbie in iPhone dev thanks to all :
Is there a way/ a tool to know how much memory an object uses when it is created while the app is running ? Using thé console for example.
Thanks
is there a way to view the console output as we are running an iphone App on the device?
If not directly, is there an app on the App store which lets you view the log after the App has finished running?
Hi,
I want to use a protocol, how can we implement it in iPhone.
@protocol BasicAPI
-(NSString*)hello;
@end
// In Some method
NSURL* url = [NSURL URLWithString@"http://www.caucho.com/hessian/test/basic"];
id<BasicAPI> proxy = (id<BasicApi>)[CWHessianConnection proxyWithURL:url protocol:@protocol(basicAPI)];
NSLog(@"hello: %@", [proxy hello]);
Please help me how I can implement above code?
Hello,
I have an iPhone app that loads the following URL:
http://maps.google.com?q=Apple Stores&ll=37.331689,-122.030731&z=3
As expected, the google maps app loads on the phone, but zooms to the entire US. It does not appear to be respecting the z= parameter, or at least, not allowing a zoom level that shows stores in the area.
Is there any URL from google maps, that returns me the latitude and longitude of an address.
i want to use these lat and long details in iPhone Map kit to plot some information.
I'm using following conditions in-order to make sure that the location i get has adequate accuracy, In my case kCLLocationAccuracyBest. But the problem is that i still get inaccurate location.
// Filter out nil locations
if(!newLocation)
return;
// Make sure that the location returned has the desired accuracy
if(newLocation.horizontalAccuracy < manager.desiredAccuracy)
return;
// Filter out points that are out of order
if([newLocation.timestamp timeIntervalSinceDate:oldLocation.timestamp] < 0)
return;
// Filter out points created before the manager was initialized
NSTimeInterval secondsSinceManagerStarted = [newLocation.timestamp timeIntervalSinceDate:locationManagerStartDate];
if(secondsSinceManagerStarted < 0)
return;
// Also, make sure that the cached location was not returned by the CLLocationManager (it's current) - Check for 5 seconds difference
if([newLocation.timestamp timeIntervalSinceReferenceDate] < [[NSDate date] timeIntervalSinceReferenceDate] - 5)
return;
When i activate the GPS, i get inaccurate results before i actually get an accurate result. What methods do you use to get accurate/precise location information?
Hi all,
I have no experience with imageMagick, it is a very powerfull library.
One question.
How can i convert the command line example that uses command line "Convert" command to the iphone version ?
I mean, i do not know what command to use instead of convert command
Thanks to all
Hi,
I have a file with Chinese text that I want to use in my xcode project (I'm planning to load it through a database as it is lot of text), the problem is I dont know how to add the font to my project so that its viewable when used on an iPhone?
Thanks :)
Sometimes when i try to "build"/compile a downloaded source, i get following warning:
ld: warning: directory '/Volumes/Skiiing2/CD/ViewBased/Unknown Path/System/Library/Frameworks' following -F not found
Has anyone else seen this issue?
Which parts must I redo after renewing my iPhone Dev Program account?
My devices tell me that my provisioning profiles are out of date. So now I must go there and do the entire stuff again? Also that certificate in the key chain?
Hey,
does anybody know, how i could create automatically a UML class diagram from an already existent iphone project. Is it possible?
Thanks in advance.
Hi,
I need to capture a image in a motion.Can I use video mode in iphone so that i can capture the image.
If it can happen Please let me know the class that need to be used.
Thanks,
Kishore
I heard in this TUAW Article that iPhone apps should stop using the Documents folder to store files. Instead they should use the library folder. How do you access the Library folder to store files to it?
Thanks in advance!
Hey Guys
Im thinking about making a suggestion box for my next iPhone app.
Whats the best way to go about this? I was thinking an ModalViewController, a text box that emails out?
Are there any other(better ways) to do it?
Any expertise would be appreciated
Cheers
Sam
Hi,
I would like to know which type of persistent store would be most appropriate in what situations,
Like how can I decide where to use core data, property list or archives for my iphone application.
Thanks
hi friends,
I am making an iphone game , In that I want to upload score on face book. I am new to face book codes, I've got it's API from github.com. But I don't know how to write or post directly my message on wall of face book of log in account. I've done log in portion.
Can any one help me????
Hi,
I am wondering if anyone can advise on the best way to add a FAQ page in iphone app. I would like to display a 'local' file (perhaps HTML) with local images into a web view. Essentialy to enable users access to FAQ within the app.
Any advice on whether to use HTML or any other way of doing this will be very helpful..
Thanks in advance..
mb
Writing an app that will include the ability to decompress zip and rar files. I think I'm OK on how to handle the .zips but .rars seem a little more trouble. I noticed that rarlabs has source available but it's C++. Is there a way to compile, wrap or otherwise use this code within an iPhone app?
Reference: http://www.rarlab.com/rar_add.htm
Open to alternate suggestions on how to handle .rar files as well.
I'm still pretty much a newbie so please explain in small words :)
I'm wondering what's the easiest/best way to determine if a sound, being recorded on the iPhone mic, is above a certain frequency.
My guess is that I would need to use the Audio Queue Services since I don't need to record the audio to a file.
I'm using SDK 4.0, so I can use the FFT functions in the Accelerate framework if needed.
hello everyone i am a new bee in iphone i have 7 to 8 webservices in my project i want to call and parse thoes 7 to 8 webservice on a single button clicked event please guide me how can i do that a sample code would be a boost to me
This is for iPhone Developers. What would be the code for an event handler? For my project I want it so that on collision display an animation for 3 seconds....How would I go around doing this?
Hi All,
Below is the link for making the cover flow model in iphone. This is a sample tutorial.
http://www.chaosinmotion.com/flowcover.m
Can any one tell me how can i make the cover flow model to adjust some where up on the screen. Currently it is in the centre of the screen i want if about 70 to 80pixels to move up in the screen.
Your help will be highly appreciated.
How hard would it be to port a flash game to the iPhone. Obviously Flash CS5 is no longer an options, I still would like to know if there's anything that can be reused? or do I have to write everything from scratch (Is Obj-C that different than ActionScript?) Is there any other shortcuts?
Also, if anyone has done this before please share your experience.
Can you create iPhone daemon threads programmatically?
I want to use a daemon in my application that runs in a background process and which runs a NSTimer that triggers a location lookup of latitude and longitude.