Archive for the ‘Tutorials’ Category

Recently I posted a basic graph view but the way that I implemented it might have made it hard for others to use. So i have rewritten this graphing engine into a project that you can download below. In this example I have made it so that the graph data is randomly generated. This allows […]


When creating my own custom graphing engine I had wanted to have very thin (1px) grid lines so that the data lines would stand out by being thicker. Now you might be thinking well by default when using CG drawing the lines are 1px. This is true but when they are draw half a pixel […]


Today while doing some messing around in xcode i found a nice easy way to start your programs in lanscape mode.Add this code into your first view controller: // Override to allow orientations other than the default portrait orientation. – (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { // Return YES for supported orientations if (interfaceOrientation !=UIInterfaceOrientationPortrait) { return TRUE; } […]


NOTE: There is a new and better tutorial about graphing. View my other tutorials to find it. When i was trying to create a basic line graph for my last project i found that there was neither a solution in the SDK nor much help online from fellow developers. There is a more complicated but […]


When i was trying to learn how to do basic animation for moving layers i found that not many boks or online resources could effectively communicate what needed to be done. Finally i found out how to do it an easy way. This does not need any other frameworks added in. This example animates the […]