Hiyas
does anyone know how to return the count of a query when using FMDB? If I executeQuery @"select count(*) from sometable were..." I get an empty FMResultSet back. How can I get the row count of the query? Do I need to do a query like "select * from sometable where.." and iterate through the result set? Or can I use useCount or what...
hi, what is the difference between .rdb and .sqlite?
...
I Am using following code for getting maximum value in column
Column no 11 (means 10 no, in the code)
Column Name uniqueColumnSNo
Data type of Column -integer.
I am confused with syntax used by dbhanlder.
Here is the code.
Just let me know , HOW I WILL ACHIEVE MAXIMUM VALUE TO BE RETURNED from the specified column.
Help. Thanks in...
I need to support full text search for a 10 mb document and wondering if I should implement FTS with CoreData or Sqlite3. I am familiar with CoreData and not too fond of Sqlite3. Anyone with experience care to enlighten me? What other options do i have? Thanks!
...
Hi all.
I have a single image that needs to be placed on multiple UIImageView.
I am wondering whether there is a way to save the memory in doing this?
For e.g., I have a pic file. I can create one UIImage object for this file. If I create multiple UIImageView and init them with the single UIImage Object, will that save the memory?
t...
Hello
I have created some registration process in iPhone but when i am sending data with using XML parsing that time i get an error that is:-
* Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '* -[NSCFString stringByReplacingOccurrencesOfString:withString:options:range:]: nil argument'
...
Hi,
in my iPhone app I list some hosts that publish themselves via bonjour (NSNetService). The user is able to save those hosts to a favorites list.
What I want to do is to check if those hosts are reachable via LAN or if they are offline.
To do this I am observing ReachabilityChangedNotifications in my ViewController:
[[NSNotificatio...
I remember reading somewhere but I cannot remember where exactly I need to write the import statement so that the whole App has access to it. I have a AppHelper class which I want the whole app to see without importing it in every class file.
So I have tried to add it to my .pch file but I get the following error messages:
"_kGTMHTTPF...
Does anyone know how to enable/disable airplane mode in iPhone SDKs after 2.x?
I need to create an app that legitimately disables the radio for the duration of its execution. Is Apple likely to permit this soon.
I followed http://blogs.oreilly.com/iphone/2009/01/bring-airplane-mode-control-ba.html
but setAPMode pointer is null.
Regar...
What must I do to get an UIFont object with a custom font? I remember there was also something going on in the Info.plist file.
What font file formats are supported?
...
When trying to show the UIImagePickerController I had strange problems with my app crashing on iOS4. Here's the output from log:
malloc: *** error for object 0x550ba20: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Setting breakpoints, trying to spy the name of the object 0x550ba20 (with pri...
I'm managed to make my UITableView rows / cells black when data is loaded, to a fashion, I get a white line in between rows, which makes it look awful. How can i make them fully black with and without data ?
Heres the code I'm using at the moment
- (void)tableView:(UITableView *)tableView willDisplayCell:
(UITableViewCell *)cel...
Hi,
i'm trying to implement an in-app purchase Server Product model. I read the Apple documentation and i unterstand what i have to do, but i'm doing something wrong somewhere.
I premise that i don't know anything about PHP :( , so i'm trying to understand something only now, but i searched also in this forum and i found a lot of interes...
How can we implement the Horizontal page transition effect including the curl effect like iBook application did.
I am trying to get it from 3 days but no success.
Any suggestions or sample code would be appreciated.
I need it urgently.
Thanks in advance.
...
Hi friends,
Is it possible to show pushviewcontroller animation look like presentModalViewController but that has background functionality of pushviewcontroller?
Regards,
sathish
...
What is the name of the default system font on the iPhone? I would like to retrieve this for customizing a UIView.
...
I am using a UIView to show a form with a text box(text), text box (want to attache this with datepicker) and text box (attach this wit picker to select multiple values)
I want to show date picker on click on text box but when I click on the texbox,it start showing the keyboard at bottom.
Will it be good to use read only textbox for da...
Is it possible to override the hardware home and sleep buttons on the iPhone? I did a lot of research on this, but I was unable to find any definitive answers out there.
I'm not looking to design something malicious, but I was curious about the possibility of doing this for a personal project on my own iPhone.
...
Hi friends, I have a small problem:
I have a table with two sections. Both sections contains UIButtons on each of their corresponding cells. Clicking on these buttons plays the song. While song plays animation goes on. My problem is when I tab on button of any of the section then animation starts in both the section. Now I want to know ...
I was hoping someone can answer a simple question for me...
If you create an iphone app and get it approved for sale, what happens if you add updates to it? Do you have to submit this for approval too?
How does the whole process of updating existing apps work?
Assistance would be very much appreciated, thanks
...