iOS & Swift – Making Custom Vertical Menu

iPhone custom slider

TOKYO (MacHouse) – Earlier, I introduced my simple horizontal menu that utilizes a subclass of UIViewController. And I went on to create a vertical menu a few days ago. I always have a design problem. That is, I’m pretty bad at coming up with my own app design. So I went to dribble.com and found this beautiful design sample. From there, I just started re-writing my UIViewController subclass. Of course, that screenshot looks way better than mine below (Screenshot 1). Well, at least, I’m getting there. Continue reading →

iOS & Swift – Making Custom UITabBar Menu (Sort of…)

iPhone custom slider

TOKYO (MacHouse) – For Apple, Inc., as far as iPhone apps are concerned, it’s apparent that looks are more important than features. Forget about painting the back of a fence unlike Mr. Jobs says in his biography, right? If you only use default controls that Xcode offers, chances are that your app won’t even be featured as a new comer to the 1st category of your choice.

Anyway, the other day, I visited stackoverflow as usual, looking for an interesting topic. One of them that I spotted is this one where sombody wants to use color images with UITabBarController. First, I ran a Google search for UITabBarController if I remember correctly and spotted some examples. But I’ve actually decided to go my own way. As a result, I’ve created a horizontal menu with color images at the bottom. Looking at Screenshot 1 below, it’s not that bad. Continue reading →

iOS & Swift – Making Custom Rounded-Corner Progress Bar With UIView

iPhone custom slider

TOKYO (MacHouse) – About a week ago, I spotted a topic at stackoverflow where somebody wanted to know how to create a custom progress bar with a rectangle with rounded corners. And I thought to myself “Hmm… I wonder if I could do it simply by using a custom UIView class?” So I launched Xcode 8 and started writing code in Swift (Swift 3). And voila! I guess, it’s not that bad. (See Screenshot 1.) Continue reading →

iOS & Swift – Making Custom Slider With UIView

iPhone custom slider

TOKYO (MacHouse) – It’s been 7 months since I started developing software in Swift. I didn’t quite like Swift at the beginning because it’s totally different from Objective-C especially in the way it defines variables without data types. Well, I have a changed heart. I love Swift.

Anyway, one thing that I don’t like about iOS is its ugly UISlider. The touch part is a big circle, and it comes with a very thin, blue, horizontal line. Yuck! It’s ugly. So I’ve decided to make my own custom slider.   Continue reading →

What’s Coming Up Next? – Tom Bluewater Introducing 安かろう for iOS

Mac OS X software 安かろう

TOKYO (MacHouse) – 個人的の話で失礼しますが、同居していた母が急に他界してそろそろ15ヶ月が経とうとします。以前、10年ぐらい海外で生活していて、その時に自炊もやっていましが、また自炊を始めなければならない、ということを全く予想していませんでした。そして自炊を初めて約10ヶ月経った頃に薬局のCREATEに立ち寄り、目に触れたのが80g入りの鰹節です。値段は288円です。丁度豆腐を食べようと思っていたんだと思います。確か9月31ぐらいまで幾ら、という期限の値札がついていたので、これは安いうち買ったほうがいいと思いました。その数週間後に今度はタイガというスーパーで似たような80gの鰹節が何と198円で売られていました。何と以前のものと比べて1袋90円も安いなんて。食料品の買い物も、すぐに何でも買わずに、色々チラシも見ながら値段を覚えておかないと、結構損をすることもあるんですね。
 さて自分は通常デスクトップ用のアプリケーションを作って、それらをMac App Storeで販売していますが、前述の話を教訓に何かiOS用のアプリを作れないか、とこの数ヶ月考えていました。iOS用のアプリで食料品の値段を管理するにも、問題は情報の入力ですね。製品の名前や製造元の名前、価格、数量など、入力しなければならない不可欠な項目が結構あり、それも商品ごとに写真を添付するとなると、果たして簡単にユーザーが入力できるiOS用のアプリを作れるのだろうか、と考えていました。そこで思いついたのが、この際、データをアプリに同梱することです。そしてやっと出来上がったのが「安かろう」という製品です。

iOS 安かろう

Source: Tom Bluewater
  iOS 安かろう

Source: Tom Bluewater

 「安かろう」というのは日本在住の方々だけのためだけに特別に開発したiOS用のアプリです。これは毎週3度も4度も食料品の買い物をする中、一円でも節約したいという方々のために作った無料の製品です。「安かろう」には既に700以上の食品及び飲料品のデータが登録されています。もちろん自分で商品の情報を新しく加えることも可能です。
 さてこの製品をどのように使って欲しいかと言うと、まずよく買い物をする店の名前の入力です。「安かろう」には店の名前のデータまでは登録していないので、自分でCREATEなり、タイガなり、マルエツなり、何でも、幾つでも登録してください。次に商品を閲覧し、特定の物を選択します。すると商品の情報があらわれるので、ここにある緑の背景色の参考価格を基準に、自分がよく買い物をする店での対象となる商品の値段を入力します。そうするとある商品に対してそれをどこで買ったほうが一番安いのかがわかるはずです。
  Continue reading →