Hello all,
I need some help with GUI Iphone development
I am currently develop iphone application and finish with the logic side of the app.
now i am trying to handle the GUI side but i cant understand few things.
i need to represent list of shops that each shop will display on row and for each row i need button that can be ON or OFF (v...
I'm looking to build some customs controls for video playback. I've had a look at the documentation and it looks like implementing MPMediaPlayback will do the trick.
Does anyone have an example of this or am I barking up the wrong tree...
Cheers
Niall
...
So Instruments tells me I have three memory leaks originating in this method (specifically, it points out the line:
[self.view addSubview:menuBar.view];
I can't see a leak and am racking my brains. I'm keeping a reference to the menuBar object and am releasing it. Anyone smarter than me that can explain? Is it a coincidence that I have ...
Never thought I'd get an error in this file when I compiled, but after running my app in debug mode, The app stops and highlights the line
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
in my main.m file as a breakpoint. When I run in normal mode, the app just shows a black screen. What does this mean?
(Update)
Okay,...
Hello, I was wondering if anyone had some code, or knew of a place that has code for creating a double handled slider. (EX. Kayak application filter results time, has a slider with thumbs on both ends to create a range.) I am looking to do something similar using a double slider to search for a range of ages on a person array.
Any help...
Hi,
I have been trying to design the Undo/Redo functionality in one of my app using NSUndoManager class and seeing some design difficulties.
In my app, I just have one method
-(IBAction) addLastBall:(Ball *)ball
So, when a user chooses a button in the UI, I add a ball object to my array list. However, I don't have any action button to...
My iphone app doesn't run well on the iPhone 3G. Can I make it so users with these models can't download the app? If so, what does a 3G user see when they search for my app in the app store?
Does it appear in the store at all for them? If it does, when are they notified that they can't download the app?
...
Hi, i need to set an image to my UITableviewcontroller; if i have just one section on the tableview works fine with:
self.tableView.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"someImage.jpeg"]];
but if there are 2 section on tableview the image comes duplicate for each section.
Some idea?
Thanks in advance...
I have the following code where I display a view controller within a navigation controller.
Just for the test I display it for 3 seconds and then dismiss it.
What is happening is that it disappearing - and then reappearing after a second or so.
What am I doign wrong?
- (void) test
{
[myNavCtrl dismissModalViewControllerAnimated:YES]...
Hi all,
I've any problems for app I'm developing...
I'm using Core Data and I just write initial code...
But one of my problem is: Core Data won't load data stored in persistent store...
This is my code!
MyWishesAppDelegate.h
#import UIKit/UIKit.h
#import CoreData/CoreData.h
@interface MyWishesAppDelegate : NSObject {
UIWindow ...
I have a UITableView that can be edited. I am displaying cells as such:
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
static NSString *CellIdentifier = @"Cell";
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
if (cell == nil) {...
This may be a silly question, but I haven't been able to find the answer. Where on the device should InApp purchases be stored? Are they downloaded to the bundle?
...
Hi i have a splitViewController
mapViewController = [[MapViewController alloc] initWithManagedObjectContext:managedObjectContext startingRegion:startingRegion];
distanceViewController = [[DistanceTableViewController alloc] initWithManagedObjectContext:managedObjectContext];
distanceViewController.mapViewController = mapViewCont...
Hi Guys,
In my app, I want to implement admob and now only I have started to learn about it. So any one please guide me and is there any nice tutorial or sample?
...
hi, i have been trying to figure this out but i just can't....
for some reason, everytime my UITableView reaches a certain length due to the number of rows and sections, cells seem to randomly copy themselves into different cells at the end of the table without me wanting or programming it... Anyone else have this issue or knows how it's...
Still stucked with this stuff...
My main view consists of a 2 UIWebView. Since I need to display vector gragphics (svg) image so I embed it to the UIWebView.
http://yfrog.com/myscreenshot20100720at101p
When the user touches I'll draw/display an indicator image (this comes from an image file perhaps).
My problem now, how I should impl...
My app runs great in the simulator, and has been working great on device as well. Today I am trying to install on device and the app crashes. It still works in the simulator. I am getting no debug errors:
[Session started at 2010-07-19 10:35:01 -0700.]
GNU gdb 6.3.50-20050815 (Apple version gdb-1470) (Thu May 27 05:54:06 UTC 2010)
Copyr...
I am just about ready to submit my app to the store and would like to know any tips or best practices from fellow iphone developers who have submitted to the store before.
What needs to be done before submission?
How is the binary created or packaged?( what things should be kept in mind)
What is the idea behind scheduling a release ...
what is target id is it application id or what. what should be its data type.
NSString *message = @"test message here";
NSMutableDictionary *params = [NSMutableDictionary dictionary];
[params setObject:message forKey:@"message"];
[params setObject:toID forKey:@"target_id"];
[[FBRequest requestWithDelegate:self] call:@"facebook.Stream.pu...
NSArray *planetArray = [NSArray arrayWithObjects:@"Earth",
@"Jupiter",
@"Saturn",
@"Neptune",
@"Pluto", nil];
NSMutableArray *objectArray =...