Is there a way in sqlite to automatically save a timestamp in the table whenever a record has been created that I can then grab and save as an NSDate in my application?
Or should I instead create the NSdate object with the current time in my iphone app, and then insert it into the database. If so? What column should the datatype be for...
Hi,
How can I change the color of navigation bar from its default blue color?
Thanks.
...
I'd like to build an app that uses voice recognition. I've seen big companies like Google etc implement this feature, but I'm curious about doing it on a start-up level. Anyone looked into this? Are there any tools out there for us to do this?
...
I've been able to successfully overlay an image on top of the movieplayer (see the MoviePlayer example from Apple).
However, I would like the effect of having no controls on the screen, and when the screen is touched, my overlay appears.
My thought was to create an overlay with an image that is a transparent png file, and cover the ent...
I am moving from years of Eclipse + CDT + Subclipse to Xcode with Github as my replacement for Subversion. I am new to Github and have not found a good howto for setting up a repository that knows how to play nice with and Xcode project.
Can someone please walk me through the setup? Thanks in advance.
-Doug
...
For an iPhone, I've got a UITableView that is grouped, has one section, and in which I've set up a section header that's a UILabel object from the nib. When the table view displays, the header shows up as a stripe of solid black -- no text.
In heightForHeaderInSection I've set the height to be the frame.size.height of the UILabel objec...
Being a somewhat newbie to iPhone development I started debugging some code attempting to find my mistake. When I attempt to p tlEntries from the debugger I get the <variable optimized away by compiler> message while stopped on the if statement. The following is my code:
NSArray *tlEntries = [[NSArray alloc] initWithArray:[self fetch...
Hi,
is there a way to "word break" a long http address in iphone safari?
Currently with a long http address:
i.e.
h t t p://long/website/address/to/be/displayed/on/iphone/safari
safari will render it in one line, thus affecting the page and the other contents where user has to scroll horizontally now.
is there a way for safari to dis...
I need to display the callout without tapping on the pin in the MKView.
I tried setSelected:animated method call but it doesn't seems to work.
Once the pin is dropped to the map, the callout should be displayed right away.
...
I want to rotate a layer continuously using byValue, but I can't make it work correctly.
I want to rotate by 6 degrees every second, to have a full rotation in 60 seconds.
If the initial rotation of the layer is 0, everything is OK.
The problem is when I try to set an initial fromValue:
If I set the fromValue to 90 deg, the animation w...
I'm very interested in the technology behind ConvertBot. I tried to do a lot of stuff with CA, but what I am seeing there looks just too fast for CA.
I tried to open with Instruments, but it doesn't work with foreign apps. Is there any legal way to figure out what's under the hood?
...
hi all.
I want to load an animation image while running a function (like: loading....).
How can i do in iphone SDK?
Thank you.
...
It's really strange. I have a blank UIImageView subclass that implements the -touchesEnded:, -touchesMoved, and -touchesBegan: methods. The implementations of these methods are empty. They just do nothing. However, when I run Instruments with "Leaks", and I touch the UIImageView and move my finger outside of that UIImageView while still ...
Hi guys.
I call a javascript function and while waiting the return result i want to load an animation image (like: please waiting...).
//step1. call javascript
NSString *resultMess = [webView stringByEvaluatingJavaScriptFromString:_scriptMethod];
//step2. want to load animation while waiting
//step3. after finish -> send alert
.
H...
I have a view controller that is created via initWithNibName, and I just found out awakeFromNib is not called. Is awakeFromNib only called when the view controller is unarchived from the Nib? (that is, initWithCoder is called)
...
In the iphone app that I'm working on I use a custom class to manage network communication with the host. The class called protocolClass is an ivar in the appDelegate and alloc + init in the applicationDidFinishLaunching: method.
Now whenever the protocolClass receive data from the host, it calls protocolClassDidReceiveData: method in...
I get an error message of un-finalized statement when attempting to close the database connection in ApplicationWillTerminate method.
In order to find the source of the error I want to use the SQLLite next statement.
But it seems this statement is not supported as per the header files in iPhone OS 2.2. Am I missing something ?
Is...
I am currently writing iPhone Apps using the SDK 3.0 beta 5, which unfortunately comes with an Non Disclosure Agreement. This agreement doesn't allow developers to talk about internals of the SDK freely, they can only use the Apple forums.
Does anyone know when the iPhone NDA will be over?
That date will be remarkable: developers will ...
Apple provides the NSArchiver and NSUnachriver for object serialization / deserialization, but this can not handle any custom xml schema. So filling an object structure with the data of any custom xml schema has to be made manually.
Since the iPhone developer community is rapidly growing, a lot of newbie programmer are despairing to deal...
Hii all,
m trying to make a 2d byte array . can any body give the code how to declare a NULL 2d byte array in Obj C for iPhone?
Thanks all.
...