I would like to have layers of buttons over video playing in the background on my IPHONE application. Basically, I'm looking to adjust the Movie Player code, in order to allow the application user to tap on different portions of the screen while a video plays and call other commands (for example a video of puppets talking, if you touch o...
I've got about 5000-7000 objects in my core data store that I want to display in a table view. I'm using a fetched results controller and I haven't got any predicates on the fetch. Just a sort on an integer field. The object consists of a few ints and a few strings that hold about 10 to 50 chars in. My problem is that it's taking a good ...
So I'm trying to use a UITableViewController (let's call it homeView) in my iPhone application to display a simple table with only a few rows of text which are loaded from an NSArray in the controller. I want to display the table in the grouped style in a subview of a subview (let's call it subSubView) of my main controller. When I try t...
OK, I'm still brand new to iPhone development. I have a free game on the app store, Winner Pong, but it's just a Pong clone (who would've guessed) that uses the standard UIImageViews for the sprites. Now I want to do something a little more complicated, and port my game for the Xbox 360, Trippin Alien, to the iPhone. I obviously can't ke...
i have the following code which is suppose to be pulling image from documents folder, but yet nothing appear when i compile and run without error..help plz!!
NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
NSString *documentsDirectory = [paths objectAtIndex:0];
NSString *path = [docume...
I am doing iphone web development and I've noticed that: gesture events can also be touch events, which means a touch event handler also fires up when there is a gesture event.
Any way that I can add specific event handler to gesture (not touch)? Or how can I know if this is a pure touch event or a pure gesture event?
...
Hi,
I am new in iPhone development.I need to store a set of scores in integer (array of scores) for a player.How can i store an array in a single column.I am using sqlite database.
Thanks in advance
...
Hi everyone
How can I apply a timer count down in Cocos2D and the score counter that both will be display on the screen?
I am still new to this
Please help me out
Thanks a lot
...
To reproduce the problem:
Download Apple's sample project GLGravity:
http://developer.apple.com/iphone/library/samplecode/GLGravity/index.html
"Build and Go" on a device.
Observe how smooth it is. Then, touch anywhere on the screen. Observe how jerky and slow it becomes. Eventually, it becomes unresponsive.
Why? And how would you...
I have this line (see picture) in my instruments while analyzing objects allocation.
The line says 1.17 Gbytes of overall bytes??? what does it means? Should I worry?
...
i have a login page as my first view and on submit i need to switch to a navigationviewcontroller as my second view (tableview).i dont want to create a navigation controller from the first view plz help me...
...
I've taken the Seismc XMl example and adjusted it to my needs, I've
added a tab bar controller with multiple tabs each with a TableView,
so far so good, I now want to filter the main TableView, so that
different info appears in each of the TableViews based on category.
I've created a class for each filter "type" in the app delegate, and...
hi,
i am using following code to get months correctly....it returns correct data..but it gives
2 months when i get from two dates...suppose if i give two dates like janauary to march,
it will give 2 months...how can i change to no of days exactly(included feb)...
NSCalendar *sysCalendar = [NSCalendar currentCalendar];
unsigned int uni...
Inside of a UIViewController, I am executing the following:
TVController* stopTimes = [ [ TVController alloc ] initWithStyle: UITableViewStyleGrouped ];
stopTimes.tableView.frame = CGRectMake( 0, 180, 320, 280 );
stopTimes.tableView.backgroundColor = [ UIColor whiteColor ];
stopTimes.theID = stopID;
[ self.view addSubview: stopTimes.ta...
Hi.
I'm new to Objective C, and to the iPhone and Mac development environments in general. I like the object model - it takes me back about 20 years to when I first started OO programming in the way that the object methodologies are implemented. Much of the basics seem to have been lost in the ensuing years, and to some extent, this is ...
Hi,
I have a music file which runs in the background(non-stop) when my app is running. This is my requirement. But when my app is running, screen goes off as per auto lock time set, music is topped. And then again when switch on the screen, my application is coming there but music is not starting. Is it a known bug? (or) How to get scre...
Hi all, preemptive sorry for the newbie question.
I'm trying to load strings from a resource file in an iPhone project (XCode, Objective C++). I've created a file called s.strings with the following content:
/*
s.strings
Created by Seva on 11/22/09.
*/
"a"="b"
The file is in UTF-16, it's in the Resources folder in the project,...
I created a method to return the name of an entry in the address book when given an id
+ (id) nameWithRecordID: (ABRecordID) recordID
{
ABAddressBookRef addressBook = ABAddressBookCreate();
ABRecordRef contactrec = ABAddressBookGetPersonWithRecordID(addressBook, recordID);
.....read the name out
CF...
I'm having some problems with SMS alerts and call notification freezing up the video player. I'm currently displaying a video using MPMoviePlayerController with movieControl Hidden. I'm also overlaying a subtitle using UITextView on top of the video.
However whenever a SMS alert popup, the video will freeze up but the textView will con...
I want to find, and list name of an available wifi connections in tableview...Reachability code can determine whether the wifi connection is available or not... I want to find names also
Can any one help me?
thanks in advance.......
...