Hi guys
I have the following url http://gdata.youtube.com/feeds/api/standardfeeds/recently_featured?&start-index=1&max-results=15&v=2
I am trying to load it in UIWebView and then use javascript to get its contents, and parse it with NSXMLParser.
My code looks like that:
-(void)startDownloading{
NSString *urlStr = [NSS...
This is a repost of my question over on the gamedev.stackexchange but there seems to be more Game Center questions and answers here.
I'm in the process of developing a game for the iPhone and I want to add Game Center support to it. The problem, as I see it, is that I need to have named my app, created an icon and uploaded screenshots e...
I created a new Xcode project with a view-based app template. In the .m of the view controller I overwrote this:
// The designated initializer. Override to perform setup that is required before the view is loaded.
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil {
if ((self = [super initWithNibName:ni...
If i try to create variable in case statement it gives me build erroe
Can anyone clue me in why this syntax gets me a build error ("expected expression before 'NSMutableArray'").
...
I have an iphone application developed on SDK-3.0. Now i want to port that application to SDK 4.0 because of multitasking, i want to keep my app alive in background.
Problem is that i could not find any documentation who teach me where i start from to port my app on to SDK4.0 and brief me how i do multitasking in it.
...
Hello everyone
I am using asihttprequest to connect and submit data. I use the timeout option but it is not working!
[request setTimeOutSeconds:20];
[request setDelegate:self];
[request startAsynchronous];
It continues to timeout in 10 seconds which is the default value. Anyone had the same problem?
The data i send is a stri...
Can anyone take a look a this ? : http://www.woowoomac.com/storage/awesome-note-iphone-note-todo-app-menus.jpg?__SQUARESPACE_CACHEVERSION=1268581762429
As we know iphone 4.0 does not support UIPopovers - any idea how did they manage to create a pop over like that ?
...
Hi I want to incease the size of UIPAgeControl on iOS... on google i've found this http://www.onidev.com/2009/12/02/customisable-uipagecontrol/
was wondering is there any other way....?
...
Hi, I am trying to create simple GPS application just to display simple data in simulator. I have no errors just cant obtain data. "didFailWithError" method is the only I can get to work :), this is the code:
- (void)viewDidLoad
{
[super viewDidLoad];
lm = [[CLLocationManager alloc] init];
if([CLLocationManager locationServicesEn...
Hi,
I want to implement LinkedIn and Myspace in iphone application. I mean I want to change status of both using my app. Is there any API available to access both? I tried OAuth API but its not working only working for Twitter..
Thanks,
in Advance.
...
I have used NSOperationQueue in my iPhone app before in iPhone OS 3.0, but now in iOS 4.0 the code is not working properly. It runs properly only once and on all subsequent calls, it doesnt work. Have there been changes in NSOperationQueue in iOS 4.0?
The relevant code is as follows:
- (void) starteffectFunction {
NSOpera...
Hi All,
I was wondering if anyone has tried it. I need to show a tooltip within a table view when the user selects a word in the row's text.
Can you please help me or suggest any way for this?
Thanks in advance!!!!!!
...
I've just spent a lot of time looking into the best ways to create iphone and android apps for an existing rails app that I've built and I feel that I haven't actually gotten any closer to knowing how to best achieve this.
What I want:
I would like to have the rails app and the mobile code cleanly separated. I'm not looking to just re...
Hi i have found a problem with my DataSource of my UITableView.
Each time i try to fill the NSMutableArrayData in the method "addDataSection", the whole data-Array is set to the current Names-Array.
It all seems to work, until i write the Names into the Array and invoke [Names removeAllObjects]. Even in the method "addDataSection" my Na...
I've been writing some code that replaces some existing:
while(runEventLoop){
if(select(openSockets, readFDS, writeFDS, errFDS, timeout) > 0){
// check file descriptors for activity and dispatch events based on same
}
}
socket reading code. I'd like to change this to use a GCD queue, so that I can pop events on to the queue...
I'm creating a settings screen, its a child screen and won't push to another screen. I don't want to use a table view. But I need to have the screen look like other settings screens, with the gray sort of background, like this...
...
Why does this work:
- (void)tableView: (UITableView *)tableView willDisplayCell: (UITableViewCell *)cell forRowAtIndexPath: (NSIndexPath *)indexPath {
cell.backgroundColor = [UIColor redColor];
}
but this doesn't?
- (void)tableView: (UITableView *)tableView willDisplayCell: (UITableViewCell *)cell forRowAtIndexPath: (NSIndexPath ...
I have to perform a FFT for a .wav file in an iPhone application. I have seen FFT algorithms out there, but how would I go about parsing a WAV file and using in such an algorithm?
Should I convert the WAV file to NSData or something else?
Has anyone successfully performed a FFT of a WAV file in the iPhone before? I tried to use iPhon...
HI, all, i am not sure how to write if and else condition in order to parse xml.
this is how my returned xml looks like this.
<?xml version="1.0"?>
<a><a1>A</a1></a>
<b><b1>B</b1></b>
<c><c1>C</c1></c>
<d><d1>D</d1></d>
<e><e1>E</e1></e>
<f><f1>F</f1></f>
<g><g1>G</g1></g>
i tried various condition, but i am not able to properly navig...
How can I delete a UITableView row on swipe? I know the question has been asked, but I get only errors. Here's the code:
-(void)tableView:(UITableView*)tableView willBeginEditingRowAtIndexPath:(NSIndexPath *)indexPath {
}
- (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle
forRo...