Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

objective-c++

  1. M

    macOS Cast from void * to Objective-C object - EXC_BAD_ACCESS code = 2

    I have an Objective-C object named "LocationGetter", and a companion C++ object named "CppLocationGetter". The two objects are properties of each other, and they are supposed to communicate with each other. Unfortunately, when the C++ object sends "startLocationUpdates" to the Objective-C...
  2. N

    iOS JSON parsing for UILabel instead of UITableView.

    So there aren't many resources online for this problem I'm having. All of the tutorials I find involving external JSON/Databases end with putting the data into a table view, which makes the coding a bit different than what I am trying to do. I'm connecting with my Database just fine, but...
  3. M

    macOS Wrapping Objective-C code in C++ library

    My objective is simple: I wish to write a library that exposes a C++ class, but calls Obj-C code behind the scenes. I wish to write the code such that, as far as a C++ programmer and his or her favorite compiler care, it's all C++. I see people putting C++ & Objective-C code in the same .h...