Jun 04, 2009
Ravikumar Gajjavelly asks:
I want to send email It contains image as an attachment.How can we send am email.how to attach image.can anybody please give solution.
When creating my app GeoCorder I was faced with the exact same dilemma of needing to attach a file to an email. I did some research and this is what I found.
May 20, 2009
Let me ask you something as below.
- A variable declared as IBOutlet could be released?
- A variable declared as IBOutlet should be released?
I search for this issue many times, but still the answer is not found.
plz help me , plz
He is asking a question that most of us have when beginning with Interface Builder and Outlets. In plain English his question is “Should I release instance variables declared as IBOutlet?”
May 17, 2009
I have needed a SQLite query that returns exactly a time which is very closest to the current time.
From 7:00pm,8:00pm, 9:00am and 10:00pm if the current time is 8:30pm, I will require 10:00pm.
This is more of a SQLite question than related to Cocoa Touch. But since SQLite is the mobile database engine of choice for Cocoa Touch, I’ll entertain this question as well. And follow it up with some Cocoa Code.
May 14, 2009
I have a loop from 1 to 30 and I want to create an NSArray with those values inside. Can you give me an idea on how to do this.
That’s an easy after-dinner exercise. First you need to take an NSMutableArray instead of an NSArray because regular objects without “mutable” in their class name cannot be changed. This is especially vital to know for arrays and dictionaries.
May 09, 2009
I just want to get a date which is some 50 or 60 days away from current date.
How do i get??
There are two methods to achieving this. One that is quick and (potentially) dirty. And one that is always safe.
May 03, 2009
With Device | Debug and Code Sign “iPhone Developer” I have no problems getting my app onto the device, but with all other configurations I get this strange error message in XCode Organizer.
That’s a weird error that most of us have encountered one time or the other. Here are my hints how to get it fixed.
Apr 27, 2009
Today, on the train to the big city, I watched the seventh Standford iPhone Programming lecture and got an answer to a question I’ve been having for a long time.
Can I make the back button shorter in a UINavigationView? I like long titles, but it looks ugly on the back button!
The back button of a view that you pushed on the the navigation stack defaults to the previous view controller’s title. You want to make the title explanatory so a long one is good. But if you push another view controller onto the navigation stack you want the space to have an explanatory title on this one, or you need the space for something else.
Apr 25, 2009
How to send a message from a view controller to app delegate?
That’s a question that everybody asks who is trying to follow the model-view-controller paradigm. There is an easy way to access your app delegate from anywhere in your app.
Apr 22, 2009
This request of MKureth is so totally crazy that I just had to share it with you:
As impressive as your resumé sounds you lack a couple of essential skills.