Category: Programming

How to master a programming language

By , June 8, 2019 9:30 pm

So, how do you master a programming language? It takes work, lots of work. It also takes an huge amount of time. This is how I am mastering Swift 5.

I’m going to continue to update this post until I master swift. Right now I feel like my current skill level is at a junior level with swift. I couldn’t write a iPhone app without using Google. I want to be able to write an entire app without having to Google the majority of my code. I know I’ll have to use Google some, but I want to be able to write an app with as little help from external sites, like Google or StackOverflow.

If you are here at the beginning fo this, I’m sorry for the article not beginning complete. Please keep checking back for updates or follow me on twitter for updates.

Practice makes permanent

Everyone knows there is no such thing as perfect. But we can be almost perfect at anything we try. Even if it takes you years to do. You can do it. Just have a little faith in yourself. To master a programming language is going to take a lot of practice. A good thing for me is I have plenty of free time.

Continue reading 'How to master a programming language'»

SQLite and Swift

By , June 27, 2018 7:49 pm

I have started programming for the iPhone again and I’m always looking to new thing to help me improve my skills. Today I found a tutorial from on SQLite. This is a really good tutorial. Check it out.

Writing an Offline Web browser for iOS

By , June 8, 2014 9:31 am

I’m work on a project for work. They need the capability to have an offline web browser to view an HTML5 document. I found a couple of good resources for using Hype and Xcode. 

I’m not using PhoneGap, but if you are looking for some info check out this post

Enable Virtual host on XAMPP for OSX

By , April 26, 2014 10:42 pm

I just upgraded XAMPP to the latests version and in doing so I was no longer able to access my files stored in my Users/user/Sites folder. By default XAMPP does’t come setup for allowing virtual hosting. You have to setup it up yourself. This is the process to setup Virtual Hosting on OSX 10.8.3.

  1. Open Terminal. It is located in your Applications/Utilities folder
  2. Type in the following command.

    sudo pico /Applications/XAMPP/xamppfiles/etc/httpd.conf

  3. Press Control key and V to scroll down to the bottom of the file. Keep doing it until you find the following lines.

    # User home directories
    #Include etc/extra/httpd-userdir.conf

  4. Uncomment out Include ext/extra/httpd-userdir.conf by deleting the # sign. It should look like this when you are done.

    # User home directories
    Include etc/extra/httpd-userdir.conf

  5. Save the changes. Press the Control Key and O. The click the Control Key and T.
  6. Select the httpd.conf file name and hit the Enter Key. This will over write the httpd.conf with the changes you just made.
  7. Press the Control Key and X to exit the editor.
  8. Next type in the following command in to Terminal to edit the httpd-userdir.conf file.

    sudo pico /Applications/XAMPP/xamppfiles/etc/extra/httpd-userdir.conf

  9. Find the follow line and comment it out.

    UserDir public_html

  10. It should look like this after you comment it out: #UserDir public_html
  11. Type in the following line: UserDir Sites
  12. Find the following lines and comment them out.

    <Directory “/home/*/public_html”>

  13. Add the following line: <Directory “/Users/*/Sites/”> right after the line you just commented out.
  14. Save the changes. Press the Control Key and O. The click the Control Key and T.
  15. Select the httpd-userdir.conf file name and hit the Enter Key. This will over write the https.conf with the changes you just made.
  16. Press the Control Key and X to exit the editor.
  17. Restart the Apache Server.

One Bad Apple – MobileMe

By , June 7, 2011 7:01 pm

MobileMe wasn’t one of Apples brightest moments. So yesterday at WWDC Apple introduced iCloud and the end of the MobileMe service. To prep for the transition to the cloud Apple has extended everyones MobileMe account until June 30, 2012 for free, which is pretty cool of Apple to do. Unless you are one of many user like my self that just paid for another year for the MobileMe service. I renewed my MobileMe account on May 25th.

On Apple’s Support forums a lot of people are complaining that Apple has left us out in the cold. Apple isn’t saying anything about this to anyone. If you call support they tell you you can ask for a full refund, but you will lose all your current email addresses and can’t get them back until you sign up for the iCloud service, but you might not be able to get the same addresses when you sign up for the iCloud service. So what am I to do? I don’t want to lose my address, I use it a lot.

Do you think that the people who just renewed have a valid complaint that they paid for a service that everyone is now getting for free or do you think we should stop complaining and deal with it.

I don’t expect a full refund, but I would like some type of response from Apple. Instead of letting people wonder if they are going to do anything for us. I would be happy if Apple would just tell us that “we are S.O.L. and to have a nice day”, at least we would know where we stand.

For more info about the MobileMe transition to iCloud, Apple has a little Knowledge Brief posted on their site.

WWDC 2011 Live Coverage

By , June 5, 2011 3:07 pm

Here are a few websites and twitter accounts that will be covering WWDC.
Updated: 6/6/11 @ 1:00 PM Eastern
Websites Covering WWDC

Twitter Accounts Covering WWDC

If you know of any other site or twitter feed broadcasting WWDC live tomorrow post a comment and let me know. I’ll keep this list updated until the keynote starts tomorrow.

Programming – Entering in a price of an item – Help

By , February 20, 2011 9:46 pm
I am trying to accomplish the same interface as Grocery iQ has for entering in a price of an item. They have a Table View with a custom Table View Cell. I think the custom cell has a label over a text field so the decimal is always visible. If you type in 125 it displays 1.25 on the screen. Does anybody have any idea how to do this?
One other thing I would like to know when you click on the “back button” the value entered ($1.25) is sent back to a label on the previous view. How do you do this?
Any help on either of these 2 question would be appreciated.
This is what I want it to look like.

Working on my First iPhone app!

By , February 16, 2011 11:09 pm

I started my journey almost 2 years ago, trying to learn the programming languages to write an iPhone app. It was harder than I thought. But all that time and effort has paid off. I am working on my first iPhone app now. I hope to have it in the store by the end of summer.

Now that I’m at this point I’m gonna post more stuff on my site about Objective C and iOS programming.

for (i = 0; i < zz; i++) { NSNumber *temp = [[NSNumber alloc] init]; temp = [array objectAtIndex:0]; for (j = 0; j < zz; j++) { if ([temp isGreaterThanOrEqualTo:[array objectAtIndex:j]]) { temp = [array objectAtIndex:j]; k = j; } } [sortArray addObject:[NSNumber numberWithInt:k]]; [array replaceObjectAtIndex:k withObject:[NSNumber numberWithDouble:9999.99]]; [temp release]; } [/cci]

WWDC Live Coverage

By , June 6, 2010 11:36 am

Here are a few websites and twitter accounts that will be covering WWDC.

Websites Covering WWDC

Twitter Accounts Covering WWDC

iPhone OS 4 Live Event Coverage

By , April 8, 2010 10:57 am

Here are some links for to follow Apple’s iPhone OS 4 Live event today


Panorama Theme by Themocracy