Posts

Showing posts with the label Templates

AWS: Cloud Formation: Is It Possible To Use Multiple "DependsOn"?

Answer : Yes, The DependsOn attribute can take a single string or list of strings . http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-dependson.html Syntax: "DependsOn" : [ String, ... ] This answer comes up first in Google, so I will include how to do multiple dependson attributes in YAML, which I found in this answer. AnotherProductionResource: Type: AWS::CloudFormation::Stack Condition: ISProduction DependsOn: - AResource - MyProductionResource Properties: [...] Yes, "DependsOn" can take multiple strings. I have listed an example below: "DependsOn": [ "S3BucketAppElbLogs", "ElbLogAppBucketPolicy" ]

Change Templates In Xcode

Answer : You wouldn't change the existing templates. In other words, don't modify anything under the /Developer hierarchy (or wherever you installed your developer tools). Instead, clone the templates you want to have customized variants of. Then change their names and the information in them. Finally, put them in the appropriate location in your account's Library/Application Support folder, specifically: File templates: ~/Library/Application Support/Developer/Shared/Xcode/File Templates/ Target templates: ~/Library/Application Support/Developer/Shared/Xcode/Target Templates/ Project templates: ~/Library/Application Support/Developer/Shared/Xcode/Project Templates/ That way they won't be overwritten when you install new developer tools, and you can tweak them to your heart's content. Update For newer versions of Xcode the updated path will be: ~/Library/Developer/Xcode/Templates/File Templates/Source This may be useful for somebody: As for X...