Reading Time: 2 minutes Should I put iAd to my iOS apps on iTunes App store? Should I put the google adsense back to my blog? The reason I am asking this question is: while personally I really don’t like the ads on Facebook, LinkedIn, or the iAds on some apps like Echofon, I understand this is a meaningful
Reading Time: 2 minutes This is a continuation of my earlier post of Tree, recursive function and my dumb mistake. As I said in my last post, my solution was to create hash maps (singleton) to store those for the session. The main motivation was to help out the performance. But I found out it backfired on me, a
Reading Time: 3 minutes Or am I? 🙂 I think I’m a pragmatic programmer. Note this is also a book title I read, by pragmatic (note not agile), I think it’s about balance between software quality, effort and delivery date. It’s also about releasing software with known risks (including bugs) 🙁 I thought about this as I started practicing
Reading Time: 2 minutes I have listened to Paul Kemp’s the App Guy Podcast (TAGP) recently, got to know this from @raywenderlich via twitter. Paul’s podcast is not purely technical, it’s more about entrepreneurship, and start own business. It’s an interview format. Paul usually asks indie developers (iOS, web, etc.) questions on how they get started, any pain points
Reading Time: < 1 minute So I was able to fix that performance problem I mentioned in my previous post. But I inadvertently introduced a new problem in my previous fix. And here is the gist of how I did: while (some condition) { if(some other condition) { … return; } } Guess what, I was able to put it
Reading Time: < 1 minute Tree data structure is fairly common in software development, and luckily I have quite a bit experience working on those in my career. I started working on this as I was working for UGS/Siemens PLM Software, and I was involved in the development of XML based data adapter for CAD data exchange, a key piece
Reading Time: 2 minutes (Update 02-19-2021) spring.io Testing the Web Layer Mockito Example with Best Practices JUnit and Mockito : Best Practices, Do’s and Don’ts (Original) Test Driven Development (TDD) is getting popular these days. I had opportunity to being exposed it recently. I am not new to unit test. In the software company I worked for 8 years,
Reading Time: 2 minutes (Update 03-05-2019, almost 5 years since original post) I did something similar for iPhone X, XR, XS screen size. Basically I stretched the Default-568h@2x.png to Default-375w-812h@3x.png and added that in the “launch image”. I also noticed the some of the nib files have the wrong constraints for label, textfield and button. I made some simple
Reading Time: < 1 minute This is the common saying I heard a lot when I started worked for a software company on development. I can list some of the pros and cons of fix it. Pros Architecture chaos: if not fixing it, basically as the software ages, per the “broken windows” theory, people would just throw in changes to
Reading Time: < 1 minute There was not an easy way to show the number only keypad on iPad. I used to create a custom number input pad like below. I loosely followed raywenderlich.com custom input tutorial. Email me at minjie Dot xu At gmail Dot com if you need the source code. And please ask nicely.
Recent Comments