I would like to create a masking effect over a UIView in order to accomplish the following. I will display a sealed box in the screen and the user will be able to touch (scratch) the screen in order to reveal whats behind that image(UIView). Something similar to those lottery tickets where u r suppose to scratch some cover material thats...
I'm trying to load on the fly on the iPad/iPhone and notice that I cannot place a div above this. I put the overlay in the html so that it's generated on page load and not added via javascript and the video when its created is absolutely positioned below this element. This works on a PC, I'm wondering if since it was created via js th...
I have the following:
- (NSInteger) numberOfComponentsInPickerView:(UIPickerView *)pickerView {
return 2;
}
- (NSInteger) pickerView:(UIPickerView *) pickerView numberOfRowsInComponent:(NSInteger) component {
return [genderPickerData count];
return [agePickerData count];
}
When I do this, the UIPicker is split into ...
In which situations does a managed object context have changes?
What can happen that -hasChanges returns YES?
...
Hi,
I'm creating an application on the iPad. I create a custom keyboard using UITextField's inputView property. To insert text at the cursor position, I use the copy & paste method (http://dev.ragfield.com/2009/09/insert-text-at-current-cursor-location.html), which works fine. Now, I want to create the delete key. The code that I'm usin...
HI ,
i am working on a tab bar navigation based application. once the application loaded i am loading a RSS feed content from a site in its first tab.
I am using autoreleasepol to load the RSS feed inside the view controller and i have the sleeping time as 2 seconds, but the initial loading screen taking more anywhere between 3 to 7 se...
I am attempting to create a basic tab-bar application using interface builder. I create a new project in Xcode selecting tab bar application.
My question is how can I access the code that instantiates and pushes each of the views when the tab bar buttons are pressed? I would imagine that would be done by the tab bar controller, however ...
Is there any kind of PHP script that has a user database with custom tables that I can access through a RESTful API? I am wanting to create an iPhone app that interacts with the user database.. such as register, login, update info...
Any ideas? Thanks!
...
i want to get date in 2 labels like this
Label1:-> Tuesday
Label2:-> 2 June 2010
how can i get this value?
...
I want two rightBarButtonItem's on my UINavigationBar. How can I accomplish this?
...
I've been staring at this for way too long.
There's nothing fancy happening here, and I've done this dozens of times, yet Interface Builder steadfastly refuses to provide me an action target for -(IBAction)slideDirections. I'm at the point where I'm willing to post publicly and feel stupid. So let 'er rip.
Here's my .h:
#import <UIKi...
I am coming from a long spell as a Flash developer, and find simple code-based animation on the iPhone much more difficult than in Flash using actionscript. There are several excellent free class packages called "animation kits" available for actionScript that abstract the core animation code into simple one line method calls that allow ...
Hi,
I am getting very strange behaviour on UIDatePicker. I have a view with date picker declared in .h file as IBOutlet UIDatePicker *datePicker; with property nonatomic and retain. datePicker is properly linked in IB file.
In the code I am setting the minimum, maximum, initial date and action to call for UICOntrolEventValueChanged us...
All this fault and faulting stuff appears to look pretty much like the Ghost pattern. Is that the same thing?
...
Hello!
Im trying to make an rss-app, with the feed in a table, each row with a title and an (thumbnail) image. I have everything working fine with just text, but i can’t seem to get the images to show up... Can somebody please help me with this? It would mean a lot to me!!!
My xml data looks like this:
Henin slumps to defeat by Stosu...
Hello,
I would like to draw a image on the screen where ever the user touches.
I can't figure out how to do it.
Please help
thank you!
...
Does anybody know of any examples using AudioQueue that play from an in-memory source?
All the examples I can find play from files (using AudioFileReadPackets) but in my particular case I am generating the data myself in realtime so ideally, I want to enqueue the data myself rather than sucking it out of a file using the callback.
Any ...
I have a TabBarControlled view navigation and i want to display a UIScrollView in one of the Tabs, but whenever i click on this tab the error-code:
...this class is not key value coding-compliant for the key...
appears.
My code:
Code:
#import <UIKit/UIKit.h>
@interface BillViewController : UIViewController <UIScrollViewDelegate> {...
I have a UITableView (grouped).
In that tableview I have several UITableViewCells, some custom with nib, some default.
One Cell (custom) with nib has several UITextfields for address information, thus also one row has zip-code and city in one row.
When I get the keyboard the tableview size seems to be adjusted automatically (vs. another...
NSArray *results = [managedObjectContext executeFetchRequest:request error:&error];
if(results == nil){
NSLog(@"No results found");
searchObj = nil;
}else{
if ([[[results objectAtIndex:0] name] caseInsensitiveCompare:passdTextToSearchFor] == 0) {
NSLog(@"results %@", [[results objectAtIndex:0] name]);
searchO...