So, I'm looking to implement the ability for a plugin I wrote to read a touch "swipe" from a touch-capable internet device, like an iPhone, iPad or android.
Is there anything out there? I'm not looking for something as full as jQtouch, though was considering reverse engineering the code I would need out of it.
Any suggestions on the be...
I'd like to start up the App Store from within my iphone app. Is this possible - and how?
Thanks.
...
I read about NSLocaleCurrencySymbol, but where would I find the variable used to determine the "number of decimal places" used in a country's currency?
I.E. In the USA, it's common to see dollar amounts written with 2 decimal places: $1.23
What about many other countries?
Thanks.
...
Hello everyone,
I have a program that will scan the contents of a website, and display it in a textbox. The problem is that it shows the html source. For example if my html code was:
<html>
<body>
<p>Hello</p>
</body>
</html>
instead of just showing
hello,
it'll show the code above...
How can I get my objective c program to just ...
Right now I am using a bitmap array to get a specific pixel color value from a UIImage. I couldn't find anything online other than the code from here: http://www.markj.net/iphone-uiimage-pixel-color/) Which works well enough.
I wanted to know if there are any other ways to get the color for an image. Looping through myself feels a littl...
With the standard share at http://www.facebook.com/sharer.php one only needs to specify a URL. Title and thumbnail are automatically pulled from the web page (perhaps with the help of meta tags).
With Facebook Connect (I am using the iPhone SDK), I need to supply everything explicitly (URL, title, caption, description, images, etc.).
...
I'm making a line graph on the iphone using core graphics and instead of having a jagged chart, I want to smooth it out like in good old math class. What's the formula to pick where to put the control points for CGContextAddCurveToPoint?
CGFloat cp2x = (x + x + prevX);
CGFloat cp1y = (prevY + prevY + y);
CGF...
is there a way to get the current UIView object, which i defined in
- (void)viewDidLoad
to use/change them in another method in the same .m file?
thanks
...
I have a CALayer that I apply a perspective to using a CGTransform3D and specifying the m14 property. When the perspective is applied, the layer has jagged edges. I've heard people mention that adding a 1px transparent border around the layer will help with this. I don't know how to do that. I have tried using the border and borderWi...
Hey SO,
This might be a long shot, but I'm having a bug that I'm fairly sure is specific to my program. I'm animating something, and between then the animation starts and stops, something is influencing my animated view, and changing it's size.
I was wondering if there was a way in the debugger, or really in anything to see what's inf...
Hello, all.
I've got next problem: i've got 3 UIViewController and need to switch controllers by UIModalTransitionStyleFlipHorizontal.
Next code working fine:
testController.modalTransitionStyle = UIModalTransitionStyleFlipHorizontal;
[self presentModalViewController:testController animated:YES];
where testController - next control...
I was attempting to clean up the implementation for a sub-panel on a navigation controller stack, so that the navigation bar could be customized in the XIB instead of doing it manually in the viewDidLoad method.
The original (working) setup had the XIB set up with the "File's Owner" class set to the view controller class, and then the v...
Want to draw an UIImageView which has an CGImage, and the UIImageView has alpha 0.5f. But this CGContextDrawImage function doesnt take an transparency value. So how could I draw an image slightly transparent?
To be clear: The image itself is not transparent, but I want it to be "dimmed" a little bit. Just like you would do with an UIIma...
Apple says:
Tip: For best performance, make sure
that you set the smallest possible
clipping area for the objects in the
transparency layer prior to calling
CGContextBeginTransparencyLayer.
Sounds good, but how would I set that clipping area to the thing which I want to draw transparent?
...
How would I be able to set the position of a UIBarButtonItem? Like, I would like to set it to be on either the very right of a UIToolbar or the very left depending on a state.
Thank you.
...
My app needs to use a library which is only available for Python and Ruby. From my understanding, Apple allows Ruby to run on iPhone as long as users can't execute arbitrary code (Rhomobile uses Ruby).
How can I bundle Ruby/Python with my app, call a function from my Obj-C code, and get the result (a string) back in C or Obj-C format?
...
The text inside an UILabel is smashed against the left and right borders. Is there an way of adding some inner padding to the UILabel, so that text won't touch the inner borders so closely?
...
I'm building a custom UIView, which draws its own content in a drawRect: Method. I want to stroke a CGPath with a color, and then grow this selection 1px and stroke with another color. Has somebody worked out a method to do this quite easily?
...
Hello,
I'm making a game on iPhone using cocos2d, and I have a question.
In my init method I'm doing this :
[self schedule:@selector(newMonster:) interval:1];
It create a new monster every second.
But I'd like that the interval change over time. For example :
The 10 first seconds of the game: a new monster appears every 1 seco...
Hi Everyone,
Is there a way to increase the frequency calls of touchesMoved than the default? I need more calls of it to draw a smooth circle. It gets called not too frequent by default and so I get an edgy circle. Is there a way to tweek the frequency of touchesMoved calls?
Thanks
...