i am making an application with login view. This is just simple UIViewController with one UIbutton on it.I have another UINavigatioController having UITableView as RootViewContoller with many table objects at each row.The problem is : how to switch from loginview to tableview.Also there should be no navigationcontroller on loginview..and...
Hi ppl
In my UIView.I need to show dynamic images i have an array size not fixed.
i will loop through the array.
and i want to show two image ( Both images are known 1.png and 2.png )
and want to show text over that images.
i tried with CGRectmake but need help :(
Please Anyone can suggest anything ? any help will be appreciated !
...
Is their a method to encode/decode HTML and URL (in Xcode, using Objective-C)?
[NSString stringWithContentsOfFile:<#(NSString *)path#> encoding:<#(NSStringEncoding)enc#> error:<#(NSError **)error#>]
This doesn't seem to work how i expected. I thought it will convert special characters like "<" to equivalent HTML entities i.e. "<" in ...
In a global.h file I declare
dataManager *IdataManager;
Then later when the program initializes I allocate and initialize the variable, and use it in several different views as a means of accessing a set of data that gets downloaded when the app starts up.
Recently I noticed when I pull up one of my views, close it, and then open it ...
This appears to be the the classic method for scanning images from the iPhone. I have a thread that is dispatched from the main thread to go and scan for Codes. It essentially creates a new UIImage each time then removes it.
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
{
while (![thread isCancelled]) {
#ifdef DE...
I'm building an iphone app and I've got a table view with some textfields inside the cells, the content of the fields is set in viewWillAppear (its a grouped TableView w/ 3 fields that are always the same). The content of the text fields is retrieved from getter methods that return values from various class variables.
The problem I'm h...
Hey Guys,
I was to encrypt data on the device and send it by http to our web server then decrypt the data on out .net web app. Is this possible? If yes, which encryption method I should use? and if their are any articles out there?
Thanks
...
Hello,
I have a NSMutableArray:
NSMutableArray *temp = //get list from somewhere.
Now there is one method objectAtIndex which returns the object at specified index.
What I want to do is that, I want to first check whether an object at specified index exists or not. If it exists than I want to fetch that object. Something like:
if (...
Hey,
I have a number of static audio files that I want to be able to dynamically mix together and play on the iPhone (not all at once, most common case is to mix two or three audio streams into one stream).
What shall I use? I know there are OpenAL and Audio Units that could be useful, but which one?
To get a kick-start, is there a co...
Hi, developer friends.
I am going to develop an app based on google map. In that locations will be displayed with markers or points near current location (point of interest). I have lattitude, longitude of different places and I am also able to find the distance from current location. I just want some help working on google map. Display...
Hi,
When you add a new contact, the first row contains the add photo button and the x co-ordinate of start of the cell is set to some value which is greater than the rest of the cells. How can this photo button be added and the cell frame can be changed?
Thanks!
...
Hi, I have a wsdl link of my web service.and i want yo consume this web service in my iphone application. this web service is a JAX-WS service.Please guide me the best way to use this web service.
...
Basically I have a hierarchy of locations: country, state/prov, city.
I want to present an "Add Location" modal table using a delegate.
I realize the best way to do this is to present my top level elements in a TableView, and if they are selected, I want to go down to the 'next' level. Any of the locations however, on any level should...
When I do web development, I use a custom made logger that catches fatal errors and appends a trace to a file and displays a message to the user. I can occasionally glance to see if the file changed, which means, some user encountered an error and I can dig in to see what they encountered.
I'd like something similar on the iphone, wit...
Hi,
How could I change the look and feel of standard UIKeyboard object. I want to create transparent keyboard for UITextField object.
...
I have a UINavigationController that gets UIViewControllers pushed onto it. In the first view there is a grouped table view which has 3 rows, each containing a UITextField with initial text set on viewWillLoad of that view controller. Tapping any one of the table view cells pushes the 2nd UIViewController onto the nav controller's stac...
After I downloaded the latest Xcode with the 3.1.2 SDK, I can't build and test for 2.2.1 anymore. I have the 2.2.1 SDK in the proper directory of my Developer folder.
Is there a setting I have to change?
...
What are some key bindings that aren't included?
...
For example, I have an NSDecimal myDecimal. Lets say it represents something like "-1234567.89"
How can I get a clean string representation of that decimal without any beautification / formatting? No localization? Floating point symbol = . and rest only numbers from 0 to 9, and eventually an - if it is negative? I need that string in st...
I have a file with contents something like this:
INSERT INTO table VALUES (NULL,'° F','Degrees Fahrenheit');
INSERT INTO table VALUES (NULL,'° C','Degrees Celsius');
Now, to parse this, I have something like this:
NSString *sql = [NSString stringWithContentsOfFile:filename];
Printing this string to the console looks correct. Then,...