I have UIScrollView with number of subviews. Each subview is custom UIButton with UIImage. When I load more and more subviews, more and more memory is used. But I remove invisible subviews by removeFromSuperView method. Subviews are removed and stay invisible, but Im afraid that no memory is released. UIImage is image downloaded from int...
Hi,
I am working on an ASP.NET web app using Visual Studio 2008 and a third-party library.
Things are fine in my development environment. Things are also good if the web app is deployed in Debug configuration. However, when it is deployed in Release mode, SerializationExceptions appear intermittently, breaking other functionality.
In ...
Hi all !
I've made a ViewBased app, in the app delegate i've set a UITabBarCotntroller, in the app i have different view Controller two of them displays text in a UITextView and labels, the other one is my "ShakeController" a UIViewController in which i've set a UIAcelerometerDelegate, in it i create a instance of UIAccelerometer, in t...
Hi,
I have a problem with the memory management in Objective-C. Say I have a method that allocates an object and stores the reference to this object as a member of the class. If I run through the same function a second time, I need to release this first object before creating a new one to replace it. Supposing that the first line of ...
I know this has been asked before but I still don't have a solution.
My first app: developed and debugged on my moto droid and then followed all the release steps, (exported from Eclipse, using my key to sign) including removing the debug in the manifest xml.
I copied the resulting apk to the droid, disconnected the usb and installed it...
Hi
I have a weird problems with NSArray where some of the members of the objects in my array are going out of scope but not the others:
I have a simple object called Section.
It has 3 members.
@interface Section : NSObject {
NSNumber *section_Id;
NSNumber *routeId;
NSString *startLocationName;
}
@property(nonatomic,reta...
Hello.
I use HiShape as a "Region" class with coregraphics.
Class:
class CCGRegionMember
{
protected:
HIMutableShapeRef m_ShapeRef;
public:
CCGRegionMember();
virtual ~CGRegioMember();
public:
void Union(const Rect
};
Constructor :
CCGRegionMember::CCGRegionMember()
{
ResetMembers();
m_...
When we build web software releases, we prepare the release in a temporary directory and then replace the release directory with the temporary one just prepared:
# Move and replace existing release directory.
mv /path/to/httpdocs /path/to/httpdocs.before
mv /path/to/$newReleaseName /path/to/httpdocs
Under this scheme, it happens that ...
+ (void)findAndCopyOfDatabaseIfNeeded{
NSArray *path = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
NSString *documentsDirectory = [path objectAtIndex:0];
NSFileManager *fileManager = [NSFileManager defaultManager];
NSString *databasePath = [documents...
So I'm building a blackberry app and was wondering if there is any good documentation on deployment/release best practices? Blackberry's "A70 – How to Deploy and Distribute Applications" document is kind of lacking.
I guess I'm looking for answers for the following question (Specifically for Over-The-Air aka OTA):
I'm building an app ...
NSArray *path = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
NSString *documentsDirectory = [path objectAtIndex:0];
NSString *databasePath = [documentsDirectory stringByAppendingPathComponent:@"DB"];
NSString *fileName = [newWordbo...
I am a student, and I'm working on a little slots game (if the same random number comes up 3 timed, you win). I use Borland Pascal 7. I use graph to make this a bit more visual, but when I start the game my background turns from black to grey, and the other problem is that if I click the game start button, the game runs many times until ...
Hi! I use Borland Pascal 7.0, and I would like to make a slots game (If 3 random numbers are the same, you win). The problem is that when I click on the start (Inditas) button on the menu, the procedure executes many times until I release the mouse button. I was told that I should check if the mouse button is released before executing th...
I have a quick question regarding debug and release in VS 2008.
I have an app i've been working on - its not yet complete but the bulk of the functionality is there. So basically i'm trying to give a copy of it now to the person helping with documentation - just so they can have a play and get the feel for what i've made.
Now the quest...
Hey guys,
i have some difficulties to understand this scénario ...
i create an object
i set its retained property to something
i Forget to release its property
i release the object
as i didn't release the property in the dealloc
method, Will the scénario result in a memory leak or Will the property be released automatically ?
And ...
Hi,
I have a (rather large) application that I have written in C++ and until recently it has been running fine outside of visual studio from the release build. However, now, whenever I run it it says "Unhandled exception at 0x77cf205b in myprog.exe: 0xC0000005: Access violation writing location 0x45000200.", and leads me to "crtexe.c" at...
Any idea when MySQL 6.0 Release Date might be?
Nothing specific, more like "second half of 2010" works.
...
In our company we have successfully deployed git and we are currently using a simple trunk/release/hotfixes branching model. However, this has it's problems, I have some key issues of confusion in the community which would be awesome to have answered here. Maybe my hopes for an Alexander stroke are too great, quite possibly I'll decompos...
Is there any way to get around this exception? Can I not call a .NET 2.0 from 3.5?
I have to write .NET 2.0 to maintain capability with BizTalk 2006/R2. But I would like to test with VS2008 Unit Tests to be consistent to other non-BizTalk code that we are testing.
Test method ABC.UnitTest.UnitTest1.TestReferenceCode1 threw exception...
I want to set compilation debug="false" to get release mode dll's compiled on the fly from aspx files.
However, I still want line numbers and such on errors as you find when you compile a DLL project with pdbonly set.
If you're looking to do that, you can find a great answer on this question: http://stackoverflow.com/questions/6285...