How to write a WOL app for iPhone? [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 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.

Related

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.

what the technology to create a real time application? [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 wanna to know what the technology must i do when i want to create an application like:
real time application ?
multiplayer in game ?
sometimes i'm read this article keep alive.
what is that support in socket TCP ?, i'm already read server push but is many example work under HTTP, how about in TCP like create a socket TCPServer and TCPClient.
There isn't just one "go-to" technology for making real-time / multiplayer gaming applications. You have to understand a multitude of different programming realms like graphics manipulation, threading, networking(TCP,etc). I would say it would be good for you to pick up a book on game development and design at your local library, bookstore or on the web. You also want to decide where and how you want to run the game. If you are going for a desktop application you are probably going to want to use a language like Java or C++/C#. For web applications Java and Flash are historically the way to go, and there is even a growing case for games written primarily in javascript (presumably with a .NET/PHP back-end).
If you want to jump right in you might try a framework like Unity which I believe is based on Microsoft's .NET framework. This tool has a lot of things built into it which would help you get started.
I know that is not a lot of specific information but hopefully it points you in the right direction.

Learning development 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 9 years ago.
Improve this question
I have decided to enter the iPhone App development arena and as such have a couple of questions:
Coming from a business management background and having no experience/knowledge whatsoever in developing, what would be the right way to start?
I am aware that I should learn Objective C, to begin with; as well as OOP etc... will reading books and fiddling with iPhone SDK put me on the right track?
What else do I need?
P.S: I am very aware that this will/might be daunting to begin with but I am prepared and motivated.
If you have no development experience I would suggest starting on something other than the iPhone. Even a few days learning the ropes would make starting on the iPhone much easier.
Something like Python would allow you to play around and learn about programming and OO in a more forgiving environment than Objective C. Even some experienced programmers have some difficulties with memory management and the various foibles of the Cocoa touch frameworks. Obviously you'll need to learn all that at some point but trying to learn the basic principles of programming at the same time as fighting segmentation faults is a tall order.
Here is what i did ( although i am from a programming background ).oder important
Intel based mac
Join dev program ( this could be
the last step , but i wanted to something to keep my motivation high :) )
Read first 6 chapters of Programming
in Objective-C 2.0
started watching
stanford iphone course ( available
on itunes )
Started reading the grape-fruit
book ( while referring to 3 for
obj c questions )
Review tutorials/projects from appsmuck
Figure out how to use apple
documentation as reference
Subscribe to iphone blogs / podcasts
like mobile orchard / iphone devs
twitter accounts ( there are several
good ones )
Add iphone cocoa xcode objective c
tags to stackoverflow account
Update I was just reading this from prag programmers ..seems like high level overview that answers your question.
You will be best served if you have a Mac. Here is another post for you to look at. It pretty much talks to your concerns.
I'd recommend following tutorials to get familiar with things.
I like http://icodeblog.com/

Muscial notation on the iPhone. Any suggestions for example code? [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 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

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.