Search Results for track
SwiftCSP is a constraint satisfaction problem solver written in pure Swift (no Cocoa). It utilizes a simple backtracking algorithm with plans for future optimizations. At this stage of development, it's fairly slow but it includes examples of solving actual problems. It runs on both iOS and OS X.
A pretty basic implementation to help keep track of a users streak of days where he/she has launched your app. The component uses NSUserDefaults to keep track of the dates. It also makes use of NSDate+Helpers category used in the PMCalendar repo here: https://github.com/kovpas/PMCalendar which is MIT Licensed. Install: Copy TMConsecutiveDayHelper.h and TMConsecutiveDayHelper.m into your project as well as NSDate+Helpers.h and NSDate+Helpers.m. Place a call to: [TMConsecutiveDayHelper appLaunched]; In your App Delegate's application didFinishLaunchingWithOptions: method Then to check on your users streak you can call: [TMConsecutiveDayHelper streakSizeInDays]; Or Alternatively call: [TMConsecutiveDayHelper hasComeBackForThisExactNumberOfDaysConsecutively:5] which returns a BOOL You're responsible for what you want to do with the info and the class just keeps track of the streak itself. Downsides: Because the app uses NSUserDefaults it could be gamed pretty easily, by the user changing the date on their device. The component also uses ARC so if your project is using reference counting (ie retain release) then place the compiler flag ' -fobjc-arc ' inside the TMConsecutiveDayHelper.m row under the 'Compile Sources' located within the 'Build Phases' Tab for your App/Target settings.
UDBarTrackballItem is a button view for iOS which can position the text cursor (caret) and define the text selection of a text view in parallel to its touch drag movement. The user interaction pattern is similar to a Thinkpad TrackPoint. The intention was to create a text navigation component for text editor apps that makes the task of frequent text positioning and selection more convenient. The default way of positioning and selection requires a touch down delay to distinguish view scrolling and editing mode as well as the magnifying glass which distract the precise positioning more that it helps. The tradeoff is a decrease in view real-estate for the input accessory view bar (which is quite common in text editors nowadays).
A horizontal scrolling selector based on the control found on 8tracks' iPhone app. <p>This control is dual licensed:</p> <ul> <li><strong>- For Free,</strong> under the terms of the <a href = "http://opensource.org/licenses/Apache-2.0">Apache 2.0 licence</li></br> <li><strong>- Commercial license,</strong> under the <a href="http://CocoaControls.com/licenses/v1/license.pdf">Cocoa Controls commercial license agreement, v1</a> This option allows you to sell apps using the KLHorizontalSelect.</li> </ul> <br>