Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
We recently deleted a .m from an iphone app in XCODE under development. We have a few phones around the office running the app. Is there a way to recover the .m file from the phone or is it not possible from the compiled app?
It's not possible from the compiled App. The .m file is a source file and is never sent to the phone.
Indeed, you're not going to get the .m back. You can use something like otool to get the symbols exposed to the runtime (Objective-C being as reflective as it is) and the ARM assembly that comprises each individual method, from which you could in theory reconstruct something but it'll look nothing like your original code.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I have a Mac App that uses the NSKeyedArchiver to save persistent data and it all works fine, but thinking ahead ideally I would like to be able to create a windows version. The current App is all in objective-c using cocoa as I did not think of portability when I first started writing it. I would be happy to make a windows version from scratch but obviously the two need to share data. I am a complete beginner when it come to cross-platform apps. What should I do?
Thanks in advance.
You either need to find (or write) code/a library to read NSKeyedArchiver plists on Windows, or you need to release an update to your Mac app that converts the keyed archives to something more generic, like a JSON- or XML-based format.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I am learning objective-c and using xcode to develop a simple "single-view" app - so far I am dealing with the mainview.h and mainview.m and the xib files. My question is, I would like to create a class called "GetName" class, and put some methods in that class then call that class from my mainview.m?. How to do that in xcode and objective-c? Could you please give me a simple structure/example?
http://developer.apple.com
or
Xcode ➜ Menu ➜ Help ➜ Documentation and API Reference.
Or simply: ⌥⌘?
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I would like to add metadata to mp3 files in C/Objective-C (OS X).
I found several libraries (e.g. id3lib), but I have no clue on how to compile them.
Are there any tutorials on how you can do that? Is there any other framework for C/Objective-C to write ID3 tags to an MP3 file (song name, artist and coverart)?
Take a look at the id3lib Library Documentation. It provides a quick tutorial.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
Is there any way of getting a list of, say 4, recently opened Applications? If so, how?
(Cocoa Mac)
Have a look at the LaunchServices/LSSharedFileList.h header file. Unfortunately, the functions in this file are not documented in the Xcode docs, but the comments in the file are very good. Basically, you create a reference to the list of recently opened applications by passing kLSSharedFileListRecentApplicationItems to LSSharedFileListCreate(). Then get an array of the current contents of the list with LSSharedFileListCopySnapshot().
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
It is possible to do that?
please give me a hint.
I would investigate ffmpeg, specifically libavcodec - this will allow you to convert static images in to a movie file (assuming you can get it to compile for iOS).
As far as adding to the iPod library is concerned, you aint going to be able to do that - you can read from the library from within an iOS app, but not write to it.