Search Results

Search found 4 results on 1 pages for 'user158103'.

Page 1/1 | 1 

  • Release a retain UIImage property loaded via imageNamed?

    - by user158103
    In my class object i've defined a (nonatomic, retain) property for UIImage. I assigned this property with an image loaded via [UIImage imageNamed:@"file.png"]; If at some point I want to reassign this property to another image, should I have to release the prior reference? I am confused because by the retain property I know i should release it. But because imageNamed is a convenience method (does not use alloc), im not sure what rule to apply here. Thanks for the insight!

    Read the article

  • Swapping UIImages causing 'unrecognized selector sent to instance' ?

    - by user158103
    Error: [__NSCFDate drawAtPoint:]: unrecognized selector sent to instance 0xd251e0 Termininating app due to uncaught exception 'NSInvalidArgumentException' Scenario: for the most part this works. But I notice this error, even on the simulator, when I swapping UIImages, slowly, but consistently. For example, I have a retained reference to a UIImage that im drawing. By the click of a picker control I am changing the face image (this occurs in another view-controller). I can consistently recreate this error by continuously changing the faces. It usually crashes at about the 4th swap or more. My theory: It's not loading the image, therefore the image reference is nil. I know ive read a bit about UIImage being cached, so I wouldnt think im running out of memory. Any ideas? Thanks!

    Read the article

  • Prism's ItemsControl seems to have a xaml parse error. Why?

    - by user158103
    I am at a loss as to why my Shell.xaml's ItemsControl is causing a parse error. I know the syntax is correct because I copied the Silvelright project files from a working project. Right now my only guess is that ItemsControl is dependent on something else. Here is the relevant xaml line for ItemsControl. <ItemsControl x:Name="Region" VerticalAlignment="Center" HorizontalAlignment="Center" Regions:RegionManager.RegionName="Region"/>

    Read the article

  • iPhone framework paths?

    - by user158103
    I recently moved my projects to a new mac, along with a newer version of Xcode. When i opened my project i noticed that some files were red. So i remapped them by setting the path (by project path) and then providing the proper path location. Now my problem is that the frameworks that i have are red, and i cant find their location! I did set the framework paths to be "relative to current SDK" however. Can anybody help me get my frameworks mapped correctly? The frameworks im using are: - QuartzCore.framework - libsqlite3.0.dylib - UIKit.framework - Foundation.frameowrk - CoreGraphics.framework The XCode version is 3.1.4 (the only one installed). The iPhone app was originally created using a prior version of Xcode (i dont remember which version).

    Read the article

1