iphone

Where to Find High Quality Online Video Training for Developing with Apple Technologies (Mac OS X, iPhone, etc)?

I am looking for some high quality online video training for developing with Apple Technologies that can be subscribed to at a reasonable cost. The technologies I am looking for them to provide training on is developing applications for Mac OS X, iPhone and iPad using Xcode, IB, and Objective-C. They must be top notch technologist and p...

How to make/use temporary NSManagedObjects?

Simple, common pattern I can't find in Apple's docs: Load a coredata store Download new data, creating objects in memory Save some of the new data to the store (usually "only the new bits / bits that haven't changed") Instead, I can find these alternatives, none of which are correct: Don't create objects in memory (well, this means...

ipnoe development ..need to fade text over a back ground image

i wish to have a lable with text that appears and the slowly fades over a background image. and have a lable on the image with text but i wish it to stay for i second and then gradualy fade im using xcode and utalising interface builder. thanks ...

Porting iphone app. If you were to start your app again from scratch what would you do differently?

If you were to start your app again from scratch what would you do differently, knowing the platforms you were going to port to? This questions comes as my team is about to under-go development for a mobile app targeting iphone, android and qt. We aim to complete the iphone version first, and then port to android and qt, and it would be ...

How to create high-resolution iphone launch image?

As per the Apple iPhone Human Interface Guidelines I have created a Default.png image which is displayed while waiting for the application to load. I created the image using the xcode organizer 'capture screenshot' feature. I am now preparing my application for the iphone 4 high resolution screen and am wondering how to create the high...

Strange iPad screen issue - moving between views pushed controls up?

I am having a strange problem when I switch views using the UIView begin, set and commit animations. For some reason when I change the views it is pushing the elements that I have on the screen up by about 10 pixels? For example, when I load my first view the elements on the screen load correctly, but as soon as I move to another view ...

problem using MPMovieController in iPhone SDK 4.0

I was using MPMoviePlayer to play a short video in my app with no problems in SDK 3.1.3. I made the changes to the code in SDK 4 but the video is not playing. I just get a black screen and audio. The Apple Dev Center doesnt have any sample code for this class for the latest SDK. Following is the code I'm using: (void)viewDidLoad { [su...

how to print current memory size in my app?

hi,all。 i want know current memory size in my app,for example,i wanna print the heap or stack memory size use in one class or method,how to do it? has some method to get the memory size? ...

When you select Cell, UITableViewCell to change the size of the Cell.

I want to change the size of the selected cell. But, they shift position of the touch cell. - (void)tableView:(UITableView *)aTableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { UITableViewCell *currentCell = [aTableView cellForRowAtIndexPath:indexPath]; CGContextRef context = UIGraphicsGetCurrentContext(); [UIView begin...

How do I call a IBAction method from within another method

Hi I am trying to call a method from a method, I am getting incompatible type for slider changed on the code where I am calling the method from: [self EVsliderChanged: (float)EVslider.value ]; I assume that means that float is not the right type for uislider.value? or perhaps it is expecting me to pass it something different, bellow i...

Basic description on how to record video in iOs 4

Hey guys i was curious if anybody could give me a very brief description of how to make an app record video in iOs 4. I know how to do all the media and whatnot using the os 3 method of using the UIImagePickerController but I do not know if that is still available in iOs4 and if not, could someone please give me a very brief description ...

How do I put a SuperView on top of a SubView?

I want to put a SuperView (with a transparent background) on top of my SubView. Is there a way of doing that? Thanks in advance! ...

Calling MainViewController method from subview

I have added a subview in my MainViewController. How can i call a method of my MainViewController from my subview? ...

NSInvalidArgumentException

I'm working through "iPhone Development: The Big Nerd Ranch Guide". The project is "Random Possessions". I am faithfully following the code in the book and it compiles OK but I get this exception when running it: 2010-07-04 11:43:48.511 RandomPosessions[14828:a0f] -[Posession initWithPosessionName:valueInDollars:serialNumber:]: unrec...

How to make faster pushing a UIViewController into a UINavigationController

I have a multiple view based application, the problem is that when I push one UIViewController the device (only when I test it on a real device) freezes for a second or two, I don't know why is this happening since the pushed UIViewController has only one UITextField & a button. This only happens when the view is pushed the first time, a...

UIImagePickerController seems to be "broken" in 4.0. Anyone else?

Been working on a 3.1.3 application and recently upgraded to the 4.0 SDK. I'm still building with a Base SDK of 3.1.3 and testing on a 3.1.3 device as well as a device running 4. On 4.0 device, when a UIImagePickerController is displayed I get the following messages: Using two-stage rotation animation. To use the smoother single-stage a...

iPhone app not reloading data after reopening

Hi I am new to objective-c and iPhone app development. Currently I've been faced with a problem that I'm not sure how to fix. The problem is that I want my app to completely close and release all data when the user presses the home button and then when the user reopens the app it refreshes the data from my online server. I am currently ...

Cancelling NSOperationQueue from within NSOperation

I have some iPhone SDK 4.0 code which initializes an NSOperationQueue and then adds three classes (ClassA, ClassB, and ClassC) to run one after the other. ClassA, ClassB, and ClassC are all sub-classes of NSOperation. The relevant code is included below. ClassA *classA = [[ClassA alloc] init]; ClassB *classB = [[ClassB alloc] init]; Cl...

Problems with making web service requests with custom headers via MonoTouch

Hey All, My team and I are working against a few webservices that require SOAP Message Headers to be available when making a request. We are not in control of these webservices so we can't change the implementation, even if we wanted to (or at least not without a lot of pain). We just need to be able to have authentication related infor...

How to make UITextView scroll up when entering it?

Hi, I have a UITextView included in a UITableViewCell. The layout is correct when the views are initially displayed, but once I click in the UITextView it DOES NOT automatically scrolls up and the whole UITextView becomes invisible. This image is when the UITextView is not active: http://img13.imageshack.us/img13/3894/unloaded.png A...