IPAD must-haves. And fun-to-haves.

Brighten your iPad with a colorful cover, stream to your TV, download pictures from your digital camera, and more. There’s already so much you can do with iPad and iPad mini

Apple Wireless Keyboard

The incredibly thin Apple Wireless Keyboard uses Bluetooth technology, which makes it compatible with iPad

Apple unveils iPad mini: ‘Thin as a pencil, light as paper’

iPad inspires creativity and hands-on learning with features you won’t find in any other educational tool

Lightning connector and FaceTime HD camera

Apple announces 4th generation iPad packing an A6X CPU

Pages

Showing posts with label developing. Show all posts
Showing posts with label developing. Show all posts

Friday, February 28, 2014

Developing Java in Xcode

In a better world, no one would have to use Java anymore. Sadly there are still university programs where people are expected to use Java. Rather than cast people into the world of Eclipse, here are instructions on how to get Xcode building Java. These instructions are current as of Xcode 4.6.2. You will need to download a JDK from somewhere.

 

This is a basic environment meant only for writing simple school programs. It has no debugger. Replace with whatever you want to name your project. Your main project file, main project class, and Xcode project must use this name. Welcome to Java.

 

1) In Xcode, File > New > New Project > Other > External Build System

2) Give it a meaningful name and save it somewhere. Note the name. You'll need that later.

3) File > New > New File > Other > Empty

4) Give it a Java-friendly name. In my example, use .java

5) Copy the contents below into the file and save.

6) File > New > New File > Other > Empty

7) Save as Makefile.

8) Copy the contents below into the file and save.

9) The "Run" (>) button should at least compile your Java now.

 

Now it gets tricky. You don't have to do the next part. You could just open a Terminal to your project directory and run java if you want. I strongly suggest that. You can also just type "make" and use Xcode purely as a text editor.

9) Project > Scheme > Edit Scheme > Debug > Info tab

10) Executable > Other > type ^?g > type /usr/bin > choose java

11) Change Debugger to None

12) Arguments tab

13) For Arguments Passed on Launch, add $(TARGETNAME)

14) For Environment Variables, add CLASSPATH with a value of $(PROJECT_DIR)

15) For Expand Variables based on, use

16) Click the "Run" (>) button.

 

PS: I have no idea how to run the Java debugger in Xcode. But then, I have no idea how to run the Java debugger at all.

 

Here are some starter file contents:

HelloWorld.java:

public class HelloWorld

  {

  public static void main(String[] args)

    {

    System.out.println("Hello, World!");

    }

  }

 

Makefile:

# A simple makefile for a Hello World Java program

 

# Define a makefile variable for the java compiler

JCC = javac

 

# Define a makefile variable for compilation flags

# The -g flag compiles with debugging information

JFLAGS = -g

 

# typing 'make' will invoke the first target entry in the makefile

# (the default one in this case)

default: $(subst .java,.class,$(wildcard *.java))

 

# this target entry builds the Average class

# the Average.class file is dependent on the Average.java file

# and the rule associated with this entry gives the command to create it

#

%.class : %.java

          $(JCC) $(JFLAGS) $<

 

# To start over from scratch, type 'make clean'.

# Removes all .class files, so that the next make rebuilds them

#

clean:

          $(RM) *.class

 

 

NOTE: Those indentations are true tab characters. Ugh!

 

Good luck on your class. Hopefully you can progress onto more complicated projects and eventually use a real language like Objective-C.


View the original article here

Sunday, October 13, 2013

Developing Java in Xcode

In a better world, no one would have to use Java anymore. Sadly there are still university programs where people are expected to use Java. Rather than cast people into the world of Eclipse, here are instructions on how to get Xcode building Java. These instructions are current as of Xcode 4.6.2. You will need to download a JDK from somewhere.

 

This is a basic environment meant only for writing simple school programs. It has no debugger. Replace with whatever you want to name your project. Your main project file, main project class, and Xcode project must use this name. Welcome to Java.

 

1) In Xcode, File > New > New Project > Other > External Build System

2) Give it a meaningful name and save it somewhere. Note the name. You'll need that later.

3) File > New > New File > Other > Empty

