Is there a way to have multiple loop variables in a for statement? Here would be a hypothetical representation of what I'm talking about:
for (NSString *foo in bar;
NSString *bob in example) {}
If not what is a good way to accomplish this?
Thanks,
Kolin
...
What are the major factors that might cause an application to consume more battery power?
As an iPhone app developer, what best practices can I apply to minimize battery use?
...
Hi, everyone,
If any buddy have any sample project based on augumented reality in iphone through GP's then plz send me the link of that project.. thnks
...
I want to detect not the pitch, but the pitch class of a sung note.
So, whether it is C4 or C5 is not important: they must both be detected as C.
Imagine the 12 semitones arranged on a clock face, with the needle pointing to the pitch class. That's what I'm after! ideally I would like to be able to tell whether the sung note is s...
I'm writing an iPhone app, and I want to handle multitouches. I'm using cocos2d libs. So I've made a CCLayer subclass and set it to be a CCStandartTouchDelegate. For some reason I don't want to use UIGestureRecognizer and to build a correct logic I should know the answers for these questions:
If I tap the screen with one finger, and th...
Can anyone give me good tutorial about web service?
i find below tutorial with example but doesn't work
1
2
3
for example if i want to show weather in my app should i get data from specific web site or i can get data from yahoo or other site about weather
...
I am an iOS developer and I found a great library that handles all kinds of astronomy related calculations for me. The problem is that it's written in Java. Although I have enough experience with languages close to Java, I can't run Java on iOS.
I'd like to port it, but being that I've never ported anything before. Like I said, I don't ...
For some reason, whenever I try to codesign in xcode, I am getting this error
(path to app): The operation was cancelled by the user.
Command /usr/bin/codesign failed with exit code 1
...
removeFromSuperview not working Properly?
I added one button over another button.
When i try to remove the latter button from the view using removeFromSuperview function call , it does not worked.
...
Hello all!
I got an schedule in an plist-file, reading the events (read: times) is not the problem.
The problem is comparing the events with the current time.
I am somewhat new to iPhone-development so it might be an easy answer for this but here it goes:
scheduleTime isEqualToString currentTime - well that does the trick almost...
What ...
How can i remove an ImageView added on a dynamically created UIView, so that i can add another ImageView on my UIView.
...
Hello all, this is probably a long shot
I am looking for an example / tutorial of how to render a floor (or room) and move around it. There seems to be the perfect example here:
http://www.cocoachina.com/wiki/index.php?title=OpenGL_ES_13_-_Moving_in_3D
However the download (which is required) is missing.
Does anyone have any code sam...
Hi folks,
accordingly to some UIColor values from within a scroll views context I want to change the pixels rgb values for several UIImages I want to overlay afterwards.
At least I have 4 images I'd like to overlay, a background image which is static and 3 layer images whose pixels information I'd like to change before overlaying all tog...
I created a custom AQGridViewCell.
By using UIImageView everything works. The image appears and is clickable, but when I change the UIImageView to TTImageView I can't click on the image.
The same example as here below by just changing the imageview to UIImageView and the the setter message to an image, everything works as expected.
H...
hi all...
i want to know the range of frequency that the iphone's microphone can listen
and can we play the least frequency sound recorded by iphone's microphone..
how to record a sound(any sound or voice) through iphone's microphone and how to save that..?
Thanks
...
hey guys,
i wonder if it's possible to view my local test-environment set up with mamp on my iphone?
e.g. i'm using mamp-pro and i set up a domain http://mydomain.com which shows /htdocs/mydomain.com in my browser.
is there an easy way to view that page on my iphone as well.
my iphone is in the same network - just my home network wher...
I have a data model which is similar to this:
(in another project)
________________________________ _______________________
| | | |
| Graph | | DetailedGraph |
| GraphListener lstnr ...
Hey everyone,
I am encountering an issue while posting a variable with Xcode:
While running this code the app crashes while posting the variable to a webservice:
NSArray *array = [stringFromFile componentsSeparatedByString: @","];
NSString *time = [array objectAtIndex:1];
UTCorLocal = time;
NSLog(@"%@", UTCorLocal);
UTCorLocal varia...
Essentially, I currently have an iPhone app that can query and parse an XML file on my server. Right now, I currently have to manually update and upload my XML file every morning so my users can have the updated information. I would like to automate this process, which would essentially entail parsing various websites (NYTimes, iAmBored....
I want to check the dates on files -- zip, jpg, or whatever -- on my server and, if they are newer than the copies on my iPhone, to download them.
I wrote the following method based on a post here that's about a year old. It has two problems:
+ (NSString *) f_GetServerFileDate:(NSString *)MyURL {
NSURL *oURL = [NSURL URLWithString:...