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

objective-c

  1. S

    macOS Replacing an item in an ArrayController

    I am modifying an Objective C application which displays members of set of images shown in an NSTableView control which obtains data from an ArrayController. I would like to replace one of the images in the array control. I have tried to do this by first removing the item, using the...
  2. super_kev

    macOS Swift & Mac OS X/macOS system compatibility?

    Hi folks, I haven't found an answer to this and I've searched around for awhile, but I'm looking into learning Swift, and I wanted to know if there are any Swift language/XCode version cutoffs where the language is not compatible with older versions of Mac OS X? For example, if I develop on a...
  3. E

    macOS Cannot open a new Word document in Objective-C

    Hello, I have a task to open Microsoft Word and create a new document in Objective C. If I am running an Apple Script below in the Script Editor, it works fine and a new Microsoft Word document gets created: tell application "Microsoft Word" to make new document" BUT, if I am trying to call...
  4. Dharmesh Parmar

    How does whatsapp receive multiple notification when APNS stores only one in case device is offline?

    According to the official Apple documentation, APNS (Apple Push Notification Service) stores only the last notification if the device is offline. Apple Push Notification Service includes a default Quality of Service (QoS) component that performs a store-and-forward function. If APNs attempts to...
  5. S

    iOS iOS iPad mini turn power off/ disable home button

    Hey all I am wanting to create a type of REST app that would allow me to send a command to the iPad mini and have it either turn off and/or disable the home button. I understand that these features would be available with 3rd party/ non-documented apis that would never pass Apples...
  6. X

    macOS Sleep Apple Event not being issued in System Process

    Hi everyone! I'm developing my first Mac OS X application, and I'm having some problems with an AppleEvent that I want to send to the system. Firstly, I found an article on how to programmatically shutdown, restart, sleep or logout an apple computer Link, which is the main objective I want to...
  7. Z

    iOS Is iOS development all in Swift now

    After years of being away from it, I want to get back into iOS development. I'm from the Objective-C world. Is everything with Swift now, or can I still develop in Objective-C? I don't mind learning Swift, so should I go ahead and do it?
  8. superscape

    macOS Scripting Bridge & Adobe InDesign

    Hi, Wonder if anyone can help me here? I have some Objective-C code and in part of it I need to script Adobe InDesign. I'd rather not use AppleScript if I can help it. So I thought I'd use Scripting Bridge - I know it's glitchy but my needs are simple (place a PDF) so I thought it should be up...
  9. S

    iOS Learn Swift or Objective C for Iphone App

    Hello i'm new to this forum, i'm sorry if this question already was asked. I want to start programming ios apps for iphone/ipad. I have got experience in java, c#, javascript, unity, python and some more. But i have never made an iphone or android app. Which i want to do to find out if i like...
  10. polarbear505

    iOS Saving notes to IOS

    Hello, I'm sorta new to iOS, and was wondering how to save notes the user takes. I followed this tutorial: https://github.com/MakeSchool/iOS8-Notes and I really want to know how to save it! Thanks so much!
  11. polarbear505

    iOS Accessing a label from another viewcontroller

    Hello, I am presenting a pop-up on my view controller, http://imgur.com/sQcPNJ6 and I want to access a label on the viewcontroller that is presenting it. (the left one) So I put this code on the pop-up (the right one) http://imgur.com/mUY4Mmn If anyone could help me, I would be very grateful...
  12. M

    macOS Set property in LLDB

    Hi, I have an NSObject, and I'm trying to set one of its properties at runtime. I've tried this (note: I'm using fictional names instead of actual ones): expr -- object.theProperty = 3 but at runtime, LLDB says even though there is a property by that name. Well, turns out the solution...
  13. mareika

    iOS Objective-C good code examples?

    Hi everyone! So I am a beginner in coding pretty much. Not a total beginner but in terms of creating my own projects from scratch, I don't have any experience of that and so far it has just been simple, small apps that I have worked on. I am just looking for some good code example of medium...
  14. P

    iOS How can I move a GMSMarker like uber app car object?

    I'm working on a project in which I need to move my GMSMarker on map like uber app does. The problem I'm facing on crossroads were I need to change the heading as well as bearing(rotation) at the end of road. I want my marker should move like: Car first move P1 to vertex point(meeting point)...
  15. N

    iOS UINavigationController is moving

    I have an application and everything works great beside when I display an AdMob Interstitial and when I open MFMailComposeViewController. I am using also WXTabBarController and I changed the look of the Top and Bottom Bar to blurred. After displaying an AdMob Full Screen Interstitial the...
  16. sercanfi

    Universal Fillit iOS Arcade Game

    Dear Friends, My new game "Fillit" is now on App Store for iOS users. Since i do not have an education about software development i believe i did spend respectable amount of time to develop. :) Fillit is an Arcade game. You can play it for short time, just take your phone out of your pocket...
  17. G

    iOS Section Footer Overriding Table View Data Cells for Expand or Collapse

    Hi, My app has Expand or Collapse Functionaly, So to achieve that i have a table view with 7 Sections and each section has a header and footer with around 20 rows in each section, Initially I was only showing Headers of all the Sections by setting their height and hiding the footers and rows...
  18. M

    iOS take photo without editing

    Guys The following Code is what I used to take a photo display it in an imageview and save it // BUTTON CODE - (IBAction)takePhoto:(id)sender { UIImagePickerController *picker = [[UIImagePickerController alloc] init]; picker.delegate = self; picker.allowsEditing =...
  19. 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...