Hi , i have the following bit of inline ARM assembly, it works in a debug build but crashes in a release build of iphone sdk 3.1. The problem is the add instructions where i am incrementing the address of the C variables output and x by 4 bytes, this is supposed to increment by the size of a float. I think when i increment at some such s...
Hi Everyone,
I am trying to implement an OpenGL eraser tool. I am struggling with this. I was thinking of painting somehow over the previous changes to "clear" out the changes. I can't use the background color because it is not a pattern, not one solid color. Can you point me to the right direction on how to implement an eraser tool...
I am designing a Padding struct as follows:
/* Padding. */
struct CGPadding {
CGFloat left;
CGFloat top;
CGFloat right;
CGFloat bottom;
};
typedef struct CGPadding CGPadding;
CG_INLINE CGPadding CGPaddingMake(CGFloat left, CGFloat top, CGFloat right, CGFloat bottom) { CGPadding p; p.left = left; p.top = top; p.right = right; p.bott...
Hi everyone,
I would like to know if there is an easy way to strike/cross out some text on the iPhone?
Thanks
...
I didn't use subviews but painted my things with -drawRect: inside an UIView subclass. Now I want to do some animations in there.
I guess that I can't count on core animation now since I have no subviews. So how would I animate then? Would I set up a timer which fires like 30 times per second? How would I know the animation step? Would ...
Is it possible to do that with quartz?
...
I try to access some values in a NSMutableArray I created, but I only get some numbers (address?) if I try to access them.
I was able to initialize an array and can add and change objects with
[myNSMutableArray addObject:[NSNumber numberWithInt:10]]
and
[myNSMutableArray replaceObjectAtIndex:0 withObject:[NSNumber numberWithInt:47]
...
I need my user to input some data like DF-DJSL so I put this in the code:
theTextField.autocapitalizationType = UITextAutocapitalizationTypeAllCharacters;
But unfortunately what happens is the first to letter type in CAPS but then letter immediately after typing the hyphen will be in lower case and then the rest return to CAPS therefo...
Hi guys,
I'm trying to get data from a website- xml. Everything works fine.
But the UIButton remains pressed until the xml data is returned and thus if theres a problem with the internet service, it cant be corrected and the app is virtually unusable.
here are the calls:
{
AppDelegate *appDelegate = (AppDelegate *)[[UIApplicatio...
The user will have a static list of items to choose from. Using a Picker View they will choose one of the items and then select how many of them they want.
Whats the best way to save this in core data? A Struct?
struct order {
NSInteger item;
NSInteger numberOf;
};
Or some sort of relationship?
Many Thanks
...
I'm trying to display a series of images in a animation where the duration between the images changes frame to frame. I can successfully animate images where the duration is the same. I've looked into subclassing UIImageView but it doesn't seem to allow you access anything that could be helpful.
I've also looked into subclassing UIVie...
I'm trying to send some push notification message to my App using the sandbox option.
I'm getting those messages on my console:
Sun Apr 25 21:56:22 unknown /usr/libexec/notification_proxy[57] : Could not receive size of message
Sun Apr 25 21:56:22 unknown /usr/libexec/notification_proxy[57] : Could not receive message
How do I resolve ...
Hi,
I'm trying to upload an iPhone app binary to iTunesConnect and keep getting the following error message "The binary you upload was invalid. the file was not a valid zip file". I had an app upload ok recently but this app is having problems. So after a while I carefully went through the following steps trying to make sure everything w...
I am building a 2d OpenGL es application For iPad it displays a background texture and numerous textures on top of it which are always in motion.
Every frame their location is recalculated based on time delta and speed and the entire thing is being rendered at 60 fps successfully, but still as the movement speed of the sprites raises, t...
I'm attempting to put the value associated with the key called "duration" into a UILabel
but I'm getting a blank or "(null)" result showing up in the UILabel.
My NSDictionary object with its keys seems to be logging as being full of the data and keys I think I want, as such:
the content of thisRecordingsStats is
{
"12:48:25...
With respect to CLocationManager docs....
Constant values you can use to specify the accuracy of a location.
extern const CLLocationAccuracy kCLLocationAccuracyBestForNavigation;
extern const CLLocationAccuracy kCLLocationAccuracyBest;
extern const CLLocationAccuracy kCLLocationAccuracyNearestTenMeters;
extern const CLLocationAccuracy ...
Hi all,
I subclassed UIImageView for controlling touch events.
The problem is that when i do userInteractionEnabled = NO, it doesn't work, i can still touch it and the touch methods response.
Even if i add big subview over it the touches happen.
Any suggest?
...
I have added add(+ symbol button) button to my navigation controller.
When I click it a view appears from bottom. I added a navigation bar and two buttons to it.
One save and one cancel button. And the view have one textEdit box. After editing I can save or cancel. If I touch cancel I need the view to disappear like it should go dow...
Hello, having a strange issue, must be something I'm just not seeing.
I set up a variable in the .h
NSDate *checkIn;
@property (nonatomic, retain) NSDate *checkIn;
I'm setting a variable to todays date in the initWithNibName:
checkIn = [NSDate date];
I also did synthesized it as well. Now later on in my program I use it to build ...
Is it possible for me to create a ipad application and install it on a device that is located at a remote location? Can this be done if I have its device id?
...