I'm trying to localize an iPhone project for the first time, and programming for the iPhone 4 Base SDK for the first time, and it's not going well. My program should be easy to localize because I don't have to change any nibs. The Apple Developer resources on localization indicate that I need a .lproj directory in my settings bundle fo...
I have an existing PHP/MySQL website that relies hugely on form POSTs for things like signing up, logging in, searching etc. I now need to create a native iPhone app for it. The business requires a native app for marketing reasons, I can't get away with a mobile optimized website.
I'm looking for suggestions from someone who has already...
I have a grouped UITableView that contains several cells (just standard UITableViewCells), all of which are of UITableViewCellStyleSubtitle style. Bueno. However, when I insert images into them (using the provided imageView property), the corners on the left side become square.
The code being used to assign the values into the cell is...
I would like to shrink my UIView to the top left corner. I am currently using a scale transform to achieve this, but the view is shrunk to the center. I have tried to change the layer's anchorpoint, but this results in the entire view changing position on screen . How should a transform be set up to achieve a shrink to the top left corne...
Hi, Everyone:
I use the NSXMLParser to do the XML Parser from my Web Service(SOAP actually), but i face some problem here. I receive the xml data frame from NSConnection, it contains the & " < RAW string, so i use the following to convert it:
[self replaceOccurrencesOfString:@"&" withString:@"&" options:NSLiteralSearch range:NSMakeR...
I'm trying to make a UITextView look like a piece of paper with the red lines, margins, etc. I haven't found anything that would allow me to use graphics in a TextView and I can't use a TextField because I need to allow multiple lines... I've tried drawing in a normal UIView and then trying to blend that with the TextView but that appare...
Hello,
I think I have a problem, maybe linked to a retain cycle in Core-Data.
The code is a follow, where self.image is also a NSManagedObject:
- (void)setImage:(UIImage*)image1 andThumbnail:(UIImage*)image2
{
self.image.data = UIImageJPEGRepresentation(image1, 0.85); // This is autoreleased
self.thumbnail = UIImageJPEGRepresen...
hi
to all i want to know why location manager in iphone gives wrong coordinate at first time when run application.Due to this my distance is come 100 meter at start of application and my average speed is also effected due to this
...
I am trying to detect touch on a particular area of screen where if user taps I can do something like this:
- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event
{
UITouch *touch = [touches anyObject];
CGPoint point=[touch locationInView:myView];
NSLog(@"pointx: %f pointy:%f", point.x, point.y);
if (CGRectCo...
Hi Guys,
Can any one help me out with UITableView animating issue.
By default we have animation for deleting cell and reordering cells in UITableView.
Can we have animated adding cell, if so how to do it.
I have checked out Three20, did not not get how twitter has done the table expand animation under MyProfile>ReTweets.
Want to try...
I want to take an image from the UIImagePickerController and put it on a UIImageView that can move based on touch. I'm not sure how to get the picture onto the UIImageView. I thought the UIImageView automatically resizes the picture, so I couldn't grab just the top half of the picture and put that on the UIImageView. Is there an easy ...
How can I create multiple controls (such as UISwitch) in a UIView (or on top of UIScrollView) using the interface builder? I have about 20 such controls.
Appreciate any pointers.
...
Hii Frnz,
I am developing an app which computes the distance travelled by the person and shows a map view which draws a line showing the user path from initial position to final position.
Now I am stuck as to how to trace a line on the user path...Should I try a custom annotations(or overlays) or is it possible to draw line on user pat...
i have a method in subclass of UIView like this
-(void) reDrawPreviewWith:(UIColor *)textColor withGlowColor:(UIColor *)glowColor withGlowIntensity:(float)glowIntensity
I am calling this method by
float glowIntensity = 30.0f;
[preview reDrawPreviewWith:[UIColor colorWithRed:red green:green blue:blue alpha:1.0]
...
I have implemented pdf reader application for ipad.Its working fine in simulator.But its terminated in device with exit status 10.I done know whats happning.Please help me solve this problem.
Thanks in advance.
...
hello everybody. i am creating a dropdown button in my app. Like a pop-up control which is available in webapps. so when i click on a button, a new uiview containing a pickerview appears. i user beginanimations and commitanimations for dispalying and hiding the uiview. the new uiview is half the size of the scrollview.
I want that when...
Anyone able to offer a little help on this? I just received feedback from Apple advising my app could not be accepted because it contained adbanners that were still visible when no ads were being served, trouble is I can't figure out quite what to do to prevent this problem.
[QUOTE]
We've completed the review of your
application; ...
What is the difference between (retain, nonatomic) and (nonatomic, retain) in code such as this:
@property (retain, nonatomic) YellowViewController *yellowViewController;
?
...
In a header file such as this, when would an instance variable be used and when would a property be used?
Do they have to have the same name?
#import <UIKit/UIKit.h>
@class BlueViewController;
@class YellowViewController;
@interface SwitchViewController : UIViewController {
YellowViewController *yellowViewController;
BlueView...
hello,
I have some problems with the layout of my core plot graph.
To be more precise, I have created a GraphViewController (.h, .m and associated nib file). In the nib file I have added another UIView. This embedded view will be used to set the graph (as I do not want it to use the whole view). I then need to create a hosting view from...