cocoa
Include .sh script in Cocoa/Xcode output
I\'m using Xcode 3.2.6. I\'ve added an sh script to my project. Is there a way to include that script in my project output when I build? I dragg开发者_如何学运维ed it to the \"Copy Files\" build step[详细]
2023-04-11 20:36 分类:问答Can I assign a just inserted ManagedObject to self?
I have the following factory method. I\'m just wondering if the assignment self = [NSEntityDescription insertNewObjectForEntityForName:entityName[详细]
2023-04-11 19:05 分类:问答cocoa compiled app resources keep folder structure?
Generally when you build an cocoa ap开发者_运维问答plication, it will put all of your resources in the Contents/Resource directory inside of your application bundle. Is there a way to have this keep t[详细]
2023-04-11 18:42 分类:问答Manage padding for a NSTextField
I\'ve create a subclass of NSTextField to manage its background color, text color, insertion point color and so on ...[详细]
2023-04-11 18:17 分类:问答How to get output from Admin Priveleges bash script, called from Cocoa?
I\'m using code below, to launch bash command, with Admin Privileges. I need to be able to store output in Array,after to use it. How can I get output?[详细]
2023-04-11 17:32 分类:问答Restore file document base application
I have a little problem with my first document based application. Is very simple: on myDocument.m I make some method[详细]
2023-04-11 17:05 分类:问答How to implement push button bar in Cocoa
Any idea how to recreate the row of buttons effect used by Safari 5.1 for the back/next buttons, or in Xcode 4 for the Editor and View buttons in the toolbar? Basically a set of buttons in a single bl[详细]
2023-04-11 16:42 分类:问答bind nsrect and nstextfield
I would like to bind frame of NSView to model property NSRect. I did this in that way: [textView.enclosingScrollView bind:@\"frame\" toObject:bindingsController withKeyPath:@\"selection.text开发者_Go[详细]
2023-04-11 15:12 分类:问答How to create a scope bar?
In my application I need a scope bar like the one in the Dictionary. In the HIG it is described that somethi开发者_JS百科ng like \"scope bar\" exists however I couldn\'t find any information how to cr[详细]
2023-04-11 14:55 分类:问答Scrolling effect like iCal's week view in Lion
I am working on cocoa for 1 month. I am working on application where I 开发者_高级运维need to have my own custom week view, which is more compact then ical, but what I want is the nice scrolling anima[详细]
2023-04-11 14:29 分类:问答