The log for building https://github.com/apple/swift
$ mkdir swift-project
$ cd swift-project/
$ ls -lt
$ git clone https://github.com/apple/swift.git swift
$ ls
#include "TTCounter.h" | |
#include "TTDislikeCounter.h" | |
#include "TTLikeCounter.h" | |
void printTotalCounter() { | |
printf("total counter: %d", totalCounter); | |
} | |
int main(int argc, char *argv[]) { | |
addDislikeToTotalCounter(); |
#import <Foundation/Foundation.h> | |
@interface TTUserObject : NSObject | |
- (void)postNicknameDidChangedNotification; | |
@end |
@class TTUserObject; | |
@interface TTFriendsCollection : NSObject | |
- (void)addFriend:(TTUserObject *)user; | |
- (void)removeFriend:(TTUserObject *)user; | |
@end |
- (void)test_group { | |
dispatch_queue_t queue = dispatch_queue_create("diamond-queue", DISPATCH_QUEUE_CONCURRENT); | |
dispatch_group_t group = dispatch_group_create(); | |
for (int i = 0; i < 10; i++) { | |
// dispatch_group_enter(group); | |
dispatch_sync(queue, ^{ | |
dispatch_group_enter(group); | |
NSLog(@"i: [%@]__LINE__: %@", @(i), @(__LINE__)); |
#!/bin/bash | |
# This script builds the iOS and Mac openSSL libraries | |
# Download openssl http://www.openssl.org/source/ and place the tarball next to this script | |
# Credits: | |
# https://github.com/st3fan/ios-openssl | |
# https://github.com/x2on/OpenSSL-for-iPhone/blob/master/build-libssl.sh | |
#!/bin/bash | |
if [ $# -ne 3 ]; then | |
echo "The number of arguments must be 3" | |
exit 1 | |
else | |
echo "Finding..." | |
fi | |
DIRECTORY=$1 |
#! /bin/bash | |
############################################### | |
# Export env via shell script: source ./setupEnvShellScript.sh | |
# $source ./setupEnvForGoWorkspace.sh | |
# | |
################################################ | |
################ Export GOPATH ############## | |
PWD=`pwd` |
/// RxSwift/RxCocoa: 5.1.1 | |
/// DelegateProxyType.swift | |
public protocol DelegateProxyType: class { | |
associatedtype ParentObject: AnyObject | |
associatedtype Delegate | |
/// ... ... | |
} | |
// default implementations |
The log for building https://github.com/apple/swift
$ mkdir swift-project
$ cd swift-project/
$ ls -lt
$ git clone https://github.com/apple/swift.git swift
$ ls
/*===- TableGen'erated file -------------------------------------*- C++ -*-===*\ | |
|* *| | |
|* Option Parsing Definitions *| | |
|* *| | |
|* Automatically generated file, do not edit! *| | |
|* *| | |
\*===----------------------------------------------------------------------===*/ | |
///////// | |
// Prefixes |