I'm playing with CGPDFDocumentRef on iPad to read and write PDF's.
While going through the CGPDFDocumentRef class reference, I found ways to read, search and create a PDF file. Thanks to stackover.com where I found more solutions to what I want.
But I would like to know how to append text or image at the end of PDF. Or some other instan...
Hi!
I want to Integrate Sliding Panel Control Like used in Twitter so i can i integrate it.Give me some idea and Sample code if anybody integrate it.Thanks in Advance.
...
Hi guys,
In my code I have a table, and in my table I have a slider which I transform so that it is vertical.
metricSlider.transform = CGAffineTransformRotate(metricSlider.transform, 270.0/180*M_PI);
But every time the code gets called to draw the slider, it of course applies the transform on top of the previously applied transform.
...
Hi
I have a lengthy video in server,if i try to play that video in iphone using the code below
NSURL *url = [NSURL URLWithString:@"http://somelengthyvideo.mp4"];
player = [[MPMoviePlayerController alloc]initWithContentURL:url];
[player play];
i am facing the following problem.
the buffering time is very slow, compare to the video p...
Hey guys,
I got this really weird bug which is making me crazy:
I push a UIViewController (lets call it tableViewController) which contains a UITableView and therefore conforms to <UITableViewDelegate, UITableViewDataSource> onto another UIViewController (lets call it rootViewController) with:
[self.navigationController pushViewContro...
I've got a problem understanding why a subclass of UIAlertView seems to be drawn in different ways in iOS3 and iOS4.
My project must work under iOS4 (base sdk) and iOS3.1.3(deployment target). In that project I subclass a UIAlertView for creating an InputAlertView that is similar to the one that ask you pwd when you buy on the AppStore ...
I've noticed that in my Core Data data model, some entities are (in the top-left panel) have a class of 'NSManagedObject' and some are named after a class (Person, Company etc). There doesn't seem to be any logic in whether the entity has a class of NSManagedObject of Person etc. And my code seems to work ok. So I'm wondering why there i...
Hi everyone i am new to iphone development.I am working on an application which required to check and register the user name and password using soap web service.could anyone help me how to do that with that web service.i have two text fields for login.and button to check if the credentials are correct or not.
...
I Have a small problem with NSCoding and NSKeyedArchiver when persisting my App Settings class and was hoping someone could spot an issue if it's my code, I am relatively new to Obj-C but have plenty of coding experience in numerous languages so the code seems ok to me but...
I have an instance class to hold my app Settings, the class i...
I have a run of about 10 different methods, they all pass "page" and "index" between them in order to define a ScrollView with multiple pages. The majority of these methods run within a loop (for each page).
I'm working on a way to re-orient and re-position the pages depending on the device orientation. My trouble now is trying to get a...
I have an UIView that in front of a bigger UIView, I want to hide that current View when tap on the behind View but I can't get Touch Up Outside event work, Touch Up Inside that View work fine.
(The behind View have another controls)
Thanks
Tung Do
...
Hi,
is it possible to change the uitableviewcellaccessory image in tableviewcell??
...
I have been able to run the Static Analyzer on my code fine for months. All of a sudden now I am getting the error:
<command line>:0:0 Analyzer skipped this file due to parse errors
Not sure how to diagnose.
The first tile it skips is:
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.sdk/System/Library...
Is this good or bad practice?
if (!theConnection && !receivedData) {
// release the connection, and the data object
[theConnection release];
// receivedData is declared as a method instance elsewhere
[receivedData release];
}
...
UITableView not scrolling smoothly...(iPhone SDK) ..!!
I have implemented UITableView DataSource and Delegate methods in an individual separate classes.(one for delegate and one for datasource) in main program i write only:
//assume that all objects are allocated
ObjTableView.dataSource=ObjDataSource;
ObjTableView.delegate = ObjDelega...
Sorry about the weird title... all will be explained.
Basically I have an array/dictionary structure like this in my app:
NSArray {
NSDictionary {
(NSString *)id;
(NSDictionary *)dictionary;
}
NSDictionary {
(NSString *)id;
(NSDictionary *)dictionary;
}
NSDictionary {
(NSSt...
Hi - I'm fairly new to iOS programming, I've just managed to make a view completely programatically (no interface builder)...but now I'm wondering how I access the different elements such as a UILabel or UISwitch etc. In IB I'd just connect them up to their respective outlets / ibactions, how do I do it when I've created it the view from...
HI guys.
Part 1.
In the IB under Identity tab you can find an attribute called "Object ID".
I can not find a way to get hold of this ID from code. Oh, and I know about the tag attribute but it's not what I need.
Part 2.
I essentially would like to get the unique object ID for a UIComponent that was touched on the sceen. I already have ...
I have created a View controller with some methods I need to use often in different aplications. It works like a charm if I use it directly but when I try to create another UIViewController that extend my class I cannot access self.view anymore. This is the init method of the original class:
- (id)initWithNibName:(NSString *)nibNameOrN...
How would i go about creating an image sequence with core animation. I would like to:
add image1 for 1 second then remove image
add image2 for 2 seconds then remove image
add image1 for 3 seconds then remove
CGImageRef image1 = [self getImage1];
CALayer *image1Layer = [CALayer layer];
image1Layer.bounds = CGRectMake(0, 0,...