Hi,
I'm trying to animate a canvas on three different layers on the onmousedown and ontouchstart. The three canvas go from left to right at a different speed to give a perspective effect as long as the onmouseup or ontouchend are not fired.
I am using @-webkit-keyframes css to do my animations:
@-webkit-keyframes aCarsRight
{
from{ba...
i have a struct HLRange with two CGFloat's
struct HOLRange
{
CGFloat min;
CGFloat max;
};
typedef struct HOLRange HOLRange;
but how do i make a function like HLRangeMake(1,2); .. like CGRectMake?
--EDIT--
my header file
#import <Foundation/Foundation.h>
struct HOLRange
{
CGFloat min;
CGFloat max;
};
typedef struct HOLRange...
Hi everyone,
I am trying to add a Settings bundle in my iPad app, but it randomly shows up in the iPad settings menu.
When I run in Debug mode (Device or Simulator) it doesn't show up.
When I build in Distribution mode and then deploy the app on the iPad A it shows up but doesn't on iPad B (I have several iPads to test).
I am sure the...
When the 3.2 beta of the iPhone OS first came out, Xcode for 3.2 had to be installed side-by-side with the version for 3.1.2. I installed the new version (3.2) in /Developer and moved 3.1.2 to /Xcode3.1.2. Now I want to get rid of the old version and just use the new one since we can do that now.
I ran the uninstall tool at /Xcode3.1....
Try as I might, I cannot get this to work. Here is my latest attempt. Can someone clue me in as to why this does not work?
In a method which is called by my view controller's init method:
UIImage *image = [UIImage imageNamed: @"window22.png"];
UITabBarItem *item = [[UITabBarItem alloc] initWithTitle: @"Some Title" image: image tag: 0...
Hi, this is my situation:
I have an app of which i want to add in app purchase. I created an update version of the app. I uploaded a binary and rejected.
On the provisioning portal i created an app-id with unique id ( not wildchard * ) like: com.mycompanyname.myappintheoryblablabla
I created a new provisioning profile based on the abov...
I am working on a multi-platform app (Mono) that will store text in a centralized location on the web and synchronize this text across clients that could potentially be IPhone/Android/WP7/OSX/Windows(WPF)/Linux/Web. I need to support some degree of rich text (at minimum bold/italic/etc./basic lists/alignment), and I am trying to find a ...
When I view my app's memory in the xcode memory tool, i see that something called QuartzCore is reported as leaking many times. Each leak ranges from 16-80 bytes.
My code is not referencing this. it's all from withing UIApplicationMain(). So I'm not sure how to control this. Any ideas?
Thank you.
...
I have an app that functions much like an ebook. I have a bunch of textual information in various languages that is accessible through a number of drill down methods. When a user wants to get into where they were reading last, they currently have to navigate through the section and chapter menus to get back to where they were. An ideal s...
I want to use -drawRect: in an UITableViewCell subclass but it is covered by contentView. So the best option seems to be that I make a UIView subclass with my -drawRect: code and use that as contentView. But how could I feed my UITableViewCell subclass with that contentView?
UITableViewCell creates that on its own when the contentView p...
I have a table which I am manipulating with a tableViewController (no nib, and the controller is creating the table behind the scenes)
I'm trying to delete a row from the table based on its row number; I can delete it from the array I use to create the cell in cellForRowAtIndexPath, but I get a strange error if I try to do the following,...
Basically i map my controllers to accept the address class to be passed into the listingpage controller. Which is done here:
[map from:@"tt://listingPage/(initWithResult:)" toViewController:[ListingPageController class]];
[map from:[Address class] name:@"result" toURL:@"tt://listingPage/(initWithResult:)"];
This url is being used ...
I am trying to learn about all possible conditionals that can be used on Xcode regarding the iPhone and iPad.
I have found the file "TargetConditionals.h" on
Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.2.sdk/usr/include/
but this file do not shows all possible conditionals, just a small set.
I don't see, for example, __IPHO...
I want to store my CGPoint to the NSMultable Array, so , I have method like this:
[self.points addObject:CGPointMake(x, y)];
But I got the error, it said that :
Incompatible type for argument 1 of
"addObject".
So, I check out the API,
(void)addObject:(id)anObject
anObject The object to add to the end
of the receiver...
Hi,
I need to capture a image in a motion.Can I use video mode in iphone so that i can capture the image.
If it can happen Please let me know the class that need to be used.
Thanks,
Kishore
...
I have just encountered very strange problem - my GWT app hosted on Google App Engine does not want to work on iPhone over 3G, however it works fine over Wi-Fi.
For testing I created empty GWT module with only Window.alert in the onModuleLoad. If I switch on Wi-Fi, the alert is shown, with 3G - just blank page although with correct titl...
I'm self-learning iPhone development and I see that one of the aspects of an iPhone/iPad app is the start image that gets displayed when your app is run. I'd like my start image to display some basic info about the user when the app is launched, but that info has to first be collected by the user when the app is first run. That tells m...
Each time somebody touches a row inside a UITableView, I'm kicking off a series of asynchronous NSURLConnections, that download data and then parse and save that data into Core Data.
The problem is that when I do this, the UI is responsive during the data download, but as soon as the parsing and saving begins, the UI becomes non-respons...
I try to draw some lines with different colors.
This code tries to draw two rectangles with 1px thin lines. However, the second rectangle is drawn with 2px width lines, while the first one is drawn with 1px width.
- (void)addLineFrom:(CGPoint)p1 to:(CGPoint)p2 context:(CGContextRef)context {
// set the current point
CGContex...
Hi,
There is a couple of hours that I'm trying to set a tableView background image.
My controller is a subclass of UITableViewController, and I simply wrote this lines
of code in ViewDidLoad method.
UIImage *image = [UIImage imageNamed:@"home-portrait-iphone.png"];
UIImageView *imageView = [[UIImageView alloc] initWithImage:image];
sel...