Hi Guys,
I got a problem in textfields.Actually I have 4 textfields when I click on to the first textfield and i entered the text into it.If I click on to the next textfield with out clicking on to the Done button in the keyboard of the first textfield the view goes up and the text in the first textfield is erased.
To solve this proble...
Sir,
I have used the below function
while(labelZ.text!=0)
but getting the typecast error.
...
-(void) reduce
{
int u = numerator;
int v = denominator;
int temp;
while (temp !=0) {
temp = u % v;
u = v;
v = temp;
}
numerator /=u;
denominator /=v;
}
...
Does any one know the color of labels in the address book? For example when you open a contact you can observe the color of "phone" or "home" labels.
So what is that color? Do you have any idea?
Any help greatly appreciated.
Thanks
Prathap.
...
With the new iPad (which has a different screen resolution of the iPhone/iPod Touch), how do I set the application to automatically size appropriately to the desired screen size?
...
I am new to iphone development.I want to display an activity indicator when navigating form one UITableView1 to another UITableView2 and stops when the table is completely loaded.I am using xml parsing to get the cell content of UITableView2.Please help me out.Please refer to some sample codes or tutorial.Thanks.
...
I have a local HTML page which doesn't has any external link(css or images..)
I use method below to load it to a WebView
- (void)loadData:(NSData *)data MIMEType:(NSString *)MIMEType textEncodingName:(NSString *)textEncodingName baseURL:(NSURL *)baseURL;
it takes around 5-8 seconds to load this page, that's too slow. right?
but when...
hi guys
I'm trying to avoid the redeclaration of self, in the following
picker2.peoplePickerDelegate = self;
// showing the picker
[self presentModalViewController:picker2 animated:YES];
Why am i not able to just go like:
[picker2.peoplePickerDelegate presentModalViewController:picker2 animated:YES];
Regards
...
Hello.
I'm using Instument's ObjectAlloc tool in an attempt to understand what the memory my application (iPhone) us doing and when and where it is doing it.
I would really like a basic explanation of these statistics:
Live Bytes
#Living
#Transitory
Overall Bytes
When I am trying to work out how much memory my application is usin...
My sister is a totally internet radio freak. She listens to internet radio all the time. So I thought why not write a little funny styled app for her upcoming birthday ;-)
I'd like to understand the concept behind streaming online web radio. As I never listened to online radio myself I need some advice from you guys.
Questions in my m...
I noticed that NSHomeDirectory returns a different path each time i restart the App with Xcode, and apparently even if i click the icon manually since it doesn't load the file's contents. I'm stunned that it gives me a different directory each time i restart the app. This happens on both simulator and device and even if i use the "ForUse...
Are there solutions in C or Objective-C to receive and play back SHOUTcast audio streams on the mac or iphone?
...
Is it possible to instalize an NSRunLoop with needing to load any Nib files ie. without needing to call: NSApplicationMain();
Thanks
...
I'm looking for how to play back audio streams in these formats:
MP3
Ogg / Vorbis
WMA over MMS/ASF
AAC / AAC+
target is the mac and iPhone. Maybe there is an open source library that I could look at, to understand how it works, and then port it to the cocoa frameworks somehow.
...
Suppose I have a UITableViewController with an array "history" as data source. The array consists of an undefined number of NSDictionaries. Each dictionary contains the following keys: term (NSString), date (NSDate) and id (NSNumber).
I would like to map the contents of the history array according to the date values each dictionary has,...
Hi guys
I know this is a pretty well posted thing to do, but I still can't work it out.
I have an instance method saveAllDataJobs in Jobs.m.
- (void) saveAllDataJobs { ... }
I am in DetailViewController.m and I want to run the method saveAllDataJobs, which is in Jobs.m.
What precisely do I need in order for this code to run.
Sorry f...
Hi!
I started a project in xcode (3.2 on snow leopard) with base sdk 3.1.2. Now I changed this setting to 3.0 and it compiles without a warning. There are no problems running the app on the device, but the simulator crashes on launch every time with the following exception:
Terminating app due to uncaught exception 'NSInvalidArgument...
This is my first SQLite based iPhone app and I am trying to get it to read a menu hierarchy from my database.
The database appears to be registered fine as the compiled statement doesnt error (tried putting in valid table name to test) but for some reason sqlite3_step(compiledStmt) doesnt ever equal SQLITE_ROW as if to suggest there is ...
When my app launches, I check for reachability because I need an immediate internet connection. My problem, though, is that it appears there's no immediate confirmation for the NetworkStatus, which means right after the Reachability is setup, I check whether there's a connection, and it returns that there isn't, regardless of whether I a...
I'm creating an application for the iPhone in which I need to transfer information from variables between views/classes. What is the best way to do this (without utilizing CoreData/persistent storage)?
...