After I've unarchived an object with NSKeyedUnarchiver, I am able to use it like usual, but I am unable to re-archive it. When I try, it crashes.
[NSKeyedArchiver archiveRootObject:unarchivedObject toFile:fileName];
I tried looking in the developer resources in apple but I haven't seen a thorough explination of proper usage of NSKeyed...
Hello - I have written a tab based iPad application which has done well. I never intended for it to be an iPhone application because the content it displays really doesnt lend itself to such a small screen.
However, I have been getting a lot of requestes for the application to be compatible with iPhones as well.
Can someone point me ...
I've been told that some apps have video streaming which streams initially and when completely downloaded the video is stored to the user's device for quick and internet-free subsequent viewing.
Firstly, is this possible? Secondly, could you point me towards resources demonstrating how it could be done, or possibly offer some insight to...
I have a pdf open in a UIWebView and I would like to allow the option to open it in Pages. That is, I would like the action toolbar to become displayed when the user taps on the UIWebView (just like in Safari for iPad). How do you enable this capability in UIWebView, if possible?
...
Hello,
I'm writing an iPad application that has a UIWebView which I open word and excel documents in, but I want the user to be able to import those documents into the iWorks applications, Pages and Numbers, just like how you can do it in Safari if you open a document.
If you open a document in Safari on the iPad, there'll be a button ...
Can i do that? or It's a private API?
...
On our desktop pc, my wife likes to surf recipe sites, print out the ones that catch her eye, and file those printed sheets in her recipe notebooks.
Well now the iPad has been ordered and I'm trying to figure out how she can store and retrieve recipes but in an 'iPad-way'.
At this point I'm thinking of setting her up with delicious books...
Trying to follow some basic examples and getting stuck by this code that is EXACTLY like the example I am following:
[[NSUserDefaults standardUserDefaults] setObject:@"Sample Text" forKey:kWordsOfWisdom];
gives me the error:
expected ']' before ';' token
...
Hi,
I am trying to re-load a table every time some data I get from the web is available. This is what I have:
SearchDataViewController:
- (void)parseDataXML {
parsingDelegate = [[XMLParsingDelegate alloc] init];
parsingDelegate.searchDataController = self;
// CONTAINS THE TABLE THAT NEEDS RE-LOADING;
Implement...
Every iPhone/iPad application has its sandbox area, where I can store files. When I use the simulator this area will be somewhere in the hard disk. Is it possible to see this directory and its contents for a given application?
I am debugging an iPad app and it will be a lot easier if I can see the sandbox area contents in real time, as ...
I'm building an iPad app that allows users to save files in it and I want users to be able to open and import documents from other applications to my application. For example, I know that if you received an email and you want to save the attachment to my application, you're able to click on it and "Open with..." and choose the applicatio...
How can i get the ipad's CPU usage and memory usage?
...
I have a view between other views, the order may vary. For example: viewA on top of viewB, on top of viewC, or in another order.
Suppose I have
viewA, viewB, viewC, viewD and viewE
A is on the top and E on the bottom.
I need to replace viewC with viewZ, but I need to insert viewZ in the same index of viewC.
How do I know, before rem...
I have noticed that on the iPad the google maps app has a very cool page curl control that sits in the bottom right hand corner that allows the user to change configuration settings.
Is this control accessible for everyday developers, or was in built specifically for google maps on the iPad?
Thanks
...
Im currently using a UITableView like any other, and I am researching into the ability to perform a swipe gesture on the screen, which will then shift the contents of the visible table over to display new content
for example: swiping right-to-left on the screen would change (via animation) the contents within each of the cells on screen...
In iPad. I have a UIViewController with another UIview inside it, at the bottom.
____________
| |
| |
| UIView |
| Controller |
| |
| |
| X |
------------
The UIView is the X.
I define for it an autoresizingMask like this, on the viewDidLoad of the UIViewController
self.view...
All the examples i've seen for presenting a modal look very simple and i've been able to create one in a sample project quite easily. So there must be something basic i'm missing.
I've created an ipad app that has a tabbarcontroller with 3 items. There is also a pop over menu that functions just fine on the 1st item. On this same item i...
At a certain point in my application, I would like to temporarily disable the rotation feature - effectively "lock" the orientation in code, similar to what the lock toggle switch does on the iPad in hardware.
I'm currently doing:
[[UIDevice currentDevice] endGeneratingDeviceOrientationNotifications]
and when I'm through, I call:
[[...
How do I access the shared delegate or the device specific "delegate" in a Universal App?
I want to store properties on the Shared delegate and put basic logic there, but if I want to do, say iPhone specific stuff on the iPhone delegate, I would assume that I need to access the two delegates separately. Is this correct?
How do I acce...
Hi gang,
I am wondering if there is a way to translate the underlying matrix of a layer much like you can in ActionScript3.
In AS3 I can get the transform of a layer and shift it to, let's say, make the center of the layer the anchor point, rather than the upper-left corner.
The reason I ask is because I am trying to rotate a layer (c...