Hi,
I am using - (void) touchesMoved to do stuff when ever I enter a specific frame, in this case the area of a button.
My problem is, I only want it to do stuff when I enter the frame - not when I am moving my finger inside the frame.
Does anyone know how I can call my methods only once while I am inside the frame, and still allow m...
I've implemented gestures (touchBegan-moved-ended) in order to allow for swiping through my tabs. It works. I'd like to add a slide-from-left and slide-from-right transition. It would be better if it could be part of the gesture if statement which tells me if the swipe is towards the right of left. Since I determine which tab is displaye...
I have a UIScrollView which houses several views. When a user flick using a finger, the view scrolls to right or left depending on direction of finger flick. Basically code works in a way similar to iphone's photo app works. Now is there a way I can programmatically do what user's finger does so that I end up with sort of a slideshow tha...
hi all ,
I am developing an iPhone application .
I have tested it on iPhone simulator and device through the current which includes xcode 3.1.4.
Currently apple launches iPad to its touch devices .
They are telling that all current iPhone applcations can run on iPad as well.
So my question is that if I want test my app on iPad as we...
How can I make a UIButton perform my class method, +doSomething:(id)sender, on class MyClass, after any event like UIControlEventTouchDown? Can I use -addTarget:action:forControlEvents: like I do for instance methods?
Thanks in advance.
...
I simulate a memory warning on the simulator.
SettingsViewController releases it's view since it is not showing.
I display the SettingsViewController view, loadView gets called, and then in viewDidLoad, the program hangs on the following line of code:
self.unitSwitch.selectedSegmentIndex = 1;
On my terminal, I get this message:
-[NS...
How do I duplicate my xcode project? (iPhone SDK)
By the way, I simply duplicated/renamed the entire project folder. But when I started working in the new (duplicated) project (after changing app ids, provisioning profiles) I started getting errors about targets. I have no clue about what targets are or anything either so. Hmmm. Hope th...
I'm trying to setup application unit tests for my iphone app. So I made a copy of the app target, and a unit test bundle target as described in apple's documentation.
After following Apple's directions, I wasn't able to reference my classes in the unit tests, so I linked the app into the unit test bundle using the "Bundle Loader" build ...
I need to implement in-app purchases.
Can I test my test app without submitting to App Store?
How can I create a iTunes test account for in-app purchases?
...
I am using the following code (from a blog post) to resize an image
if (inImage.size.width <= inImage.size.height) {
// Portrait
ratio = inImage.size.height / inImage.size.width;
resizedRect = CGRectMake(0, 0, width, width * ratio);
}
else {
// Landscape
ratio = inImage.size.width / inImage.size.height;
resizedR...
I have an UIViewController, this controller is contained in a navigationController.
I add an UITableViewController in this viewController. I would like to call a pushViewController method when I press on a cell of my tableView.
I tried this :
UITableViewController
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NS...
When you take photos witha UIImagePickerController on the iPhone, I and many internet denizens have found you need to run the images through this function to orient them properly (and scale them while you're at it).
There is a giant thread about it here: http://discussions.apple.com/message.jspa?messageID=7276709
Unfortunately, this fu...
As the title, I'm finding vector/matrix library in C optimized for iPhone/iPod processors.
Or just generally fast.
---(edit)---
I'm sorry for unclear question.
I'm looking for fast lib for commercial games for iPhone/iPod. So GPL lib cannot be used.
However, I'll stop finding fastest lib, it maybe meaningless.
...
Hi,
I have a XML file on a server encrypted with the RC4 algorithm (http://rc4crypt.devhome.org)
function encrypt ($pwd, $data, $ispwdHex = 0)
{
if ($ispwdHex)
$pwd = @pack('H*', $pwd); // valid input, please!
$key[] = '';
$box[] = '';
$cipher = '';
$pwd_length = strlen($pwd);
...
Hello, all!
I need in antialiasing in iPhone 3G (OpenGL ES1.1), NOT iPhone 3Gs with OpenGL ES.2.0.
I've draw 3d model and have next: pixels on the edges of the model look like teeth.
I've try set any filters for texture, but this filters making ONLY texture INSIDE look better.
How can i make good antialising ?
May be i should use any ...
Hello All...
Currently I have my application in which I am creating some plist file in User's Device and storing some local data.
Now, my confusion is that what happen if i will launch next version of my application and once user will upgrade my application's current version then what happen with that plist file which is stored in User...
hi expert, is it any possibilities programatically to detect bluetooth device from iphone, i done for wifi detection using WifiManager.bundle
thanks
...
Hello guys!
Maybe is there a way to do animation only on one image?
So if I have an UIImage and I want to animate it like a wave. Is this possible? And if yes, can you give me some examples or a link to start or something like this? (I used google but didn't find any good start link...)
...
I am reading string data from a PLIST which I am using to create a JSON string (incidentally for use within Facebook Connect).
NSString *eventLink = [eventDictionary objectForKey:EVENT_FIND_OUT_MORE_KEY];
NSString *eventLinkEscaped = [eventLink stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
NSString *eventName = [event...
If I set a UITextField to UIControlContentVerticalAlignmentCenter, the placeholdertext is kind of blurry. Any suggestion?
Thanks for the help :)
...