You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
OS X Yosemite introduced JavaScript for Automation. This makes it possible to access native OS X frameworks with JavaScript. Iâve been digging in to this new world and putting together examples along the way. In this post Iâll explain the basics and step through building a small example app. WWDC 2014 included a session on JavaScript for Automation. The session explained that you would be able to
README.md Cupertino.js - Compile Javascript to Cocoa Cupertino.js is a implementation of the Javascript programming language designed with Cocoa support as a primary consideration. It includes a static compiler and uber dynamic runtime that sits atop of the Objective-C runtime. It exposes a simple interface to Objective-C: Javascript code is statically compiled to Objective-C. Objects and functio
In your project, under Info > Localizations, add a new language. Replace with the strings file generated. Plural Support New in Foundation, you can have a .stringsdict file alongside the .strings. Refer to the section on Localized Property List File. The dict looks like this: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/Prop
GIFã¢ãã¡ã®ã¨ããããã®ã©ã¤ãã©ãªã¯æ®éã®NSTextViewã«ã¹ãã¼ããªæ©è½ãæ¡å¼µãããä»ã®ã¨ããã¯ä»¥ä¸ã®ãããªæ©è½ãæ¡å¼µãããã Smart indent: æ¹è¡æã«ã¤ã³ãã³ãããã¼ããããSoft tab: TABãã¼ã§ã¿ãæåã§ã¯ãªãspaceãå ¥åãããå ¥åããspaceã®æåæ°ï¼tab widthï¼ãè¨å®ã§ãããAuto pair completion: GIFã¢ãã¡ã®ããã«ã«ãã³ãã¯ã©ã¼ãã¼ã·ã§ã³ãè£å®ãããå餿ãèªåçã«ãã¢ãåé¤ããããã ããéãã¯ã©ã¼ãã¼ã·ã§ã³ãå ¥åããã¨ããè£å®ãã¦ãã¾ãã®ã§ããã¾ã§è³¢ãã¯ãªãã
The document discusses the development and features of MacRuby and RubyMotion, two projects by Laurent Sansonetti that leverage LLVM for Ruby compilation. RubyMotion provides a command-line toolchain for developing iOS and OS X applications with a unified Ruby runtime, while also incorporating Objective-C and enabling static compilation for different architectures. Additionally, the document highl
One of the most rewarding experiences you can have as a developer is to teach young people how to program. If you ever grow jaded by how fundamentally broken all software is, thereâs nothing like watching a concept like recursion click for the first time to offset your world-weariness. My favorite way to introduce the concept of programming is to set out all the ingredients for a peanut butter and
https://github.com/laiso/CocoaWSSE ç¹ã«ãªãã®å¤å²ããªãæãã®ãã¤ã§ãããªãã£ãã®ã§ä½ãã¾ããã ã¯ã©ã¤ã¢ã³ãåãã«ã¦ã¼ã¶ã¼/ãã¹ã¯ã¼ããããããã¼ã®æååãçæãã¾ãã NSMutableURLRequest* req = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"http://..."]]; [req setValue:[CocoaWSSE headerWithUsername:@"sample" password:@"passwd"] forHTTPHeaderField:@"X-WSSE"]; [NSURLConnection sendAsynchronousRequest:req queue:[NSOperationQueue mainQueue] completionH
[Video] http://www.youtube.com/watch?v=s1dhXamEAKQ Tildã®Yehuda Katzã®Golden Gate Ruby Conference 2013ã§ã®è¬æ¼ã Ruby on Railsã®ã¯ãªã¨ã¼ã¿ã¼ã§ããDavid Heinemeier HanssonãããJavaScriptå¢ã¯ããã«MVCã§è¦ããã§ããããµã¼ãã¨ã¯ã©ã¤ã¢ã³ã両æ¹ã«MVCãå¿ è¦ã§è¤éãããããã¨Twitterã§çºè¨ããã®ã«å¯¾ãã¦ãYehudaã¯ãããã§ã¯èª¤è§£ãä¸ããã¨å±æ§ããGUIããã°ã©ãã³ã°ãæ´å²çã«ã©ã®ããã«MVCã«çºå±ãã¦ããããç´¹ä»ãããã¨ã§ãããã«MVCãæ¬å½ã«æå³ããã¨ããã解説ãã¦ãã¾ãã DHHã®çºè¨ã¯ãçãä¸ãã£ã¦ããMeteor / Node.jså¢ã«å¯¾ããåãªãæ¹å¤ã£ã½ãã§ãããããã«å¯¾ãã¦Yehudaã¯ãã¸ã«ã«ã«è©±ãã¾ã¨ãã¦ã¾ãã ã¹ã©ã¤ãã
CocoaPodsã§ã®ã©ã¤ãã©ãªå ¬é Objective-Cãªã©ã¤ãã©ãªã¯CocoaPodsã«ã¦ã¤ã³ã¹ãã¼ã«ããäºãæ®ã©ã§ããã CocoaPods ã§ã©ã¤ãã©ãªãå ¬éããã«ã¯ã©ã¤ãã©ãªã®å®ç¾©ãã¡ã¤ã«ã§ããpodspecãã CocoaPods/Specsã«PullRequestãã¦åãè¾¼ãã§è²°ãå¿ è¦ãããã¾ãã Contributing to the master repo · CocoaPods/CocoaPods Wiki ã®æé ã«ä¹ã£åã£ã¦æ®éã«æåã§ãã£ã¦ãåé¡ç¡ãã§ãããæ´æ°ã®åº¦ã«ããã®ã¯çµæ§é¢åã§ãã ããã§ãCocoaPodsã®ãµãã³ãã³ãã® pod push ãã¤ãã£ã¦ããæé ã«ã¤ãã¦ã®è¨äºã§ãã pod push å¿ è¦ãªãã® CocoaPods github/hub pod help push ã§è¦ãã¨ãããã¾ãããpod push ã¯åç´ã«æå®ããspecãã¡ã¤ã«ãl
OSX Leopard以éã®ãã¼ã¸ã§ã³ãããOSXæ¨æºã§ãã³ãã«ããã¦ããè¾æ¸ã¢ããªã±ã¼ã·ã§ã³ã®APIã§ããDictionary Servies*1ãå ¬éããã¦ãã¦ãDictionary Services Referenceã®ãã¼ã¸ã§ãªãã¡ã¬ã³ã¹ãé²è¦§ãããã¨ãåºæ¥ããä»ã¾ã§è¾æ¸çãªè³æºãå©ç¨ããå ´åã¯Webãã¹ã¯ã¬ã¤ãã³ã°ããçãã¦ããããOSXãã¼ã«ã«ã§ç¨ãããã¼ã«ãªãã°Dictionary Serviesãç¨ãã¦ãè¯ãæ°ãããã®ã§ã¨ããããåç´ã«è¾æ¸ãå¼ãã ãã®ã¢ããªã±ã¼ã·ã§ã³ãå®è£ ãã¦ã¿ãã #import <Foundation/Foundation.h> #import <CoreServices/CoreServices.h> int dict(NSString*word){ NSString*result = (NSString*)DCSCopyTextDefinition
TemperatureConverter 以ä¸ã¯ãMac OS X 10.4.11 ä¸ã® Xcode 2.5 ã§èª¬æãã¦ãã¾ãã 1ãREADME.rtf ã®æ¥æ¬èªè¨³ ç°ãªã表ç¾ã®éã§ãã¼ã¿ãèªåçã«å¤æããããã« NSValueTransformer ã使ãåç´ãªãµã³ãã«ã§ãããã®ãµã³ãã«ã®ç®çã¯ãç¬èªã® NSValueTransformer ã®ãµãã¯ã©ã¹ã使ãã¦ä½¿ç¨ããæ¹æ³ã示ããã¨ã§ããããããªããªããããå°ãªãã³ã¼ãè¡ã使ã£ã¦ããé常ã®éã«å ¥ãã³ã¼ã (regular glue code)ãã使ã£ã¦ãæ¸©åº¦å¤ææ©ã使ãããã¨ã¯å¯è½ã§ãã Temperature Converter ã¯ãã¦ã¼ã¶ã¼ã 4 ã¤ã®ç°ãªãåä½ã®ã©ããã§æ¸©åº¦å¤ãå ¥åã§ããåç´ãªã¦ã¼ã¶ã¼ã¤ã³ã¿ã¼ãã§ã¤ã¹ãæç¤ºããã¢ããªã±ã¼ã·ã§ã³ã¯ä»ã® 3 ã¤ã®åä½ã«ãããæ¸©åº¦ãèªåçã«å¤æã表示ãããã¨ã«ãªãã¾ãã4 ã¤ã®åä½
Written by Mattt October 17th, 2018 (revised) This article has been translated into: 䏿 Of all the Foundation classes, ValueTransformer is perhaps the one that fared the worst in the shift from macOS to iOS. Why? Here are two reasons: First, ValueTransformer was used primarily in AppKit with Cocoa bindings. There, they could automatically transform values from one property to another, like for neg
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã¡ã³ããã³ã¹
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}