4) Give it a Java-friendly name. In my example, use .java

5) Copy the contents below into the file and save.

6) File > New > New File > Other > Empty

7) Save as Makefile.

8) Copy the contents below into the file and save.

9) The "Run" (>) button should at least compile your Java now.

 

Now it gets tricky. You don't have to do the next part. You could just open a Terminal to your project directory and run java if you want. I strongly suggest that. You can also just type "make" and use Xcode purely as a text editor.

9) Project > Scheme > Edit Scheme > Debug > Info tab

10) Executable > Other > type ^?g > type /usr/bin > choose java

11) Change Debugger to None

12) Arguments tab

13) For Arguments Passed on Launch, add $(TARGETNAME)

14) For Environment Variables, add CLASSPATH with a value of $(PROJECT_DIR)

15) For Expand Variables based on, use

16) Click the "Run" (>) button.

 

PS: I have no idea how to run the Java debugger in Xcode. But then, I have no idea how to run the Java debugger at all.

 

Here are some starter file contents:

HelloWorld.java:

public class HelloWorld

  {

  public static void main(String[] args)

    {

    System.out.println("Hello, World!");

    }

  }

 

Makefile:

# A simple makefile for a Hello World Java program

 

# Define a makefile variable for the java compiler

JCC = javac

 

# Define a makefile variable for compilation flags

# The -g flag compiles with debugging information

JFLAGS = -g

 

# typing 'make' will invoke the first target entry in the makefile

# (the default one in this case)

default: $(subst .java,.class,$(wildcard *.java))

 

# this target entry builds the Average class

# the Average.class file is dependent on the Average.java file

# and the rule associated with this entry gives the command to create it

#

%.class : %.java

          $(JCC) $(JFLAGS) $<

 

# To start over from scratch, type 'make clean'.

# Removes all .class files, so that the next make rebuilds them

#

clean:

          $(RM) *.class

 

 

NOTE: Those indentations are true tab characters. Ugh!

 

Good luck on your class. Hopefully you can progress onto more complicated projects and eventually use a real language like Objective-C.


View the original article here

Monday, September 16, 2013

Developing Java in Xcode

In a better world, no one would have to use Java anymore. Sadly there are still university programs where people are expected to use Java. Rather than cast people into the world of Eclipse, here are instructions on how to get Xcode building Java. These instructions are current as of Xcode 4.6.2. You will need to download a JDK from somewhere.

 

This is a basic environment meant only for writing simple school programs. It has no debugger. Replace with whatever you want to name your project. Your main project file, main project class, and Xcode project must use this name. Welcome to Java.

 

1) In Xcode, File > New > New Project > Other > External Build System

2) Give it a meaningful name and save it somewhere. Note the name. You'll need that later.

3) File > New > New File > Other > Empty

4) Give it a Java-friendly name. In my example, use .java

5) Copy the contents below into the file and save.

6) File > New > New File > Other > Empty

7) Save as Makefile.

8) Copy the contents below into the file and save.

9) The "Run" (>) button should at least compile your Java now.

 

Now it gets tricky. You don't have to do the next part. You could just open a Terminal to your project directory and run java if you want. I strongly suggest that. You can also just type "make" and use Xcode purely as a text editor.

9) Project > Scheme > Edit Scheme > Debug > Info tab

10) Executable > Other > type ^?g > type /usr/bin > choose java

11) Change Debugger to None

12) Arguments tab

13) For Arguments Passed on Launch, add $(TARGETNAME)

14) For Environment Variables, add CLASSPATH with a value of $(PROJECT_DIR)

15) For Expand Variables based on, use

16) Click the "Run" (>) button.

 

PS: I have no idea how to run the Java debugger in Xcode. But then, I have no idea how to run the Java debugger at all.

 

Here are some starter file contents:

HelloWorld.java:

public class HelloWorld

  {

  public static void main(String[] args)

    {

    System.out.println("Hello, World!");

    }

  }

 

Makefile:

# A simple makefile for a Hello World Java program

 

# Define a makefile variable for the java compiler

JCC = javac

 

# Define a makefile variable for compilation flags

# The -g flag compiles with debugging information

