Skip to content

ObjC: provide macro annotation for memory management of NSObject used in case classes #4

@jokade

Description

@jokade
@retain
case class Foo(id: NSInteger, date: NSDate, notes: String)

should transpile to

case class Foo(id: NSInteger, date: NSDate, notes: String) extends Releasable {
  date.retain()
  def release(): Unit = {
    date.release()
  }

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions