This has been bugging me for hours now and i have not been able to figure it out.
I am importing data into a tableview using core data and NSMutableArray. As shown below.
CORE DATA ARRAY
NSMutableArray *mutableFetchResults = [CoreDataHelper getObjectsFromContext:@"Spot" :@"Name" :YES :managedObjectContext];
self.entityArray = mutable...
Hello,
Can anyone explain me how can I detect a selection in a table view Header view like in tableView:didSelectRowAtIndexPath: ? It would be very useful for me. I've defined the header as UITableCellView so I could attach a UISwitch as an accessory view, and it worked great but now I can't detect the changes made in the switch. Any su...
I have been going through and re-creating Apple's "Advanced Table View Cells" example to better understand everything. I have done everything, but somehow missed one detail and I can't figure it out.
If you launch their example (http://developer.apple.com/iphone/library/samplecode/AdvancedTableViewCells/Introduction/Intro.html) and ope...
I have 20 images and some audio. I would like to show a single image at a time and change the images at (unequal) intervals. For example, I want to show image 1 for 1.44 seconds and image 2 for 1.67 seconds and so on. Can someone suggest how to go about doing this please? What I have seen are examples that show how to setup an array ...
I have a NSTableView that is displaying an array of objects I have. For each of these objects (rows) I would like to change the color of the text displayed depending on the results of a function I run on each object;
So for example all the object in the table that exist in another list (or some other requirement) I want to display them ...
i want to send request on Https so do i need to install the SSL certificate as the steps are given for apple push notification
please help me i am new and i have never worked on OpenSSL
...
Hey guys I am using http://th30z.netsons.org/2008/11/objective-c-sqlite-wrapper/
wrapper for my iPhone Application.
How do I close my database when applicationWillTerminate with the help of this wrapper?
Thanks in advance.
...
I am wanting to change the text background color on a tableview's cell when it is hovered upon, similar to how AddressBook "highlights" the label of a contact's element when you mouseover the label names. However I cannot figure out how to accomplish...
detecting a mouseover on a particular NSCell and...
After detecting the cell his hov...
I am new to Cocos2d. I have taken a look at the documentation at it looks pretty simple compared to what you need to do using basic Iphone classes such as UIAnimation etc.
I want to move a Sprite (eg. Bird, Plane or Car) around the center of a circle around its circumference, smoothly so that even the sprite rotates accordingly.
How i...
Hi,
I'm having a few problems with some Objective-C and would appreciate some pointers.
So I have a class MapFileGroup which has the following simple interface (There are other member variables but they aren't important):
@interface MapFileGroup : NSObject {
NSMutableArray *mapArray;
}
@property (nonatomic, retain) NSMutableArray ...
how do we get the operands after they are calculated in the textfield. I need help with the syntax!
...
I've heard that it is a bad idea to do something like this. But I am sure there is some rule of thumb which can help to get that right.
When I iterate over an NSMutableDictionary or NSMutableArray often I need to get rid of entries. Typical case: You iterate over it, and compare the entry against something. Sometimes the result is "don'...
hi........
i want to play video without storing on my iphone device. so how can i establish the connection.please help me ..what are the step to be done for playing the video..
Thanks in advance
...
I have setup a sample application using a UITableView. Initially I did this by conforming my controller to <UITableViewDelegate> and <UITableViewDataSource>, added a tableView in IB and connected "datasource" & "delegate" to Files Owner. It all works so thats good.
What I have been trying out is creating my own class for the delegate. I...
Hello,
I'm working on the app that uses CoreData. There is location entity that holds latitude and longitude values. I'd like to fetch those entities sorted by distance to the user's location.
I tried to set sort descriptor to distance formula sqrt ((x1 - x2)^2 + (y1 - y2)^2) but it fails with exception "... keypath ... not found in ent...
the iTunes song list display is a TableView that has a dotted scrollbar on the right which allows me to jump to a relative position of the list (i.e. if I click the bar at 2/3 down I am scrolled to the 66% position of the list.
I want to do the same in my UITableView, but am not sure whether this is standard functionality that I can use...
Hi
I am very new to Objective-C and was reading through memory management. I was trying to play around a bit with the NSAutoreleasePool but somehow it wont release my object.
I have a class with a setter and getter which basically sets a NSString *name. After releasing the pool I tried to NSLog the object and it still works but I guess...
Hi
I am having a problem with my tab bars at the bottom of the screen. The designer has decided it should be one colour (not black) when inactive and another colour when active. I have worked out how to replace the main colour of the tabbar by subclassing UITabBarController and doing this:-
- (void)viewDidLoad {
[super viewDidLoad]...
Using the API, trying to get items in a specific feed returns this:
{“direction”:”ltr”,”id”:”feed/http://arstechnica.com/index.rssx”,”title”:”Ars Technica”,”description”:”The Art of Technology”,”self”:[{"href":"http://www.google.com/reader/api/0/stream/contents/feed/http://arstechnica.com/index.rssx?ot\u003d1273193172856169\u0026r\u003d...
How do I know on which of the the child views an event occurred when using UIGestureRecognizers?
According to the documentation:
A gesture recognizer operates on
touches hit-tested to a specific view
and all of that view’s subviews.
As far as I can see, the 'view' property is
The view the gesture recognizer is
attached t...