I have seen something here[1] that states that I can remove these errors in xcode 3 by changing a method like -(IBAction) shakeShakeShake to -(IBAction) shakeShakeShake (id) sender
I am using iphone sdk 3.0 and xcode 3.2.1 on snow leopard
My errors are:
Classes/MainViewController.m:156: warning: 'MainViewController' may not respond to...
I have an iphone sdk application and want to tweak it.. as I've had a great idea on how I want my interface to appear.
I'm trying to create several buttons that will open a web page within my application but have failed to do so countless amounts of times now.
(I don't want the button to open a link in safari, I already know how to do ...
I've been implementing the push service to my application, and I've been thinking about the application's badge. My app is a mail app (sorta) and I want to notify the user via push for new messages added to the inbox, I want the badge = number of new messages in the inbox.
I thought of doing it server sided (provider) checking for new m...
Hi guys,
I have the following code:
-(NSString *)tableView:(UITableView *)table titleForHeaderInSection:(NSInteger)section {
id <NSFetchedResultsSectionInfo> sectionInfo = [[fetchedResultsController sections] objectAtIndex:section];
NSDateFormatter* dateFormatter = [[[NSDateFormatter alloc] init] autorelease];
[dateFormatter setDat...
I am building an application that implements a custom view on iPhone’s native media player. I want your help in deciding directions to lay this effort. At present I have find out that iPhone SDK doesn’t support APIs to customize media player.
I need these things in the player:
I would like to have custom views i.e. want to change all ...
Has anyone seen an implementation of an "accordion" (maybe called "animated outline") view for the iPhone? I found an example project for Cocoa, but before trying a port, I was hoping that someone has invented the wheel already.
To make it clear, in a UIView, consider a stack of sections, each containing a header, and then some contents...
Hi guys,
I have a UITableView that gets populated via CoreData, and have just noticed something strange. I have about 20 rows or so in the UITable, and when I scroll down the table and back up again, the cell's label gets written over the top of existing text, and keeps on doing it each time i go down and up again. My code for the CellF...
Hi all
Appliction will get run fine on iphone 2.0 but n 3.0 just spash screen wll get dispalyed and nothing else happening.
Please help me.tab bar get loaded on iphone
...
Been searching for the answer to this for a while now and I think due to the nature of my array set up, I may be searching for the wrong answer!
I have a class which handles adding items to my array:
// Item.h
@interface Item : NSObject {
NSString *name;
NSNumber *seconds;
}
@property(nonatomic,copy) NSString *name;
@property(...
I am trying to provide useful information on an area to users based on a search term and their location.
I thought googles geo api would return a best match list of results for a query such as "swimming+pool+'my location' that I could then place an annotation for each result in my map view but it only returns one best match location.
H...
I have a navigation-based application with 2 UIViewControllers (controller-2 is pushed onto controller-1 when the user selects a particular row within a UITableView displayed using controller-1).
Here's the 'twist'… When controller-1 is loaded, I want to "prefetch" a URL containing HTML/javascript into a UIWebView. Initially, the user ...
Hi
I want to send a special character in NSURL my code is as follows
NSString *theURLString =
@"http://mydomain.com/Search.asmx/Search?SearchType=Property&Format=STANDARD-XML&QueryType=DMQL2&Class=4&Query=(79=|A),(77=10000000-100000000)";
NSURL *theURL=[NSURL
URLWithString:theURLString];
I am getting probl...
My problem is: I'm trying to convert my CGFloat Values to an integer value and than add them to an NSMutableArray.
For Example;
CGFloat x=ship.center.x
//convert x to integer
?
P.S.:After that, I will send these values to another iPhone with bluetooth. But first I must solve this problem. İf anyone knows how to send an array data to...
Hi Folks, I need your help, i'm stacked on this project.
When i run my applicaion into Instruments, →← marked line giving memoryleak. When the fist run everything is ok but second time →← marked line giving memory leak, i didn't understand why ?
I tried a lot of things, i used NSAutoReleasePool as well but result same.
Can someone ...
Hi,
I have an application developed for iPhone OS 3.+. This application uses in-app purchase.
I would like to release a version now, that it is compatible with 2.+.
Obviously I will have to use that techniques described by Apple that tests for the presence of the frameworks I am using from 3.0 and make alternative code for 2.0, witho...
Hi all,
I'm working on this iphone app that has a view controller to record some sound using AVAudioRecorder. I want to have another "setting" view controller that can change the record settings (recording format, quality etc.). Is there a way to create a singleton object for AVAudioRecorder(something like [AVAudioRecorder sharedInstanc...
Hi, I'm noob here but, why is it i'm getting this error?
I DO have a table named Team in an SQLite called Team.sqlite! Is there anything else I need to provide?
ERROR
---------------
2009-12-23 23:17:05.277 PitScout[6690:207] *** Assertion failure in -[Team addTeam], /Users/******/Desktop/PitScout/Classes/Team.m:90
2009-12-23 23:17:0...
Hi Guys,
I like to use CoreData and their entity model into my projects.
I need to know that how to store sqllite database into Iphone securely.
As everybody knows when the Iphone broken with jailbreak it have file system navigatable, that mean for me, someone or somebody easly open or copy to another envorinment my sqllite db. How do ...
I know it's possible to create a dynamically changable Default.png by creating a symbolic link. But that's not possible in iPhone SDK 3.0 anymore (only in 2.0).
How can I make this in 3.0, or is this impossible?
Tim
This worked on iPhone OS 2.0 http://collison.ie/blog/2008/11/dynamic-defaultpng-files-on-the-iphone but not on iPhone OS 3...
If I have white text in my UITextField, the selection window (when selecting text) is invisible because the background on the little window is also white.
Any way to fix this?
...