text stringlengths 9 39.2M | dir stringlengths 25 226 | lang stringclasses 163
values | created_date timestamp[s] | updated_date timestamp[s] | repo_name stringclasses 751
values | repo_full_name stringclasses 752
values | star int64 1.01k 183k | len_tokens int64 1 18.5M |
|---|---|---|---|---|---|---|---|---|
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "path_to_url">
<plist version="1.0">
<dict>
<key>PreferenceSpecifiers</key>
<array>
<dict>
<key>FooterText</key>
<string>This application makes use of the following third party libraries:</string>
<key>Title<... | /content/code_sandbox/Example/Pods/Target Support Files/Pods-ReusableDemo tvOS/Pods-ReusableDemo tvOS-acknowledgements.plist | xml | 2016-01-19T19:49:55 | 2024-08-10T21:10:40 | Reusable | AliSoftware/Reusable | 2,999 | 515 |
```markdown
# Acknowledgements
This application makes use of the following third party libraries:
## Reusable
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including with... | /content/code_sandbox/Example/Pods/Target Support Files/Pods-ReusableDemo tvOS/Pods-ReusableDemo tvOS-acknowledgements.markdown | markdown | 2016-01-19T19:49:55 | 2024-08-10T21:10:40 | Reusable | AliSoftware/Reusable | 2,999 | 237 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "path_to_url">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>${EXECUTABLE_NAME}</string>
<key>CFBundleIdentifier</key>
<string>${PR... | /content/code_sandbox/Example/Pods/Target Support Files/Pods-ReusableDemo iOS/Info.plist | xml | 2016-01-19T19:49:55 | 2024-08-10T21:10:40 | Reusable | AliSoftware/Reusable | 2,999 | 254 |
```unknown
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO
FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Reusable-iOS"
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Reusa... | /content/code_sandbox/Example/Pods/Target Support Files/Pods-ReusableDemo iOS/Pods-ReusableDemo iOS.debug.xcconfig | unknown | 2016-01-19T19:49:55 | 2024-08-10T21:10:40 | Reusable | AliSoftware/Reusable | 2,999 | 282 |
```objective-c
#import <Foundation/Foundation.h>
@interface PodsDummy_Pods_ReusableDemo_iOS : NSObject
@end
@implementation PodsDummy_Pods_ReusableDemo_iOS
@end
``` | /content/code_sandbox/Example/Pods/Target Support Files/Pods-ReusableDemo iOS/Pods-ReusableDemo iOS-dummy.m | objective-c | 2016-01-19T19:49:55 | 2024-08-10T21:10:40 | Reusable | AliSoftware/Reusable | 2,999 | 31 |
```shell
#!/bin/sh
set -e
set -u
set -o pipefail
if [ -z ${UNLOCALIZED_RESOURCES_FOLDER_PATH+x} ]; then
# If UNLOCALIZED_RESOURCES_FOLDER_PATH is not set, then there's nowhere for us to copy
# resources to, so exit 0 (signalling the script phase was successful).
exit 0
fi
mkdir -p "${TARGET_BUILD_DIR}/${U... | /content/code_sandbox/Example/Pods/Target Support Files/Pods-ReusableDemo iOS/Pods-ReusableDemo iOS-resources.sh | shell | 2016-01-19T19:49:55 | 2024-08-10T21:10:40 | Reusable | AliSoftware/Reusable | 2,999 | 1,630 |
```unknown
${PODS_ROOT}/Target Support Files/Pods-ReusableDemo iOS/Pods-ReusableDemo iOS-frameworks.sh
${BUILT_PRODUCTS_DIR}/Reusable-iOS/Reusable.framework
``` | /content/code_sandbox/Example/Pods/Target Support Files/Pods-ReusableDemo iOS/Pods-ReusableDemo iOS-frameworks-Debug-input-files.xcfilelist | unknown | 2016-01-19T19:49:55 | 2024-08-10T21:10:40 | Reusable | AliSoftware/Reusable | 2,999 | 37 |
```unknown
${PODS_ROOT}/Target Support Files/Pods-ReusableDemo iOS/Pods-ReusableDemo iOS-frameworks.sh
${BUILT_PRODUCTS_DIR}/Reusable-iOS/Reusable.framework
``` | /content/code_sandbox/Example/Pods/Target Support Files/Pods-ReusableDemo iOS/Pods-ReusableDemo iOS-frameworks-Release-input-files.xcfilelist | unknown | 2016-01-19T19:49:55 | 2024-08-10T21:10:40 | Reusable | AliSoftware/Reusable | 2,999 | 37 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "path_to_url">
<plist version="1.0">
<dict>
<key>PreferenceSpecifiers</key>
<array>
<dict>
<key>FooterText</key>
<string>This application makes use of the following third party libraries:</string>
<key>Title<... | /content/code_sandbox/Example/Pods/Target Support Files/Pods-ReusableDemo iOS/Pods-ReusableDemo iOS-acknowledgements.plist | xml | 2016-01-19T19:49:55 | 2024-08-10T21:10:40 | Reusable | AliSoftware/Reusable | 2,999 | 515 |
```unknown
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO
FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Reusable-iOS"
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Reusa... | /content/code_sandbox/Example/Pods/Target Support Files/Pods-ReusableDemo iOS/Pods-ReusableDemo iOS.release.xcconfig | unknown | 2016-01-19T19:49:55 | 2024-08-10T21:10:40 | Reusable | AliSoftware/Reusable | 2,999 | 282 |
```markdown
# Acknowledgements
This application makes use of the following third party libraries:
## Reusable
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including with... | /content/code_sandbox/Example/Pods/Target Support Files/Pods-ReusableDemo iOS/Pods-ReusableDemo iOS-acknowledgements.markdown | markdown | 2016-01-19T19:49:55 | 2024-08-10T21:10:40 | Reusable | AliSoftware/Reusable | 2,999 | 237 |
```unknown
${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Reusable.framework
``` | /content/code_sandbox/Example/Pods/Target Support Files/Pods-ReusableDemo iOS/Pods-ReusableDemo iOS-frameworks-Debug-output-files.xcfilelist | unknown | 2016-01-19T19:49:55 | 2024-08-10T21:10:40 | Reusable | AliSoftware/Reusable | 2,999 | 14 |
```unknown
framework module Pods_ReusableDemo_iOS {
umbrella header "Pods-ReusableDemo iOS-umbrella.h"
export *
module * { export * }
}
``` | /content/code_sandbox/Example/Pods/Target Support Files/Pods-ReusableDemo iOS/Pods-ReusableDemo iOS.modulemap | unknown | 2016-01-19T19:49:55 | 2024-08-10T21:10:40 | Reusable | AliSoftware/Reusable | 2,999 | 36 |
```objective-c
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#else
#ifndef FOUNDATION_EXPORT
#if defined(__cplusplus)
#define FOUNDATION_EXPORT extern "C"
#else
#define FOUNDATION_EXPORT extern
#endif
#endif
#endif
FOUNDATION_EXPORT double Pods_ReusableDemo_iOSVersionNumber;
FOUNDATION_EXPORT const unsigned char Pods_Reusa... | /content/code_sandbox/Example/Pods/Target Support Files/Pods-ReusableDemo iOS/Pods-ReusableDemo iOS-umbrella.h | objective-c | 2016-01-19T19:49:55 | 2024-08-10T21:10:40 | Reusable | AliSoftware/Reusable | 2,999 | 72 |
```shell
#!/bin/sh
set -e
set -u
set -o pipefail
function on_error {
echo "$(realpath -mq "${0}"):$1: error: Unexpected failure"
}
trap 'on_error $LINENO' ERR
if [ -z ${FRAMEWORKS_FOLDER_PATH+x} ]; then
# If FRAMEWORKS_FOLDER_PATH is not set, then there's nowhere for us to copy
# frameworks to, so exit 0 (signa... | /content/code_sandbox/Example/Pods/Target Support Files/Pods-ReusableDemo iOS/Pods-ReusableDemo iOS-frameworks.sh | shell | 2016-01-19T19:49:55 | 2024-08-10T21:10:40 | Reusable | AliSoftware/Reusable | 2,999 | 2,344 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "path_to_url">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>${EXECUTABLE_NAME}</string>
<key>CFBundleIdentifier</key>
<string>${PR... | /content/code_sandbox/Example/Pods/Target Support Files/Pods-ReusableDemo iOS/Pods-ReusableDemo iOS-Info.plist | xml | 2016-01-19T19:49:55 | 2024-08-10T21:10:40 | Reusable | AliSoftware/Reusable | 2,999 | 254 |
```unknown
<?xml version="1.0" encoding="UTF-8"?>
<Workspace
version = "1.0">
<Group
location = "group:../Sources"
name = "Pod Metadata">
<FileRef
location = "group:../README.md">
</FileRef>
<FileRef
location = "group:../CHANGELOG.md">
</FileRef>
<FileRe... | /content/code_sandbox/Example/ReusableDemo.xcworkspace/contents.xcworkspacedata | unknown | 2016-01-19T19:49:55 | 2024-08-10T21:10:40 | Reusable | AliSoftware/Reusable | 2,999 | 162 |
```unknown
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "path_to_url">
<plist version="1.0">
<dict>
<key>IDEWorkspaceSharedSettings_AutocreateContextsIfNeeded</key>
<false/>
</dict>
</plist>
``` | /content/code_sandbox/Example/ReusableDemo.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings | unknown | 2016-01-19T19:49:55 | 2024-08-10T21:10:40 | Reusable | AliSoftware/Reusable | 2,999 | 76 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "path_to_url">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>
``` | /content/code_sandbox/Example/ReusableDemo.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist | xml | 2016-01-19T19:49:55 | 2024-08-10T21:10:40 | Reusable | AliSoftware/Reusable | 2,999 | 72 |
```unknown
${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Reusable.framework
``` | /content/code_sandbox/Example/Pods/Target Support Files/Pods-ReusableDemo iOS/Pods-ReusableDemo iOS-frameworks-Release-output-files.xcfilelist | unknown | 2016-01-19T19:49:55 | 2024-08-10T21:10:40 | Reusable | AliSoftware/Reusable | 2,999 | 14 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "path_to_url">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_... | /content/code_sandbox/Example/ReusableDemo iOS/Info.plist | xml | 2016-01-19T19:49:55 | 2024-08-10T21:10:40 | Reusable | AliSoftware/Reusable | 2,999 | 436 |
```swift
//
// AppDelegate.swift
// ReusableDemo
//
// Created by Olivier Halligon on 19/01/2016.
//
import UIKit
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow?
func application(_ application: UIApplication,
didFinishLaunchingWithOptions la... | /content/code_sandbox/Example/ReusableDemo iOS/AppDelegate.swift | swift | 2016-01-19T19:49:55 | 2024-08-10T21:10:40 | Reusable | AliSoftware/Reusable | 2,999 | 132 |
```swift
//
// CollectionViewController.swift
// ReusableDemo
//
// Created by Olivier Halligon on 19/01/2016.
//
import UIKit
final class CollectionViewController: UICollectionViewController {
override func viewDidLoad() {
super.viewDidLoad()
guard let collectionView = self.collectionView else { return... | /content/code_sandbox/Example/ReusableDemo iOS/CollectionViewController.swift | swift | 2016-01-19T19:49:55 | 2024-08-10T21:10:40 | Reusable | AliSoftware/Reusable | 2,999 | 548 |
```swift
//
// ViewController.swift
// ReusableDemo
//
// Created by Olivier Halligon on 19/01/2016.
//
import UIKit
final class TableViewController: UITableViewController {
var boolValues = [false, false]
override func viewDidLoad() {
super.viewDidLoad()
tableView.register(cellType: MySimpleColorCel... | /content/code_sandbox/Example/ReusableDemo iOS/TableViewController.swift | swift | 2016-01-19T19:49:55 | 2024-08-10T21:10:40 | Reusable | AliSoftware/Reusable | 2,999 | 576 |
```swift
//
// MyCustomWidget.swift
// ReusableDemo
//
// Created by Olivier HALLIGON on 18/08/2016.
//
import UIKit
import Reusable
class MyCustomWidget: UIView, NibOwnerLoadable {
@IBInspectable var rectColor: UIColor? {
didSet {
self.rectView.backgroundColor = self.rectColor
}
}
@IBInspectab... | /content/code_sandbox/Example/ReusableDemo iOS/CustomViews/MyCustomWidget.swift | swift | 2016-01-19T19:49:55 | 2024-08-10T21:10:40 | Reusable | AliSoftware/Reusable | 2,999 | 154 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="11762" systemVersion="16D32" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" colorMatched="YES" in... | /content/code_sandbox/Example/ReusableDemo iOS/Base.lproj/LaunchScreen.storyboard | xml | 2016-01-19T19:49:55 | 2024-08-10T21:10:40 | Reusable | AliSoftware/Reusable | 2,999 | 463 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="18122" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
<device id="retina4_7" orientation="portrait" app... | /content/code_sandbox/Example/ReusableDemo iOS/CustomViews/MyCustomWidget.xib | xml | 2016-01-19T19:49:55 | 2024-08-10T21:10:40 | Reusable | AliSoftware/Reusable | 2,999 | 1,523 |
```swift
//
// InfoDetailViewController.swift
// ReusableDemo
//
// Created by Olivier Halligon on 10/07/2016.
//
import UIKit
import Reusable
final class InfoDetailViewController: UIViewController, StoryboardSceneBased {
static let sceneStoryboard = UIStoryboard(name: "InfoViewController", bundle: nil)
@IBOu... | /content/code_sandbox/Example/ReusableDemo iOS/Storyboards/InfoDetailViewController.swift | swift | 2016-01-19T19:49:55 | 2024-08-10T21:10:40 | Reusable | AliSoftware/Reusable | 2,999 | 165 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="11762" systemVersion="16D32" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController... | /content/code_sandbox/Example/ReusableDemo iOS/Storyboards/InfoViewController.storyboard | xml | 2016-01-19T19:49:55 | 2024-08-10T21:10:40 | Reusable | AliSoftware/Reusable | 2,999 | 2,416 |
```swift
//
// InfoViewController.swift
// ReusableDemo
//
// Created by Olivier Halligon on 10/07/2016.
//
import UIKit
import Reusable
final class InfoViewController: UIViewController, StoryboardBased {
@IBOutlet private weak var infoLabel: UILabel!
private var infoText: String?
func setInfo(_ text: Strin... | /content/code_sandbox/Example/ReusableDemo iOS/Storyboards/InfoViewController.swift | swift | 2016-01-19T19:49:55 | 2024-08-10T21:10:40 | Reusable | AliSoftware/Reusable | 2,999 | 145 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="11762" systemVersion="16D32" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
<device id="retina4_7" orie... | /content/code_sandbox/Example/ReusableDemo iOS/CollectionViewCells/CollectionHeaderView.xib | xml | 2016-01-19T19:49:55 | 2024-08-10T21:10:40 | Reusable | AliSoftware/Reusable | 2,999 | 1,193 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="11762" systemVersion="16D32" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
<device id="retina4_7" orie... | /content/code_sandbox/Example/ReusableDemo iOS/CollectionViewCells/MyXIBIndexSquaceCell.xib | xml | 2016-01-19T19:49:55 | 2024-08-10T21:10:40 | Reusable | AliSoftware/Reusable | 2,999 | 1,309 |
```swift
//
// CollectionHeaderView.swift
// ReusableDemo
//
// Created by Olivier Halligon on 20/01/2016.
//
import UIKit
import Reusable
/**
* This view is loaded from a NIB, and is the XIB file's
* root view (and not the File's Owner). => it is `NibLoadable`
*
* It is also reusable and has a `reuseIdentifie... | /content/code_sandbox/Example/ReusableDemo iOS/CollectionViewCells/CollectionHeaderView.swift | swift | 2016-01-19T19:49:55 | 2024-08-10T21:10:40 | Reusable | AliSoftware/Reusable | 2,999 | 221 |
```swift
//
// MyColorSquareCell.swift
// ReusableDemo
//
// Created by Olivier Halligon on 19/01/2016.
//
import UIKit
import Reusable
/**
* This view is reusable and has a `reuseIdentifier` (as it's a CollectionViewCell
* and it uses the Collectioniew recycling mechanism).
*
* That's why it's annotated with ... | /content/code_sandbox/Example/ReusableDemo iOS/CollectionViewCells/MyColorSquareCell.swift | swift | 2016-01-19T19:49:55 | 2024-08-10T21:10:40 | Reusable | AliSoftware/Reusable | 2,999 | 230 |
```swift
//
// MyStoryboardTextSquareCell.swift
// ReusableDemo
//
// Created by Olivier Halligon on 19/01/2016.
//
import UIKit
import Reusable
/**
* This one can be either `NibReusable` or just `Reusable` it doesn't really matter,
* as we will never have to explicitly call `collectionView.register()` to regist... | /content/code_sandbox/Example/ReusableDemo iOS/CollectionViewCells/MyStoryboardTextSquareCell.swift | swift | 2016-01-19T19:49:55 | 2024-08-10T21:10:40 | Reusable | AliSoftware/Reusable | 2,999 | 202 |
```swift
//
// MyXIBIndexSquaceCell.swift
// ReusableDemo
//
// Created by Olivier Halligon on 19/01/2016.
//
import UIKit
import Reusable
/**
* This view is loaded from a NIB, and is the XIB file's
* root view (and not the File's Owner). => it is `NibLoadable`
*
* It is also reusable and has a `reuseIdentifie... | /content/code_sandbox/Example/ReusableDemo iOS/CollectionViewCells/MyXIBIndexSquaceCell.swift | swift | 2016-01-19T19:49:55 | 2024-08-10T21:10:40 | Reusable | AliSoftware/Reusable | 2,999 | 230 |
```swift
//
// MyXIBSwitchCell.swift
// ReusableDemo
//
// Created by Olivier Halligon on 19/01/2016.
//
import UIKit
import Reusable
/**
* This view is loaded from a NIB, and is the XIB file's
* root view (and not the File's Owner). => it is `NibLoadable`
*
* It is also reusable and has a `reuseIdentifier` (a... | /content/code_sandbox/Example/ReusableDemo iOS/TableViewCells/MyXIBInfoCell.swift | swift | 2016-01-19T19:49:55 | 2024-08-10T21:10:40 | Reusable | AliSoftware/Reusable | 2,999 | 345 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="11762" systemVersion="16D32" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
<device id="retina4_7" orie... | /content/code_sandbox/Example/ReusableDemo iOS/TableViewCells/MyXIBInfoCell.xib | xml | 2016-01-19T19:49:55 | 2024-08-10T21:10:40 | Reusable | AliSoftware/Reusable | 2,999 | 1,329 |
```swift
//
// MySimpleColorCell.swift
// ReusableDemo
//
// Created by Olivier Halligon on 19/01/2016.
//
import UIKit
import Reusable
/**
* This view is reusable and has a `reuseIdentifier` (as it's a TableViewCell
* and it uses the TableView recycling mechanism).
*
* That's why it's annotated with the `Reus... | /content/code_sandbox/Example/ReusableDemo iOS/TableViewCells/MySimpleColorCell.swift | swift | 2016-01-19T19:49:55 | 2024-08-10T21:10:40 | Reusable | AliSoftware/Reusable | 2,999 | 228 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="11762" systemVersion="16D32" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
<device id="retina4_7" orie... | /content/code_sandbox/Example/ReusableDemo iOS/TableViewCells/MyXIBTextCell.xib | xml | 2016-01-19T19:49:55 | 2024-08-10T21:10:40 | Reusable | AliSoftware/Reusable | 2,999 | 823 |
```swift
//
// MyXIBTextCell.swift
// ReusableDemo
//
// Created by Olivier Halligon on 19/01/2016.
//
import UIKit
import Reusable
/**
* This view is loaded from a NIB, and is the XIB file's
* root view (and not the File's Owner). => it is `NibLoadable`
*
* It is also reusable and has a `reuseIdentifier` (as ... | /content/code_sandbox/Example/ReusableDemo iOS/TableViewCells/MyXIBTextCell.swift | swift | 2016-01-19T19:49:55 | 2024-08-10T21:10:40 | Reusable | AliSoftware/Reusable | 2,999 | 199 |
```swift
//
// MyStoryBoardIndexPathCell.swift
// ReusableDemo
//
// Created by Olivier Halligon on 19/01/2016.
//
import UIKit
import Reusable
// This one can be either `NibReusable` or just `Reusable` it doesn't matter actually
// As we will never have to explicitly call `tableView.register()` to register it:
//... | /content/code_sandbox/Example/ReusableDemo iOS/TableViewCells/MyStoryBoardIndexPathCell.swift | swift | 2016-01-19T19:49:55 | 2024-08-10T21:10:40 | Reusable | AliSoftware/Reusable | 2,999 | 163 |
```swift
//
// MyHeaderTableViex.swift
// ReusableDemo
//
// Created by Allan Vialatte on 29/05/16.
//
import UIKit
import Reusable
/**
* This view is loaded from a NIB, and is used as the File's Owner
* of the XIB file (and not set as the XIB's root view)
*
* That's why it's annotated with the `NibOwnerLoadab... | /content/code_sandbox/Example/ReusableDemo iOS/TableViewCells/MyHeaderTableView.swift | swift | 2016-01-19T19:49:55 | 2024-08-10T21:10:40 | Reusable | AliSoftware/Reusable | 2,999 | 201 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="18122" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="7fF-Ae-xTS">
<de... | /content/code_sandbox/Example/ReusableDemo iOS/Base.lproj/Main.storyboard | xml | 2016-01-19T19:49:55 | 2024-08-10T21:10:40 | Reusable | AliSoftware/Reusable | 2,999 | 5,698 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="11762" systemVersion="16D32" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
<device id="retina4_7" orie... | /content/code_sandbox/Example/ReusableDemo iOS/TableViewCells/MyHeaderTableView.xib | xml | 2016-01-19T19:49:55 | 2024-08-10T21:10:40 | Reusable | AliSoftware/Reusable | 2,999 | 1,050 |
```unknown
<?xml version="1.0" encoding="UTF-8"?>
<Workspace
version = "1.0">
<FileRef
location = "self:ReusableDemo.xcodeproj">
</FileRef>
</Workspace>
``` | /content/code_sandbox/Example/ReusableDemo.xcodeproj/project.xcworkspace/contents.xcworkspacedata | unknown | 2016-01-19T19:49:55 | 2024-08-10T21:10:40 | Reusable | AliSoftware/Reusable | 2,999 | 51 |
```unknown
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1250"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning ... | /content/code_sandbox/Example/ReusableDemo.xcodeproj/xcshareddata/xcschemes/ReusableDemo iOS.xcscheme | unknown | 2016-01-19T19:49:55 | 2024-08-10T21:10:40 | Reusable | AliSoftware/Reusable | 2,999 | 748 |
```unknown
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1250"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning ... | /content/code_sandbox/Example/ReusableDemo.xcodeproj/xcshareddata/xcschemes/ReusableDemo tvOS.xcscheme | unknown | 2016-01-19T19:49:55 | 2024-08-10T21:10:40 | Reusable | AliSoftware/Reusable | 2,999 | 768 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "path_to_url">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_... | /content/code_sandbox/Example/ReusableDemo tvOS/Info.plist | xml | 2016-01-19T19:49:55 | 2024-08-10T21:10:40 | Reusable | AliSoftware/Reusable | 2,999 | 291 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder.AppleTV.XIB" version="3.0" toolsVersion="11762" systemVersion="16D32" targetRuntime="AppleTV" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
<device id="appleTV" orientation="land... | /content/code_sandbox/Example/ReusableDemo tvOS/MyCustomWidget.xib | xml | 2016-01-19T19:49:55 | 2024-08-10T21:10:40 | Reusable | AliSoftware/Reusable | 2,999 | 973 |
```swift
//
// AppDelegate.swift
// ReusableDemo tvOS
//
// Created by Olivier HALLIGON on 16/02/2017.
//
import UIKit
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow?
func application(_ application: UIApplication,
didFinishLaunchingWithOptio... | /content/code_sandbox/Example/ReusableDemo tvOS/AppDelegate.swift | swift | 2016-01-19T19:49:55 | 2024-08-10T21:10:40 | Reusable | AliSoftware/Reusable | 2,999 | 136 |
```swift
//
// MyCustomWidget.swift
// ReusableDemo
//
// Created by Olivier HALLIGON on 16/02/2017.
//
import UIKit
import Reusable
class MyCustomWidget: UIView, NibOwnerLoadable {
@IBInspectable var rectColor: UIColor? {
didSet {
self.rectView.backgroundColor = self.rectColor
}
}
@IBInspectab... | /content/code_sandbox/Example/ReusableDemo tvOS/MyCustomWidget.swift | swift | 2016-01-19T19:49:55 | 2024-08-10T21:10:40 | Reusable | AliSoftware/Reusable | 2,999 | 154 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder.AppleTV.Storyboard" version="3.0" toolsVersion="11762" systemVersion="16D32" targetRuntime="AppleTV" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="BYZ-38-t0r">
... | /content/code_sandbox/Example/ReusableDemo tvOS/Base.lproj/Main.storyboard | xml | 2016-01-19T19:49:55 | 2024-08-10T21:10:40 | Reusable | AliSoftware/Reusable | 2,999 | 2,131 |
```swift
/*********************************************
*
*
*
*********************************************/
#if canImport(UIKit)
import UIKit
// MARK: Reusable support for UITableView
public extension UITableView {
/**
Register a NIB-Based `UITableViewCell` subclass (conforming to `Reusable` & `NibLoadable... | /content/code_sandbox/Sources/View/UITableView+Reusable.swift | swift | 2016-01-19T19:49:55 | 2024-08-10T21:10:40 | Reusable | AliSoftware/Reusable | 2,999 | 961 |
```swift
/*********************************************
*
*
*
*********************************************/
#if canImport(UIKit)
import UIKit
// MARK: Protocol definition
/// Make your `UITableViewCell` and `UICollectionViewCell` subclasses
/// conform to this protocol when they are *not* NIB-based but only cod... | /content/code_sandbox/Sources/View/Reusable.swift | swift | 2016-01-19T19:49:55 | 2024-08-10T21:10:40 | Reusable | AliSoftware/Reusable | 2,999 | 205 |
```swift
/*********************************************
*
*
*
*********************************************/
#if canImport(UIKit)
import UIKit
// MARK: Reusable support for UICollectionView
public extension UICollectionView {
/**
Register a NIB-Based `UICollectionViewCell` subclass (conforming to `Reusable`... | /content/code_sandbox/Sources/View/UICollectionView+Reusable.swift | swift | 2016-01-19T19:49:55 | 2024-08-10T21:10:40 | Reusable | AliSoftware/Reusable | 2,999 | 1,142 |
```swift
/*********************************************
*
*
*
*********************************************/
#if canImport(UIKit)
import UIKit
// MARK: Protocol Definition
///Make your UIView subclasses conform to this protocol when:
/// * they *are* NIB-based, and
/// * this class is used as the XIB's root vi... | /content/code_sandbox/Sources/View/NibLoadable.swift | swift | 2016-01-19T19:49:55 | 2024-08-10T21:10:40 | Reusable | AliSoftware/Reusable | 2,999 | 313 |
```swift
/*********************************************
*
*
*
*********************************************/
#if canImport(UIKit)
import UIKit
// MARK: Protocol Definition
///Make your UIView subclasses conform to this protocol when:
/// * they *are* NIB-based, and
/// * this class is used as the XIB's File's ... | /content/code_sandbox/Sources/View/NibOwnerLoadable.swift | swift | 2016-01-19T19:49:55 | 2024-08-10T21:10:40 | Reusable | AliSoftware/Reusable | 2,999 | 415 |
```swift
/*********************************************
*
*
*
*********************************************/
#if canImport(UIKit)
import UIKit
// MARK: Protocol Definition
///Make your UIViewController subclasses conform to this protocol when:
/// * they *are* Storyboard-based, and
/// * this ViewController is... | /content/code_sandbox/Sources/Storyboard/StoryboardSceneBased.swift | swift | 2016-01-19T19:49:55 | 2024-08-10T21:10:40 | Reusable | AliSoftware/Reusable | 2,999 | 358 |
```swift
/*********************************************
*
*
*
*********************************************/
#if canImport(UIKit)
import UIKit
// MARK: Protocol Definition
///Make your UIViewController subclasses conform to this protocol when:
/// * they *are* Storyboard-based, and
/// * this ViewController is... | /content/code_sandbox/Sources/Storyboard/StoryboardBased.swift | swift | 2016-01-19T19:49:55 | 2024-08-10T21:10:40 | Reusable | AliSoftware/Reusable | 2,999 | 286 |
```unknown
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 54;
objects = {
/* Begin PBXBuildFile section */
09441AE21D32A0390029B8A6 /* InfoViewController.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 09441AE11D32A0390029B8A6 /* InfoViewController.storyboard */; };
09441AE41D3... | /content/code_sandbox/Example/ReusableDemo.xcodeproj/project.pbxproj | unknown | 2016-01-19T19:49:55 | 2024-08-10T21:10:40 | Reusable | AliSoftware/Reusable | 2,999 | 12,759 |
```yaml
version: 2.0.1{build}
branches:
only:
- master
image:
- Visual Studio 2015
- Visual Studio 2017
configuration:
- Release
build:
parallel: true
project: MSVC\MyTinySTL_VS2015.sln
test_script:
- cmd: cd .\MSVC\x64\Release\
- cmd: MyTinySTL.exe
``` | /content/code_sandbox/appveyor.yml | yaml | 2016-08-05T04:08:41 | 2024-08-16T17:50:46 | MyTinySTL | Alinshans/MyTinySTL | 11,147 | 98 |
```objective-c
#ifndef MYTINYSTL_HEAP_ALGO_H_
#define MYTINYSTL_HEAP_ALGO_H_
// heap : push_heap, pop_heap, sort_heap, make_heap
#include "iterator.h"
namespace mystl
{
/*****************************************************************************************/
// push_heap
// heap heap
/************************... | /content/code_sandbox/MyTinySTL/heap_algo.h | objective-c | 2016-08-05T04:08:41 | 2024-08-16T17:50:46 | MyTinySTL | Alinshans/MyTinySTL | 11,147 | 1,667 |
```objective-c
#ifndef MYTINYSTL_UTIL_H_
#define MYTINYSTL_UTIL_H_
// move, forward, swap pair
#include <cstddef>
#include "type_traits.h"
namespace mystl
{
// move
template <class T>
typename std::remove_reference<T>::type&& move(T&& arg) noexcept
{
return static_cast<typename std::remove_reference<T>::typ... | /content/code_sandbox/MyTinySTL/util.h | objective-c | 2016-08-05T04:08:41 | 2024-08-16T17:50:46 | MyTinySTL | Alinshans/MyTinySTL | 11,147 | 2,278 |
```objective-c
#ifndef MYTINYSTL_MAP_H_
#define MYTINYSTL_MAP_H_
// map multimap
// map :
// multimap :
// notes:
//
//
// mystl::map<Key, T> / mystl::multimap<Key, T>
// * emplace
// * emplace_hint
// * insert
#include "rb_tree.h"
namespace mystl
{
// map
// mystl::less
template <class Key, cla... | /content/code_sandbox/MyTinySTL/map.h | objective-c | 2016-08-05T04:08:41 | 2024-08-16T17:50:46 | MyTinySTL | Alinshans/MyTinySTL | 11,147 | 3,978 |
```objective-c
#ifndef MYTINYSTL_UNORDERED_MAP_H_
#define MYTINYSTL_UNORDERED_MAP_H_
// unordered_map unordered_multimap
// map multimap hashtable
// notes:
//
//
// mystl::unordered_map<Key, T> / mystl::unordered_multimap<Key, T>
// * emplace
// * emplace_hint
// * insert
#include "hashtable.h"
names... | /content/code_sandbox/MyTinySTL/unordered_map.h | objective-c | 2016-08-05T04:08:41 | 2024-08-16T17:50:46 | MyTinySTL | Alinshans/MyTinySTL | 11,147 | 4,293 |
```objective-c
#ifndef MYTINYSTL_BASIC_STRING_H_
#define MYTINYSTL_BASIC_STRING_H_
// basic_string
//
#include <iostream>
#include "iterator.h"
#include "memory.h"
#include "functional.h"
#include "exceptdef.h"
namespace mystl
{
// char_traits
template <class CharType>
struct char_traits
{
typedef CharType ch... | /content/code_sandbox/MyTinySTL/basic_string.h | objective-c | 2016-08-05T04:08:41 | 2024-08-16T17:50:46 | MyTinySTL | Alinshans/MyTinySTL | 11,147 | 15,400 |
```objective-c
#ifndef MYTINYSTL_ALLOC_H_
#define MYTINYSTL_ALLOC_H_
// alloc
//
// v2.0.0
//
//
//
// issuefree_list
//
// C++
//
#include <new>
#include <cstddef>
#include <cstdio>
namespace mystl
{
// : FreeList
// <=4K
union FreeList
{
union FreeList* next; //
char data[1]; //
};
//
en... | /content/code_sandbox/MyTinySTL/alloc.h | objective-c | 2016-08-05T04:08:41 | 2024-08-16T17:50:46 | MyTinySTL | Alinshans/MyTinySTL | 11,147 | 1,777 |
```objective-c
#ifndef MYTINYSTL_MEMORY_H_
#define MYTINYSTL_MEMORY_H_
//
// auto_ptr
#include <cstddef>
#include <cstdlib>
#include <climits>
#include "algobase.h"
#include "allocator.h"
#include "construct.h"
#include "uninitialized.h"
namespace mystl
{
//
template <class Tp>
constexpr Tp* address_of(Tp& valu... | /content/code_sandbox/MyTinySTL/memory.h | objective-c | 2016-08-05T04:08:41 | 2024-08-16T17:50:46 | MyTinySTL | Alinshans/MyTinySTL | 11,147 | 1,106 |
```objective-c
#ifndef MYTINYSTL_VECTOR_H_
#define MYTINYSTL_VECTOR_H_
// vector
// vector :
// notes:
//
//
// mystl::vecotr<T>
// * emplace
// * emplace_back
// * push_back
// std::is_nothrow_move_assignable<T>::value == true
// * reserve
// * resize
// * insert
#include <initializer_list>
#incl... | /content/code_sandbox/MyTinySTL/vector.h | objective-c | 2016-08-05T04:08:41 | 2024-08-16T17:50:46 | MyTinySTL | Alinshans/MyTinySTL | 11,147 | 5,967 |
```objective-c
#ifndef MYTINYSTL_UNINITIALIZED_H_
#define MYTINYSTL_UNINITIALIZED_H_
//
#include "algobase.h"
#include "construct.h"
#include "iterator.h"
#include "type_traits.h"
#include "util.h"
namespace mystl
{
/*****************************************************************************************/
// unin... | /content/code_sandbox/MyTinySTL/uninitialized.h | objective-c | 2016-08-05T04:08:41 | 2024-08-16T17:50:46 | MyTinySTL | Alinshans/MyTinySTL | 11,147 | 1,584 |
```objective-c
#ifndef MYTINYSTL_ALLOCATOR_H_
#define MYTINYSTL_ALLOCATOR_H_
// allocator
#include "construct.h"
#include "util.h"
namespace mystl
{
// allocator
//
template <class T>
class allocator
{
public:
typedef T value_type;
typedef T* pointer;
typedef const T* const_pointer;... | /content/code_sandbox/MyTinySTL/allocator.h | objective-c | 2016-08-05T04:08:41 | 2024-08-16T17:50:46 | MyTinySTL | Alinshans/MyTinySTL | 11,147 | 567 |
```objective-c
#ifndef MYTINYSTL_STACK_H_
#define MYTINYSTL_STACK_H_
// stack
// stack :
#include "deque.h"
namespace mystl
{
// stack
// mystl::deque
template <class T, class Container = mystl::deque<T>>
class stack
{
public:
typedef Container container_type;
//
typedef ty... | /content/code_sandbox/MyTinySTL/stack.h | objective-c | 2016-08-05T04:08:41 | 2024-08-16T17:50:46 | MyTinySTL | Alinshans/MyTinySTL | 11,147 | 1,029 |
```objective-c
#ifndef MYTINYSTL_EXCEPTDEF_H_
#define MYTINYSTL_EXCEPTDEF_H_
#include <stdexcept>
#include <cassert>
namespace mystl
{
#define MYSTL_DEBUG(expr) \
assert(expr)
#define THROW_LENGTH_ERROR_IF(expr, what) \
if ((expr)) throw std::length_error(what)
#define THROW_OUT_OF_RANGE_IF(expr, what) \
... | /content/code_sandbox/MyTinySTL/exceptdef.h | objective-c | 2016-08-05T04:08:41 | 2024-08-16T17:50:46 | MyTinySTL | Alinshans/MyTinySTL | 11,147 | 141 |
```objective-c
#ifndef MYTINYSTL_ITERATOR_H_
#define MYTINYSTL_ITERATOR_H_
//
#include <cstddef>
#include "type_traits.h"
namespace mystl
{
//
struct input_iterator_tag {};
struct output_iterator_tag {};
struct forward_iterator_tag : public input_iterator_tag {};
struct bidirectional_iterator_tag : public forwar... | /content/code_sandbox/MyTinySTL/iterator.h | objective-c | 2016-08-05T04:08:41 | 2024-08-16T17:50:46 | MyTinySTL | Alinshans/MyTinySTL | 11,147 | 1,931 |
```objective-c
#ifndef MYTINYSTL_TYPE_TRAITS_H_
#define MYTINYSTL_TYPE_TRAITS_H_
//
// use standard header for type_traits
#include <type_traits>
namespace mystl
{
// helper struct
template <class T, T v>
struct m_integral_constant
{
static constexpr T value = v;
};
template <bool b>
using m_bool_constant = m_... | /content/code_sandbox/MyTinySTL/type_traits.h | objective-c | 2016-08-05T04:08:41 | 2024-08-16T17:50:46 | MyTinySTL | Alinshans/MyTinySTL | 11,147 | 213 |
```objective-c
#ifndef MYTINYSTL_RB_TREE_H_
#define MYTINYSTL_RB_TREE_H_
// rb_tree
// rb_tree :
#include <initializer_list>
#include <cassert>
#include "functional.h"
#include "iterator.h"
#include "memory.h"
#include "type_traits.h"
#include "exceptdef.h"
namespace mystl
{
// rb tree
typedef bool rb_tree_co... | /content/code_sandbox/MyTinySTL/rb_tree.h | objective-c | 2016-08-05T04:08:41 | 2024-08-16T17:50:46 | MyTinySTL | Alinshans/MyTinySTL | 11,147 | 11,266 |
```objective-c
#ifndef MYTINYSTL_NUMERIC_H_
#define MYTINYSTL_NUMERIC_H_
// mystl
#include "iterator.h"
namespace mystl
{
/*****************************************************************************************/
// accumulate
// 1 init
// 2 init
/***************************************************************... | /content/code_sandbox/MyTinySTL/numeric.h | objective-c | 2016-08-05T04:08:41 | 2024-08-16T17:50:46 | MyTinySTL | Alinshans/MyTinySTL | 11,147 | 904 |
```objective-c
#ifndef MYTINYSTL_ASTRING_H_
#define MYTINYSTL_ASTRING_H_
// string, wstring, u16string, u32string
#include "basic_string.h"
namespace mystl
{
using string = mystl::basic_string<char>;
using wstring = mystl::basic_string<wchar_t>;
using u16string = mystl::basic_string<char16_t>;
using u32strin... | /content/code_sandbox/MyTinySTL/astring.h | objective-c | 2016-08-05T04:08:41 | 2024-08-16T17:50:46 | MyTinySTL | Alinshans/MyTinySTL | 11,147 | 113 |
```objective-c
#ifndef MYTINYSTL_ALGO_H_
#define MYTINYSTL_ALGO_H_
#ifdef _MSC_VER
#pragma warning(push)
#pragma warning(disable : 4244)
#endif
// mystl
#include <cstddef>
#include <ctime>
#include "algobase.h"
#include "memory.h"
#include "heap_algo.h"
#include "functional.h"
namespace mystl
{
/***************... | /content/code_sandbox/MyTinySTL/algo.h | objective-c | 2016-08-05T04:08:41 | 2024-08-16T17:50:46 | MyTinySTL | Alinshans/MyTinySTL | 11,147 | 17,380 |
```objective-c
#ifndef MYTINYSTL_ALGOBASE_H_
#define MYTINYSTL_ALGOBASE_H_
// mystl
#include <cstring>
#include "iterator.h"
#include "util.h"
namespace mystl
{
#ifdef max
#pragma message("#undefing marco max")
#undef max
#endif // max
#ifdef min
#pragma message("#undefing marco min")
#undef min
#endif // min
... | /content/code_sandbox/MyTinySTL/algobase.h | objective-c | 2016-08-05T04:08:41 | 2024-08-16T17:50:46 | MyTinySTL | Alinshans/MyTinySTL | 11,147 | 3,570 |
```objective-c
#ifndef MYTINYSTL_LIST_H_
#define MYTINYSTL_LIST_H_
// list
// list :
// notes:
//
//
// mystl::list<T>
// * emplace_front
// * emplace_back
// * emplace
// * push_front
// * push_back
// * insert
#include <initializer_list>
#include "iterator.h"
#include "memory.h"
#include "function... | /content/code_sandbox/MyTinySTL/list.h | objective-c | 2016-08-05T04:08:41 | 2024-08-16T17:50:46 | MyTinySTL | Alinshans/MyTinySTL | 11,147 | 7,263 |
```objective-c
#ifndef MYTINYSTL_UNORDERED_SET_H_
#define MYTINYSTL_UNORDERED_SET_H_
// unordered_set unordered_multiset
// set multiset hashtable
// notes:
//
//
// mystl::unordered_set<Key> / mystl::unordered_multiset<Key>
// * emplace
// * emplace_hint
// * insert
#include "hashtable.h"
namespace m... | /content/code_sandbox/MyTinySTL/unordered_set.h | objective-c | 2016-08-05T04:08:41 | 2024-08-16T17:50:46 | MyTinySTL | Alinshans/MyTinySTL | 11,147 | 3,984 |
```objective-c
#ifndef MYTINYSTL_SET_H_
#define MYTINYSTL_SET_H_
// set multiset
// set :
// multiset :
// notes:
//
//
// mystl::set<Key> / mystl::multiset<Key>
// * emplace
// * emplace_hint
// * insert
#include "rb_tree.h"
namespace mystl
{
// set
// mystl::less
template <class Key, class Co... | /content/code_sandbox/MyTinySTL/set.h | objective-c | 2016-08-05T04:08:41 | 2024-08-16T17:50:46 | MyTinySTL | Alinshans/MyTinySTL | 11,147 | 3,380 |
```objective-c
#ifndef MYTINYSTL_SET_ALGO_H_
#define MYTINYSTL_SET_ALGO_H_
// set : union, intersection, difference, symmetric_difference
//
#include "algobase.h"
#include "iterator.h"
namespace mystl
{
/*****************************************************************************************/
// set_union
// S1... | /content/code_sandbox/MyTinySTL/set_algo.h | objective-c | 2016-08-05T04:08:41 | 2024-08-16T17:50:46 | MyTinySTL | Alinshans/MyTinySTL | 11,147 | 1,534 |
```objective-c
#ifndef MYTINYSTL_ALGORITHM_H_
#define MYTINYSTL_ALGORITHM_H_
// mystl heap set
#include "algobase.h"
#include "algo.h"
#include "set_algo.h"
#include "heap_algo.h"
#include "numeric.h"
namespace mystl
{
} // namespace mystl
#endif // !MYTINYSTL_ALGORITHM_H_
``` | /content/code_sandbox/MyTinySTL/algorithm.h | objective-c | 2016-08-05T04:08:41 | 2024-08-16T17:50:46 | MyTinySTL | Alinshans/MyTinySTL | 11,147 | 80 |
```objective-c
#ifndef MYTINYSTL_FUNCTIONAL_H_
#define MYTINYSTL_FUNCTIONAL_H_
// mystl
#include <cstddef>
namespace mystl
{
//
template <class Arg, class Result>
struct unarg_function
{
typedef Arg argument_type;
typedef Result result_type;
};
//
template <class Arg1, class Arg2, class Result>
st... | /content/code_sandbox/MyTinySTL/functional.h | objective-c | 2016-08-05T04:08:41 | 2024-08-16T17:50:46 | MyTinySTL | Alinshans/MyTinySTL | 11,147 | 1,667 |
```objective-c
#ifndef MYTINYSTL_QUEUE_H_
#define MYTINYSTL_QUEUE_H_
// queue priority_queue
// queue :
// priority_queue :
#include "deque.h"
#include "vector.h"
#include "functional.h"
#include "heap_algo.h"
namespace mystl
{
// queue
// mystl::deque
template <class T, class Container = mystl::deq... | /content/code_sandbox/MyTinySTL/queue.h | objective-c | 2016-08-05T04:08:41 | 2024-08-16T17:50:46 | MyTinySTL | Alinshans/MyTinySTL | 11,147 | 2,274 |
```objective-c
#ifndef MYTINYSTL_HASHTABLE_H_
#define MYTINYSTL_HASHTABLE_H_
// hashtable
// hashtable :
#include <initializer_list>
#include "algo.h"
#include "functional.h"
#include "memory.h"
#include "vector.h"
#include "util.h"
#include "exceptdef.h"
namespace mystl
{
// hashtable
template <class T>
struct... | /content/code_sandbox/MyTinySTL/hashtable.h | objective-c | 2016-08-05T04:08:41 | 2024-08-16T17:50:46 | MyTinySTL | Alinshans/MyTinySTL | 11,147 | 11,625 |
```objective-c
#ifndef MYTINYSTL_CONSTRUCT_H_
#define MYTINYSTL_CONSTRUCT_H_
// constructdestroy
// construct :
// destroy :
#include <new>
#include "type_traits.h"
#include "iterator.h"
#ifdef _MSC_VER
#pragma warning(push)
#pragma warning(disable : 4100) // unused parameter
#endif // _MSC_VER
namespace mys... | /content/code_sandbox/MyTinySTL/construct.h | objective-c | 2016-08-05T04:08:41 | 2024-08-16T17:50:46 | MyTinySTL | Alinshans/MyTinySTL | 11,147 | 425 |
```unknown
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.25420.1
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "MyTinySTL", "MyTinySTL_VS2015.vcxproj", "{E88807F6-B07C-4371-BD38-FB1569F894E4}"
EndProject
Global
... | /content/code_sandbox/MSVC/MyTinySTL_VS2015.sln | unknown | 2016-08-05T04:08:41 | 2024-08-16T17:50:46 | MyTinySTL | Alinshans/MyTinySTL | 11,147 | 517 |
```objective-c
#ifndef MYTINYSTL_DEQUE_H_
#define MYTINYSTL_DEQUE_H_
// deque
// deque:
// notes:
//
//
// mystl::deque<T>
// * emplace_front
// * emplace_back
// * emplace
// * push_front
// * push_back
// * insert
#include <initializer_list>
#include "iterator.h"
#include "memory.h"
#include "util... | /content/code_sandbox/MyTinySTL/deque.h | objective-c | 2016-08-05T04:08:41 | 2024-08-16T17:50:46 | MyTinySTL | Alinshans/MyTinySTL | 11,147 | 9,102 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="path_to_url">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
... | /content/code_sandbox/MSVC/MyTinySTL_VS2015.vcxproj | xml | 2016-08-05T04:08:41 | 2024-08-16T17:50:46 | MyTinySTL | Alinshans/MyTinySTL | 11,147 | 2,473 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="path_to_url">
<ItemGroup>
<Filter Include="">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms<... | /content/code_sandbox/MSVC/MyTinySTL_VS2015.vcxproj.filters | xml | 2016-08-05T04:08:41 | 2024-08-16T17:50:46 | MyTinySTL | Alinshans/MyTinySTL | 11,147 | 1,627 |
```objective-c
#ifndef MYTINYSTL_VECTOR_TEST_H_
#define MYTINYSTL_VECTOR_TEST_H_
// vector test : vector push_back
#include <vector>
#include "../MyTinySTL/vector.h"
#include "test.h"
namespace mystl
{
namespace test
{
namespace vector_test
{
void vector_test()
{
std::cout << "[===============================... | /content/code_sandbox/Test/vector_test.h | objective-c | 2016-08-05T04:08:41 | 2024-08-16T17:50:46 | MyTinySTL | Alinshans/MyTinySTL | 11,147 | 1,090 |
```objective-c
#ifndef MYTINYSTL_QUEUE_TEST_H_
#define MYTINYSTL_QUEUE_TEST_H_
// queue test : queue, priority_queue push
#include <queue>
#include "../MyTinySTL/queue.h"
#include "test.h"
namespace mystl
{
namespace test
{
namespace queue_test
{
void queue_print(mystl::queue<int> q)
{
while (!q.empty())
{
... | /content/code_sandbox/Test/queue_test.h | objective-c | 2016-08-05T04:08:41 | 2024-08-16T17:50:46 | MyTinySTL | Alinshans/MyTinySTL | 11,147 | 1,723 |
```objective-c
#ifndef MYTINYSTL_STACK_TEST_H_
#define MYTINYSTL_STACK_TEST_H_
// stack test : stack push
#include <stack>
#include "../MyTinySTL/stack.h"
#include "test.h"
namespace mystl
{
namespace test
{
namespace stack_test
{
void stack_print(mystl::stack<int> s)
{
while (!s.empty())
{
std::cout <... | /content/code_sandbox/Test/stack_test.h | objective-c | 2016-08-05T04:08:41 | 2024-08-16T17:50:46 | MyTinySTL | Alinshans/MyTinySTL | 11,147 | 881 |
```objective-c
#ifndef MYTINYSTL_MAP_TEST_H_
#define MYTINYSTL_MAP_TEST_H_
// map test : map, multimap insert
#include <map>
#include "../MyTinySTL/map.h"
#include "../MyTinySTL/vector.h"
#include "test.h"
namespace mystl
{
namespace test
{
namespace map_test
{
// pair
#define PAIR mystl::pair<int, int>
//... | /content/code_sandbox/Test/map_test.h | objective-c | 2016-08-05T04:08:41 | 2024-08-16T17:50:46 | MyTinySTL | Alinshans/MyTinySTL | 11,147 | 2,235 |
```objective-c
#ifndef MYTINYSTL_UNORDERED_SET_TEST_H_
#define MYTINYSTL_UNORDERED_SET_TEST_H_
// unordered_set test : unordered_set, unordered_multiset insert
#include <unordered_set>
#include "../MyTinySTL/unordered_set.h"
#include "set_test.h"
#include "test.h"
namespace mystl
{
namespace test
{
namespace uno... | /content/code_sandbox/Test/unordered_set_test.h | objective-c | 2016-08-05T04:08:41 | 2024-08-16T17:50:46 | MyTinySTL | Alinshans/MyTinySTL | 11,147 | 2,200 |
```objective-c
#ifndef MYTINYSTL_STRING_TEST_H_
#define MYTINYSTL_STRING_TEST_H_
// string test : string insert
#include <string>
#include "../MyTinySTL/astring.h"
#include "test.h"
namespace mystl
{
namespace test
{
namespace string_test
{
void string_test()
{
std::cout << "[=================================... | /content/code_sandbox/Test/string_test.h | objective-c | 2016-08-05T04:08:41 | 2024-08-16T17:50:46 | MyTinySTL | Alinshans/MyTinySTL | 11,147 | 2,231 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.