Muscial notation on the iPhone. Any suggestions for example code? [closed] - iphone

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 4 years ago.
Improve this question
I'm writing an iPhone app where I'd like to display some simple musical notation (just a chord or two).
This question is a call for suggestions on the quickest way to go about it. For instance:
Is there any iphone OR objective-C libraries for doing this that I'm missing?
Are there any examples of open-source objective-C software in the wild I could look at? It wouldn't have to be iPhone specific.
If there isn't any objective-C code to do this, anyone know of any musicial-notation rendering software in other languages?

Indeed, MusicKit is an audio tool, not a symbolic tool like you need.
I don't know of any open-source Objective-C music notation programs. However, the recently-released Zong! Viewer is an open-source (GPL) Java program. You can't run Java on the iPhone, of course, but it might give you some ideas for structuring your software. MuseScore is an open source music notation editor that might provide more ideas.
So far the only iPhone music notation application I know is pocketscore. It has the great idea of exporting MusicXML files via e-mail so you can work on your music later with a more full-featured program than you can write on an iPhone.
There might be other open source programs you can check out on the MusicXML software list. Good luck!

This is an objective-c music analysis framework which may have what you need:
musickit

Related

Is it possible to create an app with only swift ? [closed]

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 6 years ago.
Improve this question
I've started to learn swift and it is told to be a very fast language who takes over the Objective-C. But at many times, I saw it is not enough to write only with Swift and it was need others languages. So I would know if with my MacBook, Xcode and Swift only, it's possible to create app like Snapchat, Instagram WhatsApp or other.
Thanks you.
Yes it should be possible that you will never have to touch anything else. But a lot of the made by Apple is running Objective-C or C.
But again when you start spending time on one programming language others start to seem more similar.
Yes, of course you can. You can use only Objc or only swift or you can mixed up both language.
First start learning swift and learn how to use APPLE API. Then get some idea of app and start developing.
Take look from these link and tutorial :
https://www.raywenderlich.com/143771/swift-tutorial-part-1-expressions-variables-constants
https://www.airpair.com/swift/building-swift-app-tutorial
http://codewithchris.com/how-to-make-an-iphone-app/
http://www.appcoda.com/learnswift/build-your-first-app.html
Specially look * (Download example on swift, learn coding technique and many other helps) : https://github.com/search?l=Swift&q=swift+Tutorial&ref=searchresults&type=Repositories&utf8=%E2%9C%93

How does Apple make their Swift programming books? [closed]

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
I'm trying to create a book using a template (or just formatting in general) similar to the ones used with the Apple Swift Programming Language iBook.
I'm struggling with figuring out exactly what software Apple uses to create the book with such simple and clean formatting along with what they use to create the headers, coding samples, comments, etc (is it a special version of Markdown?).
My Google searches with "what apple uses to create books", "what apple uses to create api documentation", "apple software for dev books", etc. didn't really lead to much. The searches themselves might not have been effective either, so there's that possibility.
Regardless, I got answers involving RegexKit, HeaderDocs, and Gentle Bytes, and it didn't seem too relevant to what I was trying to do.
So then I did some digging into the main frameworks that build up the iBook and I found these files (there are more but the image only shows some).
Mainly xhtml files.
So really all I'm asking is what software does Apple use to combine all these files or did they use a different application that automatically combined them as they inserted them while creating the iBook? Do they even use iBooks Author or rather an internal application that's not available for download outside of Apple? OR maybe it's something that's not related to anything I said and I'm way off track.
Any help would be greatly appreciated.
Because it is an iBook I would assume that they used iBooks Author
After you created your iBook with iBooks Author, you can convert it to HTML, it will create many files then.

UPnP for iPhone [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
What free upnp library would you recommend for iPhone development? It has to support control point features and allow to serve files off from iPhone.
There is an open source project on Sourcefourge that will do this called CyberLink for C
It is written in C which integrates with Objective-C easily, but they provide Objective-C wrappers also. With it you can create UPnP applications easily with Objective-C on Mac OS X.
This is not to be confused with the Cyberlink DVD player software. They are two completely different things.
Consider this one: http://code.google.com/p/upnpx/
There is also MiniUPNP, http://miniupnp.free.fr/ which is open source. It is in C and written for POSIX, no idea if that works on the iphone.
This is another vote against CyberLink. Lots of bugs, basic functionality is missing, and way too slow on mobile devices (I think the main performance problem is that it is designed around DOM based XML parsing rather than SAX based).
I have heard a lot of people mention using the Platinum UPnP library, but so far I haven't found any Obj-C wrappers for it. I may just bite the bullet and do that soon.
Does anyone else know of a Platinum Objective-C wrapper?
I'm currently playing with the CyberLink, and it's loaded with bugs :(
I think that the Portable UPnP should be better, as it's actively maintained (although the last release was several years ago, the subversion repository is constantly updated).
As you asked this question almost year ago, I wonder how things turned out.
You can use ohNet. It contains both control point and device stacks, is available under a BSD license and has C++ and C APIs which are usable on iPhone.
(Disclaimer: I have contributed to this project)

How to write a WOL app for iPhone? [closed]

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
Wake on LAN so cool, just want to write a iPhone app to WOL my PC, but have no idea to code, any one can point me the way?
If you've no experience of programming, then this is a very large first step. (More of a sheer vertical incline really.)
As such, you might want to take a step back and have a look a some basic (or indeed BASIC) programming tutorials. (Google is your friend.)
Alternatively, Apple has good online documentation regarding Objective C and the Cocoa (the language and framework that iPhone applications are written in.) A good place to start for this would be Apple's Introduction to The Objective-C Programming Language.
Basically you need to send a magic packed as described here, to do that you'll need basic programming knowledge and some knowledge on socket programming, here is a good book on the subject. There are numerous examples of that.
But in the end perhaps I could persuade you to purchase one of several iPhone applications that do exactly that, or grab the free one?
You'll need an understanding of bsd sockets as well as the user interface kit framework to put the necessary controls on the screen.
Or of course download an existing free app like this one which does it already, automatically detects your mac address, and also tells you whether your machines are on or off:
http://itunes.apple.com/us/app/wake/id396566137?mt=8
All the best for your projects.

How to start programming for the iPhone? [closed]

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 7 years ago.
Improve this question
I come from a .Net C# background, what's the best way to learn how to program native applications for the iPhone?
Have a look at the Stanford course on iPhone development. It will really get you started.
Everyone has posted nice resources, but even if you already know the language you have to use, I just wanted to state it so that other people who probably don't know it, can see.
The language used for developing Apple sanctioned, native applications is Objective-C. Of course, you can mix in C and C++, but the SDK itself is in Objective-C, so you might want to learn that. It looks a bit scary at first to most people, usually those coming from higher level languages such as C#. The brackets and supposed 'verboseness' turns some people off. After a while though, it grows on you and you'll notice it's a very readable and self-documenting language.
I personally used the book titled Learning Objective-C which was perfect for me as someone who is already familiar with programming languages, preferably C-style languages, and wanted to learn about the main differences in that language. The other, longer and I imagine better reference of a book is the popular Programming in Objective-C 2.0. This book is longer and starts off assuming the reader has 0 programming experience, going over control structures, Object Oriented Programming basics, etc. I believe both books have cheaper and searchable PDF versions.
Have fun and I hope all goes well for you in this venture.
In case you didn't know it: You can also use C# to program on the iPhone through MonoTouch. And in fact MonoTouch does also compile down to native ;)
I found the Beginning iPhone 3 Development book to be a very good way to get started.