Post

Replies

Boosts

Views

Activity

Reply to "Could not display guide" message
I decided to have a crack at copying off the Get Started with Apps example and changed my targets section of the app package to look like this:     targets: [         .executableTarget(name: "App", dependencies: ["Guide"], path: "App"),         .target(             name: "Guide",             path: "Guide",             resources: [             .process("Guide.tutorial"),             .process("Resources/title.png"),             .process("Resources/titleBackground.png")             ])     ] With both Xcode 13 and the 14 beta I get the following message now, for my project: public headers ("include") directory path for 'Guide' is invalid or not contained in the target There is a Guide folder and a Resources folder with those two pngs in it, so I don't think it's an issue with missing files... Any ideas at all would be appreciated.
Jun ’22
Reply to How to host multiple docarchives on a single http server?
Thanks for the quick response! So I'm planning on using Apache and having a setup that looks like, for example, this: ~/public_html/docs/question_bot ~/public_html/docs/slothcreator But before I even get to serving up the two separate doc archives, when I navigate to question_bot, I have an issue loading the css and js folders at the root, because in my public_html folder I already have css and js files that drive other parts of this site. So this rewrite rule in the .htaccess file is a bit of an issue: # Route files within the documentation archive. RewriteRule ^(css|js|data|images|downloads|favicon\.ico|favicon\.svg|img|theme-settings\.json|videos)\/.*$ QuestionBot.doccarchive/$0 [L] (This rewrite rule is in a .htaccess file in the ~/public_html/docs/question_bot directory.) Is there an easy way to amend this to not stomp all over my existing content? I can go digging into rewrite rules and regexp, but if there's an obvious way to support the setup above (and avoid requests for my docs going to /css and /js) I'm missing I'd love to hear it. Thanks!
Jun ’21
Reply to SWIFT RESOURCES
Depends what hardware you have available. If all you have is an iPad, you would start with Everyone Can Code Puzzles to get an intro to the Swift programming language. If you have a Mac, needed for iOS development, you could start with either Develop in Swift Fundamentals (https://books.apple.com/us/book/id1511184145) or Develop in Swift Explorations (https://books.apple.com/us/book/id1511184149). These books came out this summer and replace the App Development with Swift books. The Fundamentals book is all about app development and dives right in. It's suitable for beginners, but you really hit the ground running. Explorations is for beginners who really haven't had much exposure to coding or the concepts of coding at all. Either one would be a really good start and they have some great resources for you to work through.
Topic: Programming Languages SubTopic: Swift Tags:
Oct ’20