Hi all, this is the code in the continuation of this question....http://stackoverflow.com/questions/1892544/allow-horizontal-scrolling-only-in-the-core-plot-barchart
-(BOOL)pointingDeviceDraggedAtPoint:(CGPoint)interactionPoint
{
if ( !self.allowsUserInteraction || !self.graph.plotArea ) {
return NO;
}
CGPoint pointI...
I have come across some sample codes where set of images are added to make a QTmovie.
I am targeting this for OS X platform without any QT frameworks.
I have ague idea of creating a file with extension and embed it with appropriate metadata and find a way to insert images and audio in required format. So when the file is created it can ...
I want to run the php application on Cocoa-Xcode.How would I run my php application on XCODE?
...
How can I create a registration form on Iphone so that if I submit the form the data must be store on my database which is on my webserver?
...
I am trying to update the multiple file download progress value to UIProgressView on a table cell. I have the FileDownloader class which has NSOperationQueue that does asynchronous download operations. I am thinking to update the UI using a "delegate" from FileDownloader class. But I cannot compile the codes. I have FileDownloader as ...
We have an iPhone app that is doing a lot of rotation between portrait and landscape. Everything is mostly working properly, but it doesn't seem to pick up orientation changes quickly enough (and some times not at all). Is there a way of telling the default rotation handling that we need updates faster? I'd rather not write custom acc...
I want to make a button in an UIAlertView that opens a Wikipedia page, with a subject stored in my array "array"
Here is how I'm doing it.
Wikipedia follows the format of http://en.wikipedia.org/wiki/<subject>. In my array, I have text entries of subjects. I want it to open in mobile Safari when tapped. So far, no luck :(
Help ...
When we touch with two fingers in a UIScrollView, we get two CG points. I want to find the distane between them. Then like I do the pinch(inside or outside). Then we will again get two points. Then after finding the distance again between these two points , I want to decide whether I pinched in or out. If i have pinced in, surely the new...
Hi,
I have a UIView inside my xib in IB and inside that is a UIScrollview that is a small 80x80 square and dynamically loaded with 8 or so 80 x 80 thumbnail images.
The UIScrollview is not clipping the images so that they extend out either side so you can swipe left and right to scroll a chosen image into the the centre, paging is on s...
I've got a data model built in core data for the iPhone. I also have an NSUndoManager working for that model. The problem is that I have certain properties on an entity that i don't want affected back during an undo and other properties that I do want rolled back. Is this possible without drastically changing things. If so what is the be...
I need to display a date and, if it's not representing midnight, the time of that date using an NSDateFormatter. This is how I'm currently checking to see if it's midnight:
int minute = [[CalendarUtil cal]ordinalityOfUnit:NSMinuteCalendarUnit
inUnit:NSDayCalendarUnit forDate:date];
if (minute =...
I'd like to get a device for testing iPhone apps that I can wipe at anytime. A 1stG iPhone or iPod Touch is ideal. With an iPod touch, I'll pay for OS upgrades. However, on eBay, iPhones are going for $300+. Used iPod Touches are about $150-$200.
I want to avoid paying a monthly fee for the iPhone, which means I'll be limited to wif...
I have a BlackBerry app that I am about to port to the iPhone. The app contains mp3 files which causes the BlackBerry version to be about 10MB in size (even after I reduced the quality of the files to 92kbps). 10MB won't do for the iPhone. Does anyone know of any best practices when it comes to including audio files in your iPhone app? I...
I am doing the pinch swipe in UIScrollView. I have subclassed UIScrollView and for single tap and double tap everything is working fine. Even The touches began is working for swipe but not touchesEnded. When i do the pinch movement, whether inside/outside it appeas to move like a normal swipe. When I just tap on with double fingers also...
I have an app in the app store that uses a wildcard bundle identifier. I want to implement in-app purchashing , which requires a non wildcard ID. How do I convert the wildcard ID of an existing app to a static ID for in-app purchase and push notification?
...
Hi, there is something strange in my code. I'm sure to forget something but i don't know what. I try to handle phone, sms mailto and http links in an UIWebView.
This is how i try :
1/ instantiate the UIWebView :
webview = [[UIWebView alloc] initWithFrame:CGRectMake(0,0,320,460)];
webview.opaque = NO;
webview.backgroundColor = [UIColo...
In the 3.1 SDk, Apple added support for associated objects.
However, the simulator will not compile code that includes references to objc_setAssociatedObject, objc_getAssociatedObject, et al. (Undeclared errors)
Is there away around this? Can I make the iPhone simulator compile this code? I would hate to have to do all testing on the ...
Hey guys.
I recently posted my problem but neither did I get an answer here or elsewhere, nor can I find my post again...
Anyways, I want to try to state my point clearer, hoping you can help me this time maybe.
The part of code, this is about, looks like this:
CABasicAnimation *animation = nil;
CATransform3D transform;
animation = ...
Anyone care to shed some light on why UITableView makes so many repeat calls to its delegate & datasource as it's being setup? Just looking at one I'm working on now I see that numberOfSectionsInTableView is called 3 times and then viewForHeaderInSection cycles through 3 more times for each section (I have 2 sections so total of 6 times ...
I need to change the size of the cropping rect when using UIImagePickerController. In my case, I need the user to select images that are 320x385 but the crop rect currently only allows 320x320 (when allow editing is on).
Any ideas?
...