JFLAGS = -g

 

# typing 'make' will invoke the first target entry in the makefile

# (the default one in this case)

default: $(subst .java,.class,$(wildcard *.java))

 

# this target entry builds the Average class

# the Average.class file is dependent on the Average.java file

# and the rule associated with this entry gives the command to create it

#

%.class : %.java

          $(JCC) $(JFLAGS) $<

 

# To start over from scratch, type 'make clean'.

# Removes all .class files, so that the next make rebuilds them

#

clean:

          $(RM) *.class

 

 

NOTE: Those indentations are true tab characters. Ugh!

 

Good luck on your class. Hopefully you can progress onto more complicated projects and eventually use a real language like Objective-C.


View the original article here

Monday, August 19, 2013

Developing Java in Xcode

In a better world, no one would have to use Java anymore. Sadly there are still university programs where people are expected to use Java. Rather than cast people into the world of Eclipse, here are instructions on how to get Xcode building Java. These instructions are current as of Xcode 4.6.2. You will need to download a JDK from somewhere.

 

This is a basic environment meant only for writing simple school programs. It has no debugger. Replace with whatever you want to name your project. Your main project file, main project class, and Xcode project must use this name. Welcome to Java.

 

1) In Xcode, File > New > New Project > Other > External Build System

2) Give it a meaningful name and save it somewhere. Note the name. You'll need that later.

3) File > New > New File > Other > Empty

4) Give it a Java-friendly name. In my example, use .java

5) Copy the contents below into the file and save.

6) File > New > New File > Other > Empty

7) Save as Makefile.

8) Copy the contents below into the file and save.

9) The "Run" (>) button should at least compile your Java now.

 

Now it gets tricky. You don't have to do the next part. You could just open a Terminal to your project directory and run java if you want. I strongly suggest that. You can also just type "make" and use Xcode purely as a text editor.

9) Project > Scheme > Edit Scheme > Debug > Info tab

10) Executable > Other > type ^?g > type /usr/bin > choose java

11) Change Debugger to None

12) Arguments tab

13) For Arguments Passed on Launch, add $(TARGETNAME)

14) For Environment Variables, add CLASSPATH with a value of $(PROJECT_DIR)

15) For Expand Variables based on, use

16) Click the "Run" (>) button.

 

PS: I have no idea how to run the Java debugger in Xcode. But then, I have no idea how to run the Java debugger at all.

 

Here are some starter file contents:

HelloWorld.java:

public class HelloWorld

  {

  public static void main(String[] args)

    {

    System.out.println("Hello, World!");

    }

  }

 

Makefile:

# A simple makefile for a Hello World Java program

 

# Define a makefile variable for the java compiler

JCC = javac

 

# Define a makefile variable for compilation flags

# The -g flag compiles with debugging information

JFLAGS = -g

 

# typing 'make' will invoke the first target entry in the makefile

# (the default one in this case)

default: $(subst .java,.class,$(wildcard *.java))

 

# this target entry builds the Average class

# the Average.class file is dependent on the Average.java file

# and the rule associated with this entry gives the command to create it

#

%.class : %.java

          $(JCC) $(JFLAGS) $<

 

# To start over from scratch, type 'make clean'.

# Removes all .class files, so that the next make rebuilds them

#

clean:

          $(RM) *.class

 

 

NOTE: Those indentations are true tab characters. Ugh!

 

Good luck on your class. Hopefully you can progress onto more complicated projects and eventually use a real language like Objective-C.


View the original article here

Sunday, August 18, 2013

Developing Java in Xcode

In a better world, no one would have to use Java anymore. Sadly there are still university programs where people are expected to use Java. Rather than cast people into the world of Eclipse, here are instructions on how to get Xcode building Java. These instructions are current as of Xcode 4.6.2. You will need to download a JDK from somewhere.

 

This is a basic environment meant only for writing simple school programs. It has no debugger. Replace with whatever you want to name your project. Your main project file, main project class, and Xcode project must use this name. Welcome to Java.

 

1) In Xcode, File > New > New Project > Other > External Build System

2) Give it a meaningful name and save it somewhere. Note the name. You'll need that later.

