Hi. Being new to Xcode and Objective-C I find it hard to get my head around the Interface builder and Objective-C when doing things that are following the basic pattern. I have created a subclass of UIViewController that I want to instantiate several times to make a grid with each row being controlled by an instance of this class. So the...
I've a view controller (named it as SearchViewController) with UITableView and UISearchBar. UISearchBar is set to table as a header view. While searching in the table using this searchbar works great.
By selecting any one of the displayed search results, I can move to next view (named it as DetailsViewController). But after returning to...
Hi,
I have the following loop which builds an array from characters in a string (the additional @ is there deliberately)
NSString *testString = @"@the quick brown fox jumps over the lazy dog";
NSMutableArray *characters = [[NSMutableArray alloc] initWithCapacity:[testString length]];
for (int i=0; i < [testString length]; i++) {
...
Hi All,
When using a tabBar and TTNavigator I get some unwanted caching... for example:
Select tabItem 'A'
Select TTTableViewController item (redirects with tt://myController)
Select tabItem 'B'
Select tabItem 'A' again
Viola! You have the contents of tt://myController on the page!
Is there a way to get tabItem 'A' to rerun it's view...
Hi. What is the best way to handle this situation on an iPhone device: My program ramps the pitch of a sound between two values. A button pressed calls a method that has a while loop that does the ramping in small increments. It will take some time to finish. In the meantime the user has pressed another button calling the same method. No...
I am using NSArrayController binding to fill my table.I added NSButtonCell in a column of NSTableView. All checkboxes are selected already.HOw to get unckecked all the check at the time og nib loading.I am unable to handle the checkbox in NSTableView.
...
Hi everyone,
I'm writing an iOS app and I have set up some code for a CALayer named "Wheel" to animate (rotate) continuously which works great. I wish to mask this layer so only a small portion of it is visible, instead of the whole layer.
I added a mask using CALayer.mask but it too rotates as it's a sublayer of "Wheel". Is there any ...
Is it possible to create a video file using a group of uiimages in i-phone..somebody please guide me...I used ffmpeg to do so but i cant make that possible..any help..?
...
As an example, this can be observed if a progress indicator is running and main menu is pulled down. What is the best way to avoid this?
...
IS there any library or apis for different types of charts in iphone ?
Thanks in advance.
...
Hello guys,
I have a C++ class method where i need to call the "detachNewThreadSelector" method with all the parameters.
Here lies the problem, as my class is not objective C i don't have a self pointer. Also i don't see how i will be able to call a class method from the method that i will set as selector.
Please do ask if my question is...
Hi all,
I have a problem with my app when testing it on my iphone.
I have a method that combines 4 images in one and saves it to the photo library:
- (UIImage *)combineImages{
UIImage *image1 = firstImgView.image;
UIImage *image2 = secondImgView.image;
UIImage *image3 = thirdImgView.image;
UIImage *im...
Hi,
I am using slide-up view in ipad,But i am facing one problem that when i use button action on portrait mode then view is sliding up but when used in landscape mode that time its not working.
Please help me out to solve this problem.
Thanks
Kunal
...
My application downloads JPEG images from the web and save them to the device using UIImageWriteToSavedPhotosAlbum. All works fine except for one issue: when I browse iPhone's photo library with iPhoto, some images have no thumbnails -- an empty dashed rectangle is displayed instead. Those JPEG images application downloads are also gener...
I've added Facebook Connect to my new iPhone application. Everything perfect, no problem.
In this application, however, I need to post on user's Wall without prompt any dialog box.
I've searched in Facebook Documentation and, from what I understand, if I ask user to give me the right permission (in this case, publish_stream), the dialog...
I want to add a calendar to my app to which i can add events and stuff.But i cant find any info in this regard.One site provided code that wasnt workin too well.
Any suggestions??
http://blog.webscale.co.in/?p=244 has a calendar example that is buildable but throws in warnings.Theres the issue that once you tap on a date it remains sele...
I have this code to prompt the UIAlertView, with Textfield:
UIAlertView *myAlertView = [[UIAlertView alloc] initWithTitle:NSLocalizedString(@"New List Item", @"new_list_dialog")
message:@"this gets covered" delegate:self cancelButtonTitle:@"Cancel" otherButtonTitles:@"OK", nil];
UITe...
Hello fellows,
I'm wondering how to scroll programmatically to a given anchor in a WebView.
The content I am showing is rendered by
[[webView mainFrame] loadHTMLString:htmlString baseURL:someURL];
and thus I cannot simply navigate to #anchors by pointing them out in the URLs.
I'm looking for a method along the lines of
[[webView ...
Hi,
I am using slide-up view in ipad,But i am facing one problem that when i use button action on portrait mode then view is sliding up but when used in landscape mode that time its not working.
Please help me out to solve this problem.
Thanks
Kunal
...
I need to write an application, that every 10 minutes it should be awaken from suspended mode, get user location via gps and send this information to the server by network.
Depending on the response it should return to the suspended mode or show local notification to the user.
Is there a way to do this on iOS 4?
I've tried different a...