I am having trouble setting up my cellForRowAtIndexPath with Sections. If I were to just show all "tracks" without separations of sections by "topics" then it works fine.
Track *aTrack = [appDelegate.tracks objectAtIndex:row];
cell.textLabel.text = aTrack.track_title;
I have already set up my numberOfSectionsInTableView, numberOfRowsI...
Hi All,
I have never played with audios and videos in iPhone.
My requirement is :
1.When user selects from the list of podcasts(which I get from the server),I want to play an audio(mp3 file).I have the url for that mp3 file.He should have the controls for playing and pausing the audio(and other normal controls).
2.When user selects fr...
I'm using the code below to populate an array from my ManagedObjectContext, but what I would like to do is to fetch only the unique ID numbers of each row matching my query (itemType = 1) and populate the fetchResults array with only these unique ID numbers. Is that possible?
Any help is appreciated.
lq
NSFetchRequest *request = [[NSFe...
Heres the code I'm using, see my error afterwards
@interface MyAppDelegate : NSObject {
NSString *userName;
}
@property (nonatomic, retain) NSString *userName;
...
@end
and in the .M file for the App Delegate you would write:
@implementation MyAppDelegate
@synthesize userName;
...
@end
Then, whenever you want to fetch or write u...
First of all, I am far from an XCode guru and pretty much a newbie with it. The simplest thing have been bugging our team for quite sometime:
Whenever I had a new file to the project and select "Relative to Project" or "Relative to Enclosing Group" I will always get a semi-relative path. I get something in the line of:
../../../../../T...
I took the time to set up some Unit Tests and set up the targets in XCode, etc., and they're pretty useful for a few classes. However:
I want to test small UI pieces for which I don't want to launch the entire application. There is no concept of pass/fail: I need to "see" the pieces, and I can make dummy instances of all the relevant cl...
After I use Build and Archive to produce an Ad Hoc Distribution build, the Organizer appears. When I select the build, and press Share Application, the dialog pops up, but thereafter none of the buttons work. I can't Distribute For Enterprise, Save To Disk or Email. I press the buttons and they just pop right back up.
There are no error...
Hi,
We upgraded to Xcode 3.2.4 with iOS 4.1 SDK, now our tests are failing.
First because of this An internal error occurred when handling command output: -[XCBuildLogCommandInvocationSectionRecorder endMarker]: unrecognized selector sent to instance 0x201aa7200 then we used the patch suggested by apple forums (http://gist.github.com/...
Hi!
i'm developing iPhone apps. Yesterday i updated leopard to snow leopard. Alongside i made the jump from XCode 3.1.4 to 3.2.4
I was always quite happy with XCode - working most of the time under windows, I really appreciate how well the XCode toolchain works together.
however - i'm not happy with 3.2.4 at all. i experience a lot of...
I'm working on some iPhone apps that communicate with an HTTP-based API server (which happens to be Rails, but that's irrelevant here), and oftentimes I've been bitten by the IP (un)reachability from the iPhone device to my MacBook Pro - the iPhone device must hit the URLs on the MBP.
Right now, I have something like this in Config.h:
...
i ever use TortoiseSVN it can merge but it dont have client on MAC
...
I need to show a date in a certain format on screen, but I need to store the date as a string in another format. I think this means I have to convert it to a date and back to a string.
How do i do this ?
I have already figured out how to convert my string to a date, however build analyser gives me a warning.
I want to convert the stri...
Hi, I am very new to developing apps on the Iphone (In-fact I am new to application development all together). I would like to know what the feasibility for an idea for a app on the iphone is.
1)The application would allow users to download content (audio or if possible video files) onto the device.
2)Each of these files will need to be...
Does anyone know how to display more than one location on a map Using Database?
I am trying to drop Multiple Pins on google Map with the help of database but just able to drop last pin
...
I am working on an app that runs in the background with the backgroundmode set to location. In the didUpdateToLocation: method, I want to generate local notification. I want the app to show the notification only when previous notification has been viewed. Another option is to show only the latest notification and dismiss all the previous...
Hi
I'm working a bit with local notifications for the iPhone. All well so far and I'm just seeking confirmation about the cancelAllLocalNotifications.
Would it be correct that firing off a cancelAllLocalNotifications would cancel all SCHEDULED notifications ONLY FOR THIS APP?
E.g other (non scheduled) notifications in this app would ...
Hi, I want to save some images in my server to the iPhone app temporarly.It is one of my applications purpose when the user closes the app the saved images should be deleted.Again when the user starts my application and taps on corresponding button again i need to save the data.I donno how to start it.I know only we can do this with the ...
Hello folks,
I've just discovered, via the Objective Flickr API, that you can add projects into xcode as secondary libraries for your own project. It's very nifty, and it's finally let me get on top of the Flickr stuff I wanted to do.
Problemo! I need to bung this stuff into version control. Presumably the .proj file is what keeps a re...
Hi guys,
I have a "again" ;-) a problem i can't solve.
My app launches on a tableView.
When i select a cell, i go to the "detailView".
On this view i add two buttons on the toolbar this way :
UIToolbar* tools = [[UIToolbar alloc] initWithFrame:CGRectMake(0, 0, 115, 44.01)];
// tab where buttons are stored
NSMutableArray* buttons = ...
Hello. I have some code which has a memory leak. It's in development still so this is expected to happen but I can't find where the memory leak occurs. I try using the leaks tool and it shows an allocation like this (The 1.17MB steadily increases through the program):
Category: Malloc 1.17MB
Live/Overall Bytes: 1.17MB
Obviously for on...