It has been a very long time since I have posted anything to my blog. This is due to a number of reasons:
Work. There have been some grueling schedules to meet. And since this work involves web development even when I do have time for my blog there is a good chance I may be really sick of sitting in front of a computer typing stuff in!
Just changes what I am working on… some due to discouragement. I was doing a lot of work learning how to do iOS programming and I was writing posts on the subject. You should see how many unfinished draft posts I have on iOS programming!
Issues I have with WordPress. As much as WordPress is a powerful way to blog. Sometimes getting anything beyond a really simple post to display like I want it to is possible but is really a pain. And, again, I just don’t want to deal!
Somehow, I am not sure how, I’ve been beginning to think about my blog again. What should I do with it? At very least I should post to it to practice and improve my writing. Writing I have found can be a great catharsis. Somehow I forget these things! Writing a how-to is a bit different than just writing as an expression. It is harder. It takes more planning. But my mind is always going. There is always something to say.
Just getting started on this post was hard. Like, what’s the point? But once I had a few words typed in everything was ok. And here we are!
I just want to wish anyone reading this a Happy New Year!
One thing you will find you need to do in any programming language is do math. Here are some useful math functions for the Objective C language. I give a little bit of a comparison to Visual Basic for those who know that language. They are provided in no special order:
fabs() – Gets the absolute value of the value in parentheses. Works like ABS() function in Visual Basic. fabs(-123) = 123, fabs(34) = 34.
ceil() – Find the ceiling integer. Kind of like rounding up. Same as INT(x+1) in Visual Basic. ceil(3.1) = 4.
floor() – Find the floor integer. Kind of like rounding down. Same as INT(x) in Visual Basic. floor(3.6) = 3.
exp() – Find the exponential value.
pow() – Raise a number to the power. pow(3,6) = 3^6 in Visual Basic.
rand() – Generate a pseudo random number. Function is RND(x) in Visual Basic. A good discussion on random numbers in Objective C can be found here.
srandom() – Generate a seed for the random number generator. This is done with the Randomize statement in Visual Basic.
sqrt() – Find out the square root of a number. sqrt(x) = x^(1/2) in Visual Basic.
Power Users and Developers: Making customized Apps Using Microsoft Office
Those of us who have the responsibility of producing customized Excel workbooks, and Word documents that essentially have become small powerful applications in their own right are always looking for ways to make the tools we build in these Microsoft Office products more powerful, easy to use, and more like actual stand-alone apps. One of the ways I looked at enhancing the “tools” I created was by adding a tool bar to an Excel workbook for example. I first did this myself in Excel 2003. It was tedious but doable. One draw-back in the way tool bars were done back then is that the changes applied to the whole app (Excel or Word), and one screw-up on your part could truly clobber Excel or Word’s tool bars and menus system wide.
A New Way of Doing Tool Bars in Office 2007
In Office 2007, Microsoft changed how their user interface worked. And they changed the scope of the changes. If you were going to screw something up for your tool bars now it would only be with one document file, not the entire system. Customizing this tool bar was more flexible. You could do much more with the new tool bar than the old version (the new tool bar Microsoft calls a ribbon). The Technology behind the ribbon they call RibbonX. Read more
This video is great! A band of talented musicians whose instruments are only iPads and iPhones:
I am amazed at how creatively musicians from North Point Community Church use these devices… picking specific apps for different instruments, and the creativity of the app developers who dreamed them up. Just cool!
The musicians needed to practice a bit more on the middle song, but the first and the last songs were very polished and professional.
This is a guest post from Monica Lewers, who for the past few months has been my personal trainer. Her clients keep signing up with her again and again. For one reason: she gets results. In this article she provides some tips on how to not “fall off the wagon” and stay healthly when you are traveling.
In this article I cover how you can fix the Base SDK Missing problem you might have had using the iOS SDK 5.2. The video above is easiest to see in full screen mode.
I downloaded Apple’s iOS SDK 5.2 and installed it on my Mac. After that process was over , I decided to load an existing project of mine into XCode. Ok, good. Then I tried to do a build. Kaboom! It did not work! No worries I thought, I will just go to the drop-down and pick the latest SDK 5.2. But the option was not there! The thought came to me that I might have to create a new project and import all my files from my existing project just to get it to work. Not a very nice thought to say the least! Read more