Project

General

Profile

Actions

Bug #350

closed

Assign property cause crash of application (Objective-C)

Added by Dmitry M. almost 11 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
High
Assignee:
Alexander Z.
Category:
-
Target version:
Start date:
05/07/2013
Due date:
% Done:

100%

Estimated time:
CPU Architecture:
all
Host OS:
Toolchain:
all
Android version:
CrystaX NDK Version:

Description

Code example is below:

@interface foo : BaseObject {
BOOL boolProperty;
id stringProperty;
}

@property (assign) BOOL boolProperty;
@property (copy) id stringProperty;

-(id) init;
-(void) bar;

@end

@implementation foo

@synthesize boolProperty;
@synthesize stringProperty;

  • (void) bar { self.boolProperty = YES; self.stringProperty = @""; }

@end

Actions

Also available in: Atom PDF