Review the MVVM pattern with Objective-C on iOS development again.

Preface

In the last post I’ve proven what the view model it is and how to use it correctly in mvc pattern, it can recall me about another famous architectural pattern MVVM (Model-View-ViewModel) always. However,

Read More

Review the MVC pattern with Objective-C on iOS development again.

Preface

MVC(Model-View-Controller) architectural pattern is over 40 years old today and has been already used in so many iOS projects, it’s also the most usual pattern I saw in all kinds of team and company projects. There

Read More

Time to drink some water…

Drink reminder

这种功能的 app 就有很多了,但是在办公室如果是在手机上发出来的提醒会比较弱,我甚至会觉得是一种干扰,所以索性也移到了 mac 里。

<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>Label</key> <string>willhan.drink.reminder</string> <key>ProgramArguments</key> <array>