3) File > New > New File > Other > Empty

4) Give it a Java-friendly name. In my example, use .java

5) Copy the contents below into the file and save.

6) File > New > New File > Other > Empty

7) Save as Makefile.

8) Copy the contents below into the file and save.

9) The "Run" (>) button should at least compile your Java now.

 

Now it gets tricky. You don't have to do the next part. You could just open a Terminal to your project directory and run java if you want. I strongly suggest that. You can also just type "make" and use Xcode purely as a text editor.

9) Project > Scheme > Edit Scheme > Debug > Info tab

10) Executable > Other > type ^?g > type /usr/bin > choose java

11) Change Debugger to None

12) Arguments tab

13) For Arguments Passed on Launch, add $(TARGETNAME)

14) For Environment Variables, add CLASSPATH with a value of $(PROJECT_DIR)

15) For Expand Variables based on, use

16) Click the "Run" (>) button.

 

PS: I have no idea how to run the Java debugger in Xcode. But then, I have no idea how to run the Java debugger at all.

 

Here are some starter file contents:

HelloWorld.java:

public class HelloWorld

  {

  public static void main(String[] args)

    {

    System.out.println("Hello, World!");

    }

  }

 

Makefile:

# A simple makefile for a Hello World Java program

 

# Define a makefile variable for the java compiler

JCC = javac

 

# Define a makefile variable for compilation flags

# The -g flag compiles with debugging information

JFLAGS = -g

 

# typing 'make' will invoke the first target entry in the makefile

# (the default one in this case)

default: $(subst .java,.class,$(wildcard *.java))

 

# this target entry builds the Average class

# the Average.class file is dependent on the Average.java file

# and the rule associated with this entry gives the command to create it

#

%.class : %.java

          $(JCC) $(JFLAGS) $<

 

# To start over from scratch, type 'make clean'.

# Removes all .class files, so that the next make rebuilds them

#

clean:

          $(RM) *.class

 

 

NOTE: Those indentations are true tab characters. Ugh!

 

Good luck on your class. Hopefully you can progress onto more complicated projects and eventually use a real language like Objective-C.


View the original article here

Friday, August 9, 2013

Developing Java in Xcode

In a better world, no one would have to use Java anymore. Sadly there are still university programs where people are expected to use Java. Rather than cast people into the world of Eclipse, here are instructions on how to get Xcode building Java. These instructions are current as of Xcode 4.6.2. You will need to download a JDK from somewhere.

 

This is a basic environment meant only for writing simple school programs. It has no debugger. Replace with whatever you want to name your project. Your main project file, main project class, and Xcode project must use this name. Welcome to Java.

 

1) In Xcode, File > New > New Project > Other > External Build System

2) Give it a meaningful name and save it somewhere. Note the name. You'll need that later.

3) File > New > New File > Other > Empty

4) Give it a Java-friendly name. In my example, use .java

5) Copy the contents below into the file and save.

6) File > New > New File > Other > Empty

7) Save as Makefile.

8) Copy the contents below into the file and save.

9) The "Run" (>) button should at least compile your Java now.

 

Now it gets tricky. You don't have to do the next part. You could just open a Terminal to your project directory and run java if you want. I strongly suggest that. You can also just type "make" and use Xcode purely as a text editor.

9) Project > Scheme > Edit Scheme > Debug > Info tab

10) Executable > Other > type ^?g > type /usr/bin > choose java

11) Change Debugger to None

12) Arguments tab

13) For Arguments Passed on Launch, add $(TARGETNAME)

14) For Environment Variables, add CLASSPATH with a value of $(PROJECT_DIR)

15) For Expand Variables based on, use

16) Click the "Run" (>) button.

 

PS: I have no idea how to run the Java debugger in Xcode. But then, I have no idea how to run the Java debugger at all.

 

Here are some starter file contents:

HelloWorld.java:

public class HelloWorld

  {

  public static void main(String[] args)

    {

    System.out.println("Hello, World!");

    }

  }

 

Makefile:

# A simple makefile for a Hello World Java program

 

# Define a makefile variable for the java compiler

JCC = javac

 

