Giter VIP home page Giter VIP logo

Comments (4)

jasperblues avatar jasperblues commented on August 22, 2024

Sounds good. Until now coupling has only been via .xcodeproj file, no dependency outside of standard Cocoa. However, this sounds useful enough to go beyond that. Do you want to send a PR?

from xcodeeditor.

johndpope avatar johndpope commented on August 22, 2024

I can confirm this code is working - um - I'm going to simply use the code as is.
screen shot 2016-08-01 at 5 37 49 pm

It looks like this code can also hook into the console.

 MTCodeConsole *console = [MTCodeConsole consoleForKeyWindow];
    [console log:mainProject.directoryPath];
    [console log:mainProject.projectName];
    [console log:mainProject.infoDictionary];
    [console log:mainProject.workspacePath];
    [console log:mainProject.projectFile];
    [console log:mainProject.projectFileDir];

screen shot 2016-08-01 at 5 46 45 pm

Thanks so much for this library. It's purring like a kitten

MTProject *mainProject = [MTProject projectForKeyWindow];

MTCodeConsole *console = [MTCodeConsole consoleForKeyWindow];

XCProject* project = [[XCProject alloc] initWithFilePath:mainProject.projectFileDir];
[console log:project.groups];

/Users/johndpope/Documents/gitWorkspace/Stencil/StencilPlugin.xcodeproj
(
"Group: displayName = Model, key=EA3D3DBA1AE57D44007BD36A",
"Group: displayName = Vendor, key=EAB992F51AF75D5500F506D9",
"Group: displayName = Additions, key=EAB55BA11AE2D456001EBD12",
"Group: displayName = (null), key=EA31BC2C1AE1AFDE00167EFD",
"Group: displayName = User Interface, key=EA3D3DAC1AE56711007BD36A",
"Group: displayName = Private, key=EA91AC771AF75EA6005B4E74",
"Group: displayName = MTWorkspace, key=835682E31D4FF0DB00F18F9B",
"Group: displayName = DZLObjcAdditions, key=EA91AC711AF75E84005B4E74",
"Group: displayName = Template Options, key=EA3D3DAF1AE56B97007BD36A",
"Group: displayName = Pods, key=2FBE1F592EEA51733F15EE09",
"Group: displayName = Frameworks, key=EA31BC371AE1AFDE00167EFD",
"Group: displayName = Products, key=EA31BC361AE1AFDE00167EFD",
"Group: displayName = Resources, key=EA3EB1B31AE3909B009553F9",
"Group: displayName = Built-in Templates, key=EAD85A971AEEA86000415E84",
"Group: displayName = Supporting Files, key=EA31BC3D1AE1AFDE00167EFD",
"Group: displayName = StencilPlugin, key=EA31BC3C1AE1AFDE00167EFD",
"Group: displayName = Helpers, key=EA23E0431AF4D89E008E4A50",
"Group: displayName = Parsing, key=EA4FB6901AE4D429001EFB21",
"Group: displayName = SDK Fakes, key=EA4FB6821AE398B2001EFB21"
)

from xcodeeditor.

johndpope avatar johndpope commented on August 22, 2024

fyi - https://github.com/markohlebar/Peckham/blob/a9c51f05999c8af5d1e8ffed87a9946b1f364bbd/MHImportBuster/External/Benoit/MHXcodeDocumentNavigator.m

from xcodeeditor.

johndpope avatar johndpope commented on August 22, 2024

spring cleaning github issues.
@jasperblues - thanks for your efforts here.

from xcodeeditor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.