How do I access notes in mail.app in mac os x? - cocoa

What I want to do here is sync notes in my app with notes in mail.app?
How can I access them?
With the sync service?
Any samples there?

You could write a fairly simple Sync Services client that syncs the com.apple.Notes schema - there isn't very much to it.
http://developer.apple.com/library/mac/#documentation/AppleApplications/Reference/SyncServicesSchemaRef/Articles/Notes.html
I don't believe there are notes sync samples floating around, but the enhanced Simple Stickies sample using ISyncSessionDriver could probably get you going in a couple of hours. Good luck.

Related

Sketchapp using for mockup designing

I know this is not related to PHP but related to many Front-end designers and developers.
In now days experienced mockup or UI/UX element designer use an app called sketchapp specially who use mac os. but when it comes to front-end developers who don't have mac os to code front-end. Here is the problem start many of developers try to search a solution but I don't think any one had it because the app developers not create any thing for windows to support these files.
My Question: what is the solution for this problem? should we try to find a friend/colleague who have mac os with the app or should we ask the client for other file format (but sometime clients don't have other file formats) or should we reject the project.
what should we do?
The immediate solution is to have your clients export their Sketch files to pdf. That is a built-in function in Sketch and only takes a second.
Longterm you may want to evaluate whether or not you maybe should get a cheap Mac to expand your portfolio.
Not sure if this is what you are looking for, but if you need to get design specs to work with you could use:
https://zeplin.io/
OR
https://www.invisionapp.com/
They offer tools for collaboration between designers and developers.
Hope this helps!

DJI Phantom API or hackable procedure

Maybe I have't looked hard enough, but I spent yesterday googling for a bit and found no relevant projects on hacking the DJI Phantom Drone in order to create new coordinating apps. This is besides the app for coordination DJI currently uses for their drone. I'm trying to see if there's a way to communicate with the Drone with a specific protocol in order to accept a set of procedures.
Any help would be awesome,
Thanks.
Great News for you and all us Droneys! DJI has launched their SDK since you asked this question. They released it last November and you can now apply for a license and write your own apps for the Phantom2 Vision+ using their SDK.
Check it out at https://developer.dji.com/
I am already building a project using the SDK - you can follow my progress on my blog / product site. I will also try to update it with good DJI related development links and tips.
This post is old but I think it is good to leave a foot print for others :)
There is this new company called NVdrones, which created a peace of hardware that you can attach to any drone (you need physical access to the flight controller), and once you do that you can use their SDK (Arduino, Java, Android and Javascript) to write your app without the need of hacking, soldering or anything else. It is just plug and play.
Another benefit is that you are not locked with a specific drone (DJI SDK or 3DRobotics SDK), you can use the board on anything you want. Which gives lots of flexibility.
The developer site is http://developers.NVdrones.com
Hope this helps.
This is a great topic!
You could check how to hack your copter here: https://github.com/flyver/Flyver-SDK/wiki/-2.2--How-To:-Flyver-Hack-a-Copter
By opening the drone, taking out the original controller, soldering a few wires and sticking an Android phone to it, you will have the ability to program your Phantom in a modern manner with an open source SDK and application based development. This means that you could add computer vision to it, automation or additional hardware. You could also use smartphones, web and other interactive devices for remote controlling the copter instead of using the standard remote controls.
The Phantom, however, is offcenter balanced due to the fact that most people use gimbal with it. Without the gimbal is a lot less stable from my experiments so you will have to put some extra work in center balancing it.

Using SQLite in Mac App

I am trying to look for a good tutorial/jump point to use SQLite in MacOSX App. I do have knowledge in iPhone development but never dealt with SQLite before, all my apps were enterprise lever where i talk to RESTFul server to post and get data, and all the sql stuff is at server side.
All my search attempts returned iphone results and some UI wrappers OSX, i guess there are less people out there that code for OSX than iphone :)
I am trying simply to make my app:
When it runs for the first time, checks and create a DB if it does not exist. I prefer to make the code invoke a sql script that will create the db if it does not exist, or if does exist it can check and make sure all tables, FK relations ..etc are correct. (I know how to do that script I just need the how to invoke in cocoa OSX apps)
Basic SQL stuff. INSERT/UPDATES/DELETE?
But before all this, is SQLite3 the correct approach for MAC OSX apps or I should stay with using plist files? Can the user "Normal" mess the state of SQLite3? are there any permissions issues that i have to worry about? I want my users just to launch the app and I will do everything in the background for them (I know I will support 10.8+ for this)?
Depending on your data needs you might consider using Core Data. It's not right for every situation, but it might be a good thing to check out. It can store data in XML, sqlite formats on the backend, so you can pick the right format depending on the data characteristics of your app.
If you know you want SQLite directly, FMDB is a good wrapper around it. I used FMDB a few years ago in a Mac app for a client and it worked pretty well.
Even if FMDB isn't your style reading the source may give you a good example of how the sqlite API works.
If you are an iOS developer then you are aware of Core Data, which is probably a better choice than raw SQLite for Mac Applications.