# Define a makefile variable for compilation flags

# The -g flag compiles with debugging information

JFLAGS = -g

 

# typing 'make' will invoke the first target entry in the makefile

# (the default one in this case)

default: $(subst .java,.class,$(wildcard *.java))

 

# this target entry builds the Average class

# the Average.class file is dependent on the Average.java file

# and the rule associated with this entry gives the command to create it

#

%.class : %.java

          $(JCC) $(JFLAGS) $<

 

# To start over from scratch, type 'make clean'.

# Removes all .class files, so that the next make rebuilds them

#

clean:

          $(RM) *.class

 

 

NOTE: Those indentations are true tab characters. Ugh!

 

Good luck on your class. Hopefully you can progress onto more complicated projects and eventually use a real language like Objective-C.


View the original article here

Sunday, June 9, 2013

Developing Java in Xcode

In a better world, no one would have to use Java anymore. Sadly there are still university programs where people are expected to use Java. Rather than cast people into the world of Eclipse, here are instructions on how to get Xcode building Java. These instructions are current as of Xcode 4.6.2. You will need to download a JDK from somewhere.

 

This is a basic environment meant only for writing simple school programs. It has no debugger. Replace with whatever you want to name your project. Your main project file, main project class, and Xcode project must use this name. Welcome to Java.

 

1) In Xcode, File > New > New Project > Other > External Build System

2) Give it a meaningful name and save it somewhere. Note the name. You'll need that later.

3) File > New > New File > Other > Empty

4) Give it a Java-friendly name. In my example, use .java

5) Copy the contents below into the file and save.

6) File > New > New File > Other > Empty

7) Save as Makefile.

8) Copy the contents below into the file and save.

9) The "Run" (>) button should at least compile your Java now.

 

Now it gets tricky. You don't have to do the next part. You could just open a Terminal to your project directory and run java if you want. I strongly suggest that. You can also just type "make" and use Xcode purely as a text editor.

9) Project > Scheme > Edit Scheme > Debug > Info tab

10) Executable > Other > type ^?g > type /usr/bin > choose java

11) Change Debugger to None

12) Arguments tab

13) For Arguments Passed on Launch, add $(TARGETNAME)

14) For Environment Variables, add CLASSPATH with a value of $(PROJECT_DIR)

15) For Expand Variables based on, use

16) Click the "Run" (>) button.

 

PS: I have no idea how to run the Java debugger in Xcode. But then, I have no idea how to run the Java debugger at all.

 

Here are some starter file contents:

HelloWorld.java:

public class HelloWorld

  {

  public static void main(String[] args)

    {

    System.out.println("Hello, World!");

    }

  }

 

Makefile:

# A simple makefile for a Hello World Java program

 

# Define a makefile variable for the java compiler

JCC = javac

 

# Define a makefile variable for compilation flags

# The -g flag compiles with debugging information

JFLAGS = -g

 

# typing 'make' will invoke the first target entry in the makefile

# (the default one in this case)

default: $(subst .java,.class,$(wildcard *.java))

 

# this target entry builds the Average class

# the Average.class file is dependent on the Average.java file

# and the rule associated with this entry gives the command to create it

#

%.class : %.java

          $(JCC) $(JFLAGS) $<

 

# To start over from scratch, type 'make clean'.

# Removes all .class files, so that the next make rebuilds them

#

clean:

          $(RM) *.class

 

 

NOTE: Those indentations are true tab characters. Ugh!

 

Good luck on your class. Hopefully you can progress onto more complicated projects and eventually use a real language like Objective-C.


View the original article here

Monday, April 1, 2013

I am a Designer trying to get into Developing

Okay, I'm a designer that is trying to get into programming. I know how to design layouts basically. I am going to AITP NCC, and I'll be coding a Iphone App. How do I code to import my own custom buttons/backgrounds/ect? Am I right that I have to code my own classes?

Also it would help if I could "take" somewhat of a crash-course without the theory.. does it exist?

I don't have a mac, so I have not been able to practice the theory and it's all just hurting my head.

I am going to have a partner... but I want to be able to do more then just design the shiny stuff.


View the original article here

Thursday, February 21, 2013