Hi guys,
I'm experiencing something considered a bug in my situation. Probably this is not a bug but a feature ;).
Here's my case:
I load a UIScrollView with my content. A part of my content is loaded asynchrone after the view is already loaded. This works great and without issue.
Some of these controls however are UITextView controls...
hello sir
I create my project on 3.1.3 simulator it's work properly but when i run my project on 4.0 simulator and on device it doesn't work properly it give me succeeded message but doesn't give me out on the screen .Help me out from this condition how to make 3.1.3 program computable in to 4.0 simulator and device.
...
Hi,
i want to compress an NSString. how i can do that in objective-c ( iphone ).
Thanks in Advance ..
...
Okay this is a design question. I, like many, are still learning Objective-C and Cocoa, and am a little rusty to boot. Anyway, here is the question:
Assume I have a ViewController class 'A'.
Assume I have a "Camera" class 'B', which is a singleton.
Assume I have a UILabel class 'C'.
The ViewController 'A' has knowledge of the "Camera" ...
In my application i parse a xml from which I get a list of items (hotels and restaurants) that i put into array "listElements"; I need to get from this array, another array that will contain only the particular elements (hotels only) and then I need to get from this array, three array that will contain hotels according to stars(array5sta...
Hi.
I'm a newbie programmer and I started to learn Java, but I have doubts. I want to study architecture and in addition programming web sites, web apps and some applications.
Which one is the better choice for me between Java and C++\Obj-C(for applications) and JavaScript (for web development)?
Thnx.
...
Is it possible to preload content of a local file with embedded images for a UIWebView?
This is how I'm loading the data inside the UIWebView:
NSString *urlString = [[NSBundle mainBundle] pathForResource:@"info" ofType:@"html"];
NSString *htmlContent = [NSString stringWithContentsOfFile:urlString encoding:NSUTF8StringEncoding error:ni...
Hi, everyone,
I want to ask a stupid question about the iPhone application. I am the green of the iPhone app. I read the following code in the Apple website.
MyViewController *aViewController = [[MyViewController alloc] initWithNibName:@"MyViewController" bundle:[NSBundle mainBundle]];
[self setMyViewController:aViewController]...
Hi all,
i am integrating twitter in my iphone music application.i.e when a user clicks a song and then he click on the twitter tab the login page of twitter should be opened and when he enters his username and password and then he clicks on the post button the song name and the comment he has entered in the textview should be posted to h...
i have a MKOverlayView with custom drawings. i have to rotate those view to different degrees. i used transform property for rotating the view. its working in the ios 4.0 but its not working in the ios 4.1. What is the reason? how can i rotate the Overlay view?
here is the code...
- (MKOverlayView *)mapView:(MKMapView *)mapView viewFo...
What is the easiest way to pass information between UIViews?
If i have 2 standalone views that push and pop from the navigation bar and I want from one UIview to do some logic when a button pressed on the second UIview??
Is the right way is to use delegates?
or is there a simple way with the interface builder?
I know that I cannot drag ...
I have an URL and need to extract a part of it.
The url is like this:
http://website.com/get.php?url=http://www.website2.com/index.html?articleID=123456
And I need to extract this part:
http://www.website2.com/index.html?articleID=123456
How would I do this in Objective-C?
...
Hi,
how i get the URL inside the following method ??
- (void)connectionDidFinishLoading:(NSURLConnection*)theConnection
...
In Objective-C, I have a base class A, with instance method -(void) doSomething. Class B is derived from A and overwrites doSomething. Class C is derived from B. In the implementation of C's doSomething, I want to invoke A's doSomething (instead of B's). How do I achieve this? I know I can use [super doSomething] to invoke the immediate ...
Hi,
Is it somehow possible to choose the super of a class (preferably in the alloc or init method) so my class inherits from something else?
...
I am using ABNewPersonViewController to add new contact to the address book. Every thing is fine if I do not add any photo from photo albums. It crashes if I add any photo and here is the log:-
NSInvalidArgumentException', reason: '*** -[NSCFDictionary setObject:forKey:]: attempt to insert nil value (key: UIImagePickerControllerOriginal...
I have read some docs on NSTimer and havent quite seen what I am looking for.
I would like to know how to write an NSTimer which will repeat every 1 sec or another time value(maybe have this value as parameter) and the overall repeat should repeat for one minute.
Also how is this overall time (1 minute) shown on screen , maybe in a UI...
How do I get the delete button to show when swiping on a uitableviewcell?
I have followed this post: http://discussions.apple.com/thread.jspa?threadID=1569862 but the event is never raised and the delete button never appears?!
...
I want to be able to select items from a table and display them like how the iPhone displays the list of recipients for SMS, email, etc. It would be great if you could lead me to any resources and/or direction for this kind of thing. (I wasn't really sure how to Google this kind of thing too.)
Thanks in advance!
...
I have the pid (process identifier) of an arbitrary running process. How can I find the bundle identifier (if any) of the associated application?
...