Any desktop application metric services (think Flurry for OS X)?

What are the options for desktop application metrics collection in 2013?
I know of Usermetrix and Deskmetrix, but surely they can't be the only ones? If you look at mobile analytics services the market seems to be a lot more developed.
Specifically I am looking for usage analysis (stuff like retention, crash reports, custom event reporting, version tracking.
EDIT: I should note that I'm aware of the similar questions but they're a few years old and was hoping to get an up to date picture, especially since the advent of the Mac App Store.
You should check out Trackerbird Software Analytics.
SDK is available for .NET/C++/Python and Mac OS X. Integration takes just a few minutes and apart from basic installation/usage tracking you can also use it for in-app marketing and conversion analysis.
Disclaimer: I am affiliated with the company.
While Deskmetrix seems quite nice, I ended up using Tapstream because it's free and Deskmetrix is pretty expensive.
Since Tapstream's main focus is evaluating advertisement campaigns its analytics feature is rather poor (compared to Flurry for instance). However, they allow custom event tracking.
When developing Mils, it was of great help that Tapstream supports both Mac OS X and Windows 8.
I've been successfully using Mixpanel (which has a free tier): they don't have an official Mac SDK (iOS only) but I've written a simple Obj-C wrapper for their APIs: https://github.com/swisspol/MixpanelTracker

Is there a good Fogbugz client for Mac OS X?

And/or: do I need one?
I've recently started using FogBugz for my hobby projects, and I'm very happy with things so far. Having read more about it, especially the evidence-based scheduling, I'd like to start using it for my PhD as well. (Heh; something tells me my supervisors won't be opening tickets for me, though.)
Last night I stumbled onto TimePost, which looks like a tidy app that doesn't do much but could be a real bonus to logging my time in FogBugz effectively. I tried looking around for similar apps but came up a little empty-handed. Are there any other FogBugz clients that you've used and recommend for Mac OS X? Or are you happy with the web interface?
The official answer is no, there is not a dedicated Mac client, other than Safari :)
There's a command line version that runs on Linux, Windows, and Mac.
There are also plans for an iPhone version although I'm not technically supposed to announce features before they are done or even spec'd so pretend I didn't say that.
I recently spotted this one which looks quite nice for additions:
http://manicwave.com/products/tickets
I'm happy with using the web interface. I've used Fluid to create a custom browser for it, and even gotten some help making a pretty icon.
We recently released a new Fogbugz client software for Mac, maybe you are interested to give it a try, http://lithoglyph.com/ladybugz/
I remember reading that there was a client in development, and I believe they're still looking for beta testers. See this URL
http://support.fogcreek.com/default.asp?fogbugz.4.24403.0
Shameless plug here, but you might wanna check out QuickBugz --- it is a lightweight program that integrates into your status menu. http://www.quickbugzapp.com
I have been very happily using the Tickets program from Manic Wave for a few weeks now. it provides a very fluid experience. I am using it in a pressure cooker of doing a competition entry in my odd hours around my day job.
Tickets makes it incredibly easy to create lots of small cases and juggle them between different milestones. I particularly like its outline view which helps when doing task breakdowns into sub-tasks.
Being a long way from the Fogbugz servers, in Western Australia, the speed of a searchable local interface is very much appreciated.
The UI has a lot of nice little Macisms such as mouse over a milestone and see the hours summarized.
Support has also been very prompt and comprehensive.
I don't think there is any other such Mac tool. I've never found the web interface too bad personally.
I don't know of any native tool, but like Matt I am pretty happy with the web interface.
The beta of Safari 4 and SSB feature is a pretty good option...
I found using a Mac browser w/ the screen snapshot and search engine add-on to be very useful. I think what you are saying is that it can be hard to edit your timesheets, but that is part of the web design.
I've just released Bee, which is a Mac client for FogBugz. (It also pulls in your tasks from GitHub and JIRA.)
It offers several benefits over the web interface and is designed to be simple, fast and elegant. You can check it out at: http://www.neat.io/bee/fogbugz.html

Resources