I have an application with several views and a tab controller.
I've created a view that contains the elements for the header of my application which is consistent on every view. This way I do not need to recreate the header on every view, I can just overlay the HeaderView over the tabbarcontroller.
The problem is that when I add the ne...
Hi,
I have a tableview and I'm doing an insertrow animation on it, and sometimes I have the deleterows animations too.
But the problem is that sometimes the delete is called before the insert finishes.
Is there a way to know when the animation is over?
Thanks
...
On iPhone, when adding a subview to the window view manually, do I need to account myself for the 20px of the top status bar? That is, do I need to create views with a frame set to (0, 20, 320, 460):
UIView *myView = [[UIView alloc] initWithFrame:CGRectMake(0, 20, 320, 460)];
[window addSubview:myView];
If so, are there some official ...
How can i access the raw footage from movies taken with my camera, so i can edit or transform the raw footage ( eg: make it black/white ).
I know that you can load a mov with AVAsset
make a composition with different AVAsset's
and then export it to a new movie, but how do i access so i can edit the movie.
...
Hi, is there a way to make the MKMapView place a pin with a given address? Without using the Coordinates
Thanks
...
Hi there!
I have an NSMutableArray countHistory defined and am trying to pass it to the next view controller:
Updated Code:
NSLog(@"Debug One");
HistoryTableViewController *controller;
NSLog(@"Debug Two");
controller = [[HistoryTableViewController alloc] initWithNibName:@"HistoryTableViewController" bundle:nil];
NSLog(@"Debug Three");...
If I use an unoptimized PNG for my Default.png image, how much am I going to pay for that in startup performance? I realize that Xcode optimizes PNGs when they're copied into the .app bundle, but I'm performing a little build-time scriptery and ending up with regular PNGs there. Seems to run fine, but I want to be sure.
...
I have a table view, which populates data from the web. To add information to this list I have a configuration screen presented modally. When data is added successfully the configuration screen is dismissed, I would like the data in the table view to automatically reload from the web to reflect the newly added data.
What is the best w...
Hi,
does anyone knows how can i can call a notification similar to
- (void)applicationWillTerminate:(NSNotification *)notification
which is when app terminate, but what i want is when i drill up a navigation view.
thks in advance.
...
Has anyone worked out a way of getting system buttons into a UISegmentedControl (a UIBarButtonSystemItemAdd, for example)?
If I can't work it out, I'll probably have to extract the system images somehow but it seems wrong, and I'd be surprised if that's how Apple did their segmented control for navigating up and down emails messages in ...
Question regarding layer two bitmaps on top of each other, one of which is semi-transparent.
I have a custom UIView called foo. I have two CGBitmapContext's I have created. They are effectively being used as offscreen buffers and are of equal rectangular dimensions. I want to take the two of these offscreen and layer them one on top of ...
Hi,
I started using core data and I read that I can save the data using the managedObjectContext "save" function.
However, I noticed that when I fetch records from my store (sqlite db), even if I change my managed object without saving, and I reload my view , the new data is loaded.
(In my viewWillAppear I fetch the data all over again...
Any good documentation or articles out there about doing device-to-device data transfer?
...
The basic problem I have is how to keep something on the screen on Safari at all times, while still allowing the user to zoom/pan etc.
The full version is that I am writing a bookmarklet, so it needs to work with as many websites as possible. The overall goal is to have my div show up, anchored to one of the screen edges at all times. T...
controller.modalTransitionStyle = UIViewAnimationTransitionFlipFromLeft;
[self presentModalViewController:controller animated:YES];
Is there any way to make it flipping with a thick border/side? (like iBooks app, when you're switching between books view and the books store)
...
Hi guys hope you doing well i want to launch my application automatically when it gets notification without showing alert, how it is possible.
One more question is that it is possible to run a continuous sound in the background when the notification arrive means "local Notification".
Thanks in Advance.
...
How do I go about hiding the iPhone status bar in select views only? I know there is an option in the plist file but that applies to the whole project. Also, Ive tried using this line:
[[UIApplication sharedApplication] setStatusBarHidden:NO withAnimation: UIStatusBarAnimationSlide];
but this applies it to the whole project, even if I ...
Hi all,
I am a little perplexed and I have been working on this for hours and googling without any real leads. I want to create a callback in objective-c for my iPhone app utilizing the @selector.
Class 1:
- (void) someMethod {
// create selector
SEL successCallback = @selector(successMethod);
// call some service with c...
I have this snippet of code from a class created by Erica Sadun, that Instruments says is leaking:
- (void)cacheBeginPointForTouches:(NSSet *)touches
{
if ([touches count] > 0) {
for (UITouch *touch in touches) {
CGPoint *point = (CGPoint *)CFDictionaryGetValue(touchBeginPoints, touch);
if (point == N...
Hello,
I have a problem with Core Data which has left me at the end of my tether. So I was wondering if any of you wonderful people could help.
Basically, I have two entities in a Core Data project. These are:
Author {authorName, dateOfBirth}
Book {bookName, pages}
There is a one-to-many relationship from author to books called 'auth...