iphone

When does validation happen in Core Data?

From the docs: If you make changes to managed objects associated with a given context, those changes remain local to that context until you commit the changes by sending the context a save: message. At that point—provided that there are no validation errors—the changes are committed to the store. So does that essentia...

iphone sms application

How to develop a sms app for iphone? Are there any api available to develop this kind of app? Is there any other way to develop this type of app for iphone apart from using api Please suggest me some ideas.. Thanks ...

Are there more Cocoa and Cocoa Touch videos which are worth looking at?

To gain a better understanding, I think it would be great to watch every video available on the net. For me, training videos became sort of entertaining. I love them! And at the same time, it's the most productive form of "watching movies". Unfortunately, I tend to find videos from conferences or podcasts only by accident, so maybe you ...

How do I store a cookie value as a String?

I am having problems storing a cookie value as a string for an iPhone project. Currently, I am retrieving the value of the cookies this way: NSString *somevalue; for (NSHTTPCookie *cookie in cookies) { NSLog(@"Name: %@ : Value: %@, Expires: %@", cookie.name, cookie.value, cookie.expiresDate); somevalue = cookie.value; } Now, ...

How to crop images in iPhone SDK?

I want to allow a user to select pixels on the screen and create a new image from the pixels created. Is there a specific class for this or would I need to do this all my self? ...

building odcctools in a 64-bit OS

The odcctools package provides binutils for the Darwin OS. -- this allows you to cross compile to Darwin and OSX for example. However, odcctools does not seem to build properly on 64-bit OSes: ./../expr.c: In function ‘expression’: ./../expr.c:311: error: ‘union <anonymous>’ has no member named ‘n_name’ Or, if you set CFLAGS to -m32, ...

Will artwork created for iPhone 3G need to be updated for iPhone 4?

I've created artwork for apps on the iPhone 3G. I want to make these apps available on the iPhone 4. Does the new screen resolution on the iPhone 4 require re-sizing all the artwork? ...

How to fix codesign when it says user cancelled the operation? (And I didn't)

I'm compiling an iPhone app meant to be Distributed. It's my first app so I followed the "iPhone Provisioning Profiles" instructions. Unfortunately it fails with this: CodeSign build/*_*_.app cd "/Users/videojuegos/Documents/*_*_" setenv IGNORE_CODESIGN_ALLOCATE_RADAR_7181968 /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/code...

What's does "cardinality of an relationship" mean in Core Data?

From the docs: If all of a managed object's relationship delete rules are Nullify, then for that object at least there is no additional work to do (you may have to consider other objects that were at the destination of the relationship—if the inverse relationship was either mandatory or had a lower limit on cardinalit...

Where is the leak?

UIGraphicsBeginImageContext(targetSize); //instruments show here a leak 128bytes CGRect thumbnailRect = CGRectZero; thumbnailRect.origin = thumbnailPoint; thumbnailRect.size.width = scaledWidth; thumbnailRect.size.height = scaledHeight; [sourceImage drawInRect:thumbnailRect]; newImage = UIGraphicsGetImageFromCurrentImageContext(); U...

monotouch startup window

just wondering how to set startup window of monotouch application... ...

What exactly is the Nullify delete rule doing?

Does that mean that if I delete an managed object which has references (relationship) to some others, the relationships are removed to those others? Example: objectA references objectB and objectC. objectA gets deleted, it's relationship to objectB and objectC is set to the Nullify rule. What happens in detail? ...

How does one make the camera on the iphone appear from the app delegate? Is it possible?

I'm just playing around with a simple program that opens the camera. That's literally all that I want to do. I'm a beginner and I believe that I have the basics down in terms of UI management for the iPhone so I decided to give this one a whirl. What I'm trying to do right now is... - (BOOL) application:(UIApplication*) application did...

iPhone. How to get the rect of parent view?

Hi, My application creates two views: topView (CGRect = 0,0, 320,60) bottomView (CGRect = 0,60, 320,480) Bottom view creates UITabBarController with UIViewControllers: ListViewController etc... ListViewController has own views that are created in viewDidLoad method: background = [[UIImageView alloc] initWithFrame: rect ]; So...

Stack Info button above UIView in Utility App

I've started creating a iPhone Utility app (main view and flip view). I want to draw some graphics in the Main view, so I dragged a UIView object onto it. This works, but I find that if I resize the UIView to fill the Main view, it covers the Info button that invokes the Flip view. Is there any way to get the Info button to appear on ...

Is there a way to disable landscape for iPhone/iPad in iUI

I have a web site written using iUI so it is formatted well for iDevices. Is there a way to disable rotation of the page when the device is rotated? In other words, if somebody rotates the device, I would still want the page to stay in portrait mode. ...

can iPhone application use push service if deployed via enterprise deployment?

Based on following question push notification service cost I want to know, will my application receive push notifications if it is deployed via Enterprise deployment, and is there any limit of number of installations of enterprise deployment for push notifications, we currently have 10000+ users, but the application is only for the mem...

How to decrease width of table view cells for iphone

I'm trying to create a grouped table view with two sections. For the first section I would like the width to be only half the screen. For the second section it would be the standard width. Also, next to the first section I would like to put a button. How is this done? Thanks! ...

Can I animate a radial gradient in iPhone?

I would like to animate a radial gradient to shrink and grow the inner radius, as if it were pulsing. Right now I'm rendering the gradient with CGGradient, but I'm not sure how to animate it. I've seen this topic http://stackoverflow.com/questions/1819311/can-you-animate-gradients-using-quartz-in-an-iphone Which explains how animate a...

Dealing with UIImagePickerController to minimize memory useage

So, I have read the SO post on UIImagePickerController, UIImage, Memory and More, and I read the post on Memory Leak Problems with UIImagePickerController in iPhone. I have VASTLY increased my memory efficiency between these 2 posts, and I thank the OPs and the people that provided the answers. I just had a question on the answer provid...