RSS Feed

Posts Tagged ‘iPhone’

  1. Voices That Matter 2010

    September 22, 2010 by james

    Just wanted to do a quick update that i will be attending the Voices That Matter iPhone Developers Conference in Philadelphia on October 16th.  I think its gonna be pretty amazing and can’t wait to write about what i learn, but most of all I’m excited to meet some fellow developers.

    For information on the event click here.

    If you’re already going, you can view my connect information here.  I hope there’s some kind of meet-up after the event on Saturday, I’d love to network with some people!

    See you there!


  2. Implementing a Repository Pattern for iOS Apps

    August 31, 2010 by james

    Ever since I started working with iPhone and Core Data, ive been a bit taken back by how hap-hazardly the code ive seen is used for it.  People just set up entity retrieval and fetches wherever it is needed in the code and move on.   I believe i have an idea on how to fix this issue.

    (more…)


  3. Instruments of Salvation

    August 10, 2010 by james

    I’ve been working on a pretty intense project lately.  It really pushed my knowledge and experience of being an iPhone developer.  I usually have been pretty good with memory management and preventing crashes in my apps, but this one was using images and core graphics a lot, and was crashing WAY too many times.  After nailing down some all of the bugs, i still had one error i just couldn’t wipe out.

    I knew what i HAD to do, but I wasnt very sure on how to do it.  I knew i had to use the Instruments app that comes with XCode.  I’m still a rather new iphone developer, and have used the leak instrument a bit, but after using that, i still couldn’t figure out the leak.  So I did what any other programmer does. Stack Overflow.

    <tangent>
    If you’re a developer and dont know what stack overflow is, you should probably just start a new career now.
    </tangent>

    Luckily a SO post led me to googling about the “Object Allocations” instrument thats included, and found this wonderful post that led me in the right direction. @markjnet‘s post on zombie use detection was spot on and helped me find my bug within an hour of using the instrument.

    Heres the official documentation for the instruments app.

    Another helpful post ive read about instruments can be found on The Apple Blog.

    Bottom line is, if you want to really optimize your time spent on bug hunting, knowing the Instruments app is crucial!


  4. Sqlite to Core Data: Update

    February 3, 2010 by james

    If you keep up with my blog, you’ll see ive been moving a project from SQLite to Core Data, here’s an update.

    So while ive been working on this, ive been running into a few issues, mainly getting the relations set up correct in the data models, but its been working very smoothly.  While re-working this, i thought to myself, i need to use the repository pattern in this.  As core data is still a bit new, there is still a little bit of textual writing while querying, and instead of having strings for this all over the place in various classes, ill just have them all in one class.

    Here’s some info on the repository pattern (using .NET as an example) here.

    In most of our recent projects, weve been using the repository pattern with our Linq-To-SQL classes, and its been very helpful in keeping code clean, with all of the querying in one spot.

    Im currently working on an example project in XCode that shows how to implement the repository pattern, while using protocols as well for some cool safecatches.

    Look for that towards monday or tuesday.


  5. Handwritten SQLite to Core Data, Part1

    January 16, 2010 by james

    I recently completed an app for a client at work, and while it was being written, Core Data was only available in the beta phase, so we pushed it out using handwritten sql queries.  Now me being a .net programmer and having experienced the change from TableAdapters and hand written SQL to ORMs (Linq, in particular), i know that using those have its advantages and disadvantages, and ill voice them here as i go through the project.

    Pros: Less Code, Very Little Handwritten SQL (Predicates still need it)

    Cons:Any numeric value and Bools are saved as NSNumber.

    All in all its a fun adventure so far, ill keep you up to date!


  6. Must Have For Sports Fans On The Go

    September 6, 2009 by james

    What’s up!

    Hope the long holiday is treating you well.

    Quick post about my current favorite app, sportacular for the iphone.

    Sportacular has been on my phone for a while anyways for regular score checking whenever im on the go. However, with push notifications theyve definitely added a bit of awesome to the app.

    Via some very simple settings, you can have sportacular notify you if the score changes, when a period ends, when the game starts and when the game ends.

    While this isnt the first app that ive used push notifications on, its the one that im most thankful for.

    The best part? its free.

    So if youre a sports fan and have been looking for a good app that notifies you, pick this up!


  7. WPTouch is awesome

    July 11, 2009 by james

    Forgot to mention that I am now using wptouch for mobile viewing! If you’re on an iPhone or android phone check it out!


  8. I didnt know the app would do that!

    July 11, 2009 by james

    I’ve been downloading iPhone apps like a mad man lately, just to check out functionalities, common practices and just all around knowledge on iPhone apps and one thing that I’ve noticed  is that most apps are guilty or something i absolutely loathe.

    (more…)