85 Commits
Author SHA1 Message Date
Sylvain Defresne 39ea9fe2f2 Remove trailing semicolons between method parameters and body (#1973)
Having a semi-colon between a method parameters list and a method
body is not not correct and is usually caused by a copy and paste
error while creating the method definition from its declaration.

Fixes the following compilation warnings when building with
-Wsemicolon-before-method-body (which is part of -Wextra):

  ASPINRemoteImageDownloader.mm:230:85: error: semicolon before method body is ignored [-Werror,-Wsemicolon-before-method-body]
  - (id <ASImageContainerProtocol>)synchronouslyFetchedCachedImageWithURL:(NSURL *)URL;
                                                                                      ^
  ASPINRemoteImageDownloader.mm:275:76: error: semicolon before method body is ignored [-Werror,-Wsemicolon-before-method-body]
                           completion:(ASImageDownloaderCompletion)completion;
                                                                             ^
  2 errors generated.

Fixes applied to both code, examples and samples in documentation.
2021-03-26 11:07:31 -07:00
Joseph Price 82e6a46943 fix missing hidden class (#1952) 2021-02-01 16:56:33 -08:00
Greg Bolsinga 9ef97f4965 Remove background deallocation helper code (#1890)
* Remove background deallocation helper code

Last use removed in Texture with #1840, now PINS no longer uses it either. Less OOMs is so nice.

* remove methods from docs
2020-07-30 12:02:46 -07:00
Garrett Moon c5f69f0b01 Renames AS_EXTERN and ASViewController (#1876)
* Renames AS_EXTERN and ASViewController

To ASDK_EXTERN and ASDKViewController.
This is to avoid conflicting with AuthenticationServices in
Xcode 12

* Fix up examples and docs

* Add bit about updating ASViewController rename
2020-06-29 12:49:59 -07:00
Alexander Telegin f0c0fae38a Update Swift collection view interop example (#1837)
* Update uicollectionviewinterop.md
2020-05-26 11:06:19 -07:00
vovasty 74fd8f3d33 deprecate ASGraphicsCreateImageWithTraitCollectionAndOptions (#1836) 2020-05-22 20:15:09 -07:00
Hanton Yang 9337795419 [Docs] minor fixes in Layout (#1735) 2019-12-04 22:16:26 -08:00
Hanton Yang be96501df9 [Docs] Update to use ASCornerLayoutSpec for Photo with Outset Icon Overlay (#1721) 2019-11-12 10:40:39 -08:00
Hanton Yang d09c967cc6 [Docs] Fix broken link in Layout-Quickstart (#1648) 2019-10-09 12:54:50 -07:00
Huy Nguyen 0568a537d9 [Dev docs] Fix previous and next page links (#1601)
Our pages are organized in 2 dirs: /docs/ and /development/.

Within a dir, prevPage and nextPage are relative (to the dir) so its path should be appended to their href links (see docs/_layouts/docs.html). The dir is available in the page's permalink var.

Some prevPage and nextPage point to a page in a different dir in which case they must not be relative. Instead they must include the other dir's path and thus their links won't be modified.

Also removed some pages that are no longer needed and fixed some prevPage and nextPage values.

I tested this diff locally and all links worked fine.
2019-07-29 12:09:19 -07:00
Huy Nguyen 67f2ea5c42 Add dev docs navigation (#1599) 2019-07-26 08:09:40 -07:00
Hanton 7aba2873b1 [Dev docs] fix broken image links (#1597) 2019-07-25 15:39:38 -07:00
Michael Zuccarino 935abc4b51 Add link to Getting Started to Overview page (#1587) 2019-07-15 18:14:39 -07:00
Huy Nguyen 45f1611ccb [Dev doc] Improve title of how-to-debug.md (#1586) 2019-07-15 13:53:54 -07:00
Huy Nguyen 8640d568f4 [Dev doc] Minor updates to collection-asynchronous-updates.md 2019-07-15 12:14:21 -07:00
Hanton 88946c4b93 Update docs navigation orders (#1584) 2019-07-15 12:02:43 -07:00
Hanton 00d76ceee3 [Dev doc] Add Carthage version (#1578) 2019-07-10 20:00:44 -07:00
Huy Nguyen d4c0d74fc9 [Dev doc] Add overview and explain repository structure (#1562) 2019-06-27 14:25:27 -07:00
Michael Zuccarino 45df8d755f [dev doc] Layout Specs (#1557) 2019-06-27 11:00:27 -07:00
Michael Zuccarino d835fb3f2b [dev docs] Remove redundant page (#1563) 2019-06-27 11:00:02 -07:00
Huy Nguyen a11c08497b [Dev doc] Collections and asynchronous updates (#1558) 2019-06-25 12:52:41 -07:00
Huy Nguyen 533c7eba1c [Dev docs] Node Lifecycle (#1536)
* [Dev docs] Node Lifecycle

Here is my draft on a new documentation aims at people interested in learning about technical details of the lifecycle of ASDisplayNode, as well as its interface and loading states. Hopefully it'd be useful for others who want to ramp up and hopefully start contributing to the framework.

Let me know if there are other topics I should cover, or anything I should explain more/dig deeper, or something that is wrong/no longer valid (imposter syndrome much!). Cheers!

* Update node-lifecycle.md

* Address comments
2019-06-20 13:56:10 -07:00
Garrett Moon ef06cfe843 Update how to contribute docs (#1553) 2019-06-12 16:29:32 -07:00
Huy Nguyen 9b8120656b [Dev docs] How to develop with Texture (#1538) 2019-06-11 16:59:10 -07:00
Michael Zuccarino a6a03c638b [Dev docs] Debugging documentation (#1328)
* Starting doc skeleton and debugging UIKit crash document

* Iterate Debugging docs

* Scope to only debug, include Weaver

* Typos
2019-06-10 10:40:54 -07:00
Andrew Monshizadeh 6832175537 Clean up documentation issues around periods (#1490)
There were so unnecessary `'` around periods for some reason. Just deleting those because they are distracting.
2019-05-06 09:51:47 -07:00
Wu Zhong 5aef12d4fb Try to remove global lock when initialising TextKit components (#1455)
* Try to remove global lock when initialising TextKit components

* Adding experiment flag to dis/enable lock of textkit component

* Adding tests

* code clean

fix typo

Make remove lock optional

Keep locks

code clean
2019-04-22 11:29:34 -07:00
dirtmelon c50e509a84 Fix typo in batch-fetching-api.md (#1437) 2019-04-01 08:52:43 -07:00
Michael Zuccarino 98c3791912 Dev docs for threading in Texture (#1319)
* Getting started on adding threading by example

* writing writing writing

* more info

* More threading

* More more more

* Threading

* self lock

* Some language fixes

* Update docs/_docs/development/threading.md

Co-Authored-By: mikezucc <mikezuccarino@gmail.com>

* fix image references
2019-03-22 15:38:41 -07:00
Garrett Moon 45146ff1cf Update the FAQ to throw less shade. (#1379)
* Update the FAQ to throw less shade.

Both of these technologies have their place, no point in being assholes.

* Update faq.md
2019-03-06 17:09:49 -08:00
dirtmelon 257f5a9a6d Update layout-transition-api.md (#1357) 2019-03-03 08:05:44 -08:00
dirtmelon 333380d465 Fix typos (#1348)
* Update containers-overview.md

* Update subclassing.md

* Update node-overview.md

ASImageNode, ASNetworkImageNode and ASMultiplexImageNode are in place of UIImageView, not UIImage.
2019-02-22 11:28:26 -08:00
Sudhanshu d4a1242052 Update layout2-layoutspec-types.md (#1330)
`justifyContent` definition updated.
2019-02-15 12:54:14 -08:00
Jay Xie b01ebd6f5f In response to gestures (#1332)
because "Disable user interaction for text node by default." so you need set textNode.userInteractionEnabled = YES to make response
2019-02-14 09:17:38 -08:00
wxyong 45f2347367 [Documentation] Performance spell correction (#1298) 2019-01-16 18:21:24 -08:00
Garrett Moon 90a9a9640a Add development docs structure (#1245) 2018-11-20 12:59:07 -08:00
Orkhan Huseynov ce78fa00df Update image-node.md (#1230)
typo fix
2018-11-12 08:23:41 -08:00
J.T. Burgess b556b2f775 Fix a couple typos. (#1092) 2018-08-30 22:04:23 -07:00
J.T. Burgess dcda33b692 Fix Typo (#1089)
"preform" -> "perform"
2018-08-29 17:39:23 -07:00
Michael Schneider 022b6b7785 Fix multiple documentation issues #trivial (#1073) 2018-08-20 14:26:14 -07:00
Ryan 9d8406e938 Fix headers in markdown (#1053) 2018-08-01 14:52:38 -07:00
Michael Schneider 4880b54db0 Add documentation for rounding corners within Texture (#1044) 2018-07-25 14:08:48 -07:00
Rasul Tataev 5fef6a17a6 Changed lost images to existing one. (#981)
New images taken from http://texturegroup.org/docs/automatic-layout-containers.html.
2018-07-20 15:19:23 -07:00
Andrew Yates cf78dc6d84 Fix & update ASCollectionNode constrained size doc. (#1037) 2018-07-17 19:03:51 -07:00
huang-kun 8cd123b0de Add an introduction for ASCornerLayoutSpec in layout2-layoutspec-types.md (#1021) 2018-07-13 13:09:59 -07:00
Muukii f0dac14505 Fix typo in containers-asviewcontroller.md (#989) 2018-06-25 08:29:02 -07:00
Michael Zuccarino 37e82132be Use valid Upgrade to 2.0 beta 1 page (#980)
upgrading.html => adoption-guide-2-0-beta1.html

Testing this doesn't quite work in preview as the path differs a bit from when its accessible through the normal resolver. I assume this will substitute the last path slug and the server maps `_docs` to `docs` https://github.com/TextureGroup/Texture/tree/master/docs/_docs
2018-06-23 09:00:43 -07:00
Sagar Bhosale 60e3f97241 Update tip-1-nodeBlocks.md (#943)
collectionView is being replaced with collectionNode.
2018-05-26 08:44:59 -07:00
everettjf bf48ebd8da replace back quote with "code" in containers-overview.md (#884)
* Update containers-overview.md

* Update containers-overview.md

* Update containers-overview.md
2018-05-11 17:14:22 +01:00
Denis Morozov e67b892243 Fix typos in layout2-layoutspec-types.md (#883) 2018-04-15 12:25:53 -07:00