Development on mobile phone,Currently popular on the network mainly two development software,Is a well-known unity (after all, the year 4399 above the game online edition of Minecraft developed by it,3d engine without any software beyond it),Another is the relatively small minority of the cocos。cocos occupy a major position 2d game,And unity has occupied a major position 3d game。And we are talking about cor[……]
Exchange of Experience
Excellent input method,We came another excellent platform!
Although it lacks many features,But I can not wait to share these good things to you,He pocketed finally embarked on the input method macOS,over the years,Enter Larry is a nightmare in macOS,Now,This nightmare can end up。
In addition to incomplete abandoned pit I do not know when it can not be used palms input method for Mac、Basically non-professionals[……]
When developing pocketed input method,I met such a thing,That is, as a candidate bar window will go beyond the screen when the edge of the screen! and so,In the display window when I do extra check the coordinates:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
if visiableCandidateCells.isEmpty { if let screenframe = NSScreen.main?.visibleFrame { if screenframe.width < location.x + size.width { location.x -= location.x + size.width - screenframe.width } } } else { if let screenframe = NSScreen.main?.visibleFrame { if screenframe.width < location.x + self.window!.frame.size.width { location.x -= location.x + self.window!.frame.size.width - screenframe.width } } } if location.y < 50 { location.y += 35 + 35 } |
In short,That is, if you count the coordinates of their width exceeds the width of the screen,Norway put it back。
but,Such[……]
China's Internet is monopoly,Most Internet users daily access are not escape those few manufacturers of service,Another point of view,They do not require services outside of these manufacturers。Because daily Internet services are monopolized by manufacturers,As an independent developer,You do not have enough human and material resources,Not thinking focus、Research does not expect users,The temerity to contend against the wind and manufacturers,So the next failure is inevitable。
Previous articleWe discussed[……]
As the saying goes,A good beginning is half the battle。
I find a lot of friends to chat,He says wants independent developers,Say you have an idea or project。And so they opened their mouths,I knew he was the end result is going to vote resume。
Many independent developers from the outset doomed (more likely than others) fail。 Why do you say? Many developers try to do independent development,Finally, you find yourself doing the app with no one。Eventually leading to frustrated,weight[……]
All to known,Input method does not need to get off the grid. "Full access”,So according to Apple's rights,Naturally, you can not play the key tone。
but,Recent pocketed updated input method added this feature - you can even join in later versionsKey shockGot it。However, I stillNo needGet "full access"。
Then,How I do it?
iOS in the sound and vibration
In fact, the same thing[……]
With the upgrade version of Xcode,speedMore slowly,In particular, Yiyanbuge "Whiteboard"I believe we will have problems encountered。
This is the very thing affecting development efficiency。If it is possible,Then we will Xcode cache file into memory,It should be much faster speed。(Although rmbp of ssd have a very fast,But compared to memory,Or far worse -For mechanical hard drive[……]
Loading system is a very common thing,Think about it for so many years since I have to save myself invisible in how much money XD
In short,Written on the windows, such as CD-ROM image will be easier (actually more difficult),Since many years because I always spare some common tools,In the mac,It is more tragedy,Not even a really easy to use 100% of CD image writing tool。
In fact,macos is[……]
Just remember when doing blog,I also tried various third-party China's social comment system,And even wrote an article for analysis and comparison of the pros and cons between them:WordPress plugin common social comment Comment,Of course,Try again in,After selecting one of them and spent some time,I eventually go back to the wp's own comment system,Later, I wrote an article to illustrate this matter:I did not use a third-party evaluation[……]