test / modules /core /misc /objc /common /ArrayUtil.h
tgollogly's picture
Upload 7492 files
dffe123 verified
Raw History Blame Contribute Delete
364 Bytes
//
// ArrayUtil.h
//
// Created by Giles Payne on 2020/02/09.
//
#pragma once
#import <Foundation/Foundation.h>
/**
* Utility function to create and populate an NSMutableArray with a specific size
* @param size Size of array to create
* @param val Value with which to initialize array elements
*/
NSMutableArray* createArrayWithSize(int size, NSObject* val);