2015.09.21 / Technology research
Frank Fan
KNOWORTH
只有想不到、没有做不到

2026-02-09 / Technology research
Prior to iOS9, you could only use spotlight to find apps by their name. With the announcement of the new iOS9 Search APIs, Apple now allow developers to choose what content from their apps they want to index, as well as how the results appear in spotlight, and what happens when the user taps one of the results. The 3 APIs NSUserActivity The NSUserActivity API was introduced in iOS8 for Handoff, but iOS9 now allows activities to be searchable. You can now provide metadata to these activities, meaning that spotlight can index them. This acts as a history stack, similar to when you are browsing th[…]
by Chris Grant
2026-02-09 / industry
As a big fan of Test Driven Design and Development, I believe creating good tests is one of the single most important things we can do as Java Developers. We write tests for a number of reasons: To shape the design of our system. We know what the input and output should be, but what objects do we need to create to do this? What shape should the code take? Writing tests allows us to understand what our code should be created. To ensure initial and ongoing correctness. It is important our application behaves as expected and is consistently accurate. Tests should do their best to ensure this is t[…]
by Sam Atkinson
2026-02-09 / Industry
Be honest how do you feel when someone tests your code? If youre anything like me, it probably ranks right up there with Monday mornings or getting a root canal. In fact, there are 5 things that drive me absolutely crazy in an average working week: #1. When It All Comes Crashing Down Youve pushed your code to the main repository and you feel like the greatest developer since Dennis Ritchie. Youve thoroughly checked your code (well, you ran over it at least twice while eating your morning cheerios) and youre sure nothing can go wrong. In a state of euphoria, you celebrate with your playstation […]
by Jason